[FFmpeg-devel] [PATCH] lavf/concatdec: remove unrelated change during codecpar merge.

Hendrik Leppkes h.leppkes at gmail.com
Mon Apr 25 14:04:04 CEST 2016

On Mon, Apr 25, 2016 at 1:59 PM, Nicolas George <george at nsup.org> wrote:
> Le sextidi 6 floréal, an CCXXIV, Derek Buitenhuis a écrit :
>> Removing this causes failures when concatdec is used to concat two H.264
>> streams from an MP4 source, when remuxed, IIRC.
>> Example: https://trac.ffmpeg.org/raw-attachment/ticket/3108/examplefiles.zip
>> ./ffmpeg -f concat -i tickets/3108/concatfile.txt -codec copy out.mp4
> This one seems to work, but remuxing to Matroska shows problem, even with
> H.264 encoded from testsrc.
> I fixed it by clearing the extradata at the place where the bistream filter
> is inserted, since the bsf API does not do it. See the attached patch, to be
> applied on top of the small revert.

concatdec should be converted to the new BSF API, which should clear
and/or replace the extradata itself then IIRC.

- Hendrik

More information about the ffmpeg-devel mailing list