avcodec: support private options

Multimedia / VLC - Rafaël Carré [videolan.org] - 6 June 2013 07:56 UTC

Usage:--avcodec-options='{lowres=3,foobar=baz}'--sout-avcodec-options='{threads=42}'

For now the decoder options are global, they apply to audio/video/subtitles decoder. encoder options can be set in the sout chain, specific to each ES

c9a57e4 avcodec: support private options
modules/codec/avcodec/avcodec.c | 18 +++++++++++++++++-
modules/codec/avcodec/encoder.c | 32 +++++++++++++++++++++++---------
modules/codec/avcodec/subtitle.c | 15 ++++++++++++++-
3 files changed, 54 insertions(+), 11 deletions(-)

Upstream: git.videolan.org


  • Share