Can't specify muxer options for avformat_write_header
@davidsansome
Submitted by David Sansome Link to original bug (#751772)
Description
Created attachment 306476
Allow libav muxer-specific options to be passed to muxer elements
I'd like to be able to pass muxer-specific options to the second argument of avformat_write_header (http://ffmpeg.org/doxygen/trunk/group__lavf__encoding.html#ga78d4e734fecb1d2385536e6dd5b7b9f5), specifically to let me configure the mp4 muxer to output fragmented mp4 files with -movflags empty_moov and -frag_duration <n>
.
The attached patch adds an "options" property to all muxers that's a ':' separated list of option=value pairs to be added to this options dict.
Patch 306476, "Allow libav muxer-specific options to be passed to muxer elements":
0001-Allow-libav-muxer-specific-options-to-be-passed-to-m.patch