[FFmpeg-devel] [PATCH] segment: don't copy codec_tag when not available

Chanmin Kim kcm1700 at bacchus.snucse.org
Fri Nov 16 01:38:57 CET 2012


On Fri, Nov 16, 2012 at 7:14 AM, Stefano Sabatini <stefasab at gmail.com> wrote:
> On date Friday 2012-11-16 02:30:16 +0900, ChanMin Kim encoded:
>> - Some muxers do not allow stream if codec_tag is incompatible
>> - Sometimes passed input codec's codec_tag isn't compatible to output muxer
>> - Because codec_tag field of segment muxer cannot be set, ffmpeg.c doesn't
>> know how to handle these cases.
>
> Can you show a failing command?
>
> [...]
> --
> FFmpeg = Fundamentalist Fostering Miracolous Prodigious Erotic Gymnast
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Here is an example command line that fails transcoding.

ffmpeg -i sample.mp4 -c copy -map 0 -f segment result%03d.mp4

Please see my attached file.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.mp4
Type: video/mp4
Size: 125312 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121116/e290d485/attachment.mp4>


More information about the ffmpeg-devel mailing list