[FFmpeg-user] mpegts file seems corrupt but plays back fine in VLC
Christian Ebert
blacktrash at gmx.net
Tue Aug 19 15:10:53 CEST 2014
* Moritz Barsnick on Tuesday, August 19, 2014 at 09:00:49 +0200
> On Wed, Aug 13, 2014 at 12:46:26 +0200, Ibrahim Tachijian wrote:
>> Using the generated "dump.ts" I am trying to do the following command but
>> failing.
>>
>> "./ffmpeg -i dump.ts -acodec copy -vcodec copy -f mpegts dump2.ts"
>
> Did you read this error message at the very end?:
>
> [mpegts @ 0xaffe720] H.264 bitstream malformed, no startcode found, use the
> h264_mp4toannexb bitstream filter (-bsf h264_mp4toannexb)
>
> (I think it should be saying "use video bitstream filter 'h264_mp4toannexb'
> to fix it ('-bsf:v h264_mp4toannexb' option with ffmpeg)". :-))
>
> So please try
> ./ffmpeg -i dump.ts -acodec copy -vcodec copy -bsf h264_mp4toannexb -f mpegts dump2.ts
Or it is this hard to reproduce regression:
https://trac.ffmpeg.org/ticket/3861
--
\black\trash movie _COWBOY CANOE COMA_
Ein deutscher Western/A German Western
--->> http://www.blacktrash.org/underdogma/ccc.php
More information about the ffmpeg-user
mailing list