Documentation:Modules/avcodec

From VideoLAN Wiki
Revision as of 07:14, 18 February 2019 by DoesItReallyMatter (talk | contribs) (Write page from scratch. I copied only the command-line options from the program output, adapted the wikicode with a text editor, and pasted it here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Module: avcodec
Type codec library
First VLC version -
Last VLC version -
Operating system(s) all
Description Various audio and video decoders/encoders delivered by the FFmpeg library. This includes (MS)MPEG4, DivX, SV1, H261, H263, H264, WMV, WMA, AAC, AMR, DV, MJPEG and other codecs
Shortcut(s) -

libavcodec provided by the FFmpeg project. A full list of supported codecs may be found with modules/codec/avcodec/fourcc.c

Options as of 3.0.6:

Decoding

  • avcodec-dr <boolean> : Direct rendering default value: enabled
  • avcodec-corrupted <boolean> : Show corrupted frames default value: enabled
  • avcodec-error-resilience <integer> : Error resilience
  • avcodec-workaround-bugs <integer> : Workaround bugs
  • avcodec-hurry-up <boolean> : Hurry up default value: enabled
  • avcodec-skip-frame <integer> : Skip frame. The option set is (-1 (None), 0 (Default), 1 (Non-ref), 2 (Bidir), 3 (Non-key), 4 (All)) default value: 0
  • avcodec-skip-idct <integer> : Skip IDCT. The option set is (-1 (None), 0 (Default), 1 (Non-ref), 2 (Bidir), 3 (Non-key), 4 (All)) default value: 0
  • avcodec-fast <boolean> : Allow speed tricks default value: disabled
  • avcodec-skiploopfilter <integer> : Skip the loop filter for H.264 decoding. The option set is (0 (None), 1 (Non-ref), 2 (Bidir), 3 (Non-key), 4 (All))
  • avcodec-debug <integer> : Debug mask
  • avcodec-codec <string> : Codec name
  • avcodec-hw <integer> : Hardware decoding. The option set is (any,vdpau_avcodec,vaapi,vaapi_drm,none)
  • avcodec-threads <integer> : Threads
  • avcodec-options <string> : Advanced options

Encoding

  • sout-avcodec-codec <string> : Codec name
  • sout-avcodec-hq <string> : Quality level. The option set is (rd,bits,simple)
  • sout-avcodec-keyint <integer> : Ratio of key frames
  • sout-avcodec-bframes <integer> : Ratio of B frames
  • sout-avcodec-hurry-up <boolean> : Hurry up default value: disabled
  • sout-avcodec-interlace <boolean> : Interlaced encoding default value: disabled
  • sout-avcodec-interlace-me <boolean> : Interlaced motion estimation default value: enabled
  • sout-avcodec-vt <integer> : Video bitrate tolerance
  • sout-avcodec-pre-me <boolean> : Pre-motion estimation default value: disabled
  • sout-avcodec-rc-buffer-size <integer> : Rate control buffer size
  • sout-avcodec-rc-buffer-aggressivity <float> : Rate control buffer aggressiveness. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-i-quant-factor <float> : I quantization factor. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-noise-reduction <integer> : Noise reduction
  • sout-avcodec-mpeg4-matrix <boolean> : MPEG4 quantization matrix default value: disabled
  • sout-avcodec-qmin <integer> : Minimum video quantizer scale
  • sout-avcodec-qmax <integer> : Maximum video quantizer scale
  • sout-avcodec-trellis <boolean> : Trellis quantization default value: disabled
  • sout-avcodec-qscale <float> : Fixed quantizer scale. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-strict <integer> : Strict standard compliance. The option range is [-2 .. 2]
  • sout-avcodec-lumi-masking <float> : Luminance masking. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-dark-masking <float> : Darkness masking. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-p-masking <float> : Motion masking. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-border-masking <float> : Border masking. The option range is [-340282346638528859811704183484516925440.000000 .. 340282346638528859811704183484516925440.000000]
  • sout-avcodec-luma-elim-threshold <integer> : Luminance elimination
  • sout-avcodec-chroma-elim-threshold <integer> : Chrominance elimination
  • sout-avcodec-aac-profile <string> : Specify AAC audio profile to use
  • sout-avcodec-options <string> : Advanced options

Source code

This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.