This is a complete rework of my previous post "avformat/mpegenc.c: vbvsize option". Thanks to Michael and Hendrik for their feedbacks. -- This fixes forwarding the vbv buffer size value to the output muxer. In current code, the following case was broken for example: ffmpeg -i input.mpg -vcodec copy output.mpg
NB: Back to v2.8.9 (before codecpar was introduced), it was working because of direct access to rc_buffer_size by the muxer. Nicolas Gaullier (5): fftools/ffmpeg: Fix forward CPB props in to out fftools/ffmpeg: Reindent after last commit avformat/utils: Use coded_side_data avcodec/utils: Fix ff_add_cpb_side_data insert twice avcodec/mpeg12dec: Add CPB coded side data fftools/ffmpeg.c | 30 +++++++++++------------------- libavcodec/mpeg12dec.c | 7 +++++++ libavcodec/utils.c | 5 +++++ libavformat/avformat.h | 11 +++++++++++ libavformat/utils.c | 18 ++++++++++++++++++ tests/ref/fate/mxf-probe-d10 | 3 +++ tests/ref/fate/ts-demux | 2 +- 7 files changed, 56 insertions(+), 20 deletions(-) -- 2.14.1.windows.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".