[FFmpeg-user] MPEG-TS file to x264 TS (dropped packets?)

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Nov 26 11:10:51 CET 2013

Ibrahim Tachijian <barhom <at> gmail.com> writes:

> There is no damage of the input file

This seems incorrect but it doesn't matter for your 
report (FFmpeg should of course not drop all frames 
because of a reception problem in the middle of the 

> but for some reason transcoding just produced the 
> dropped packets.
> Can somebody confirm that they get the same results 


> root <at> transcoder0:~

Completely unrelated:
Quite a few people think that it is a very bad idea 
to run ffmpeg as root.

> # ffmpeg -analyzeduration 1000000 -i test.ts -c:v libx264 
> -preset superfast -g 25 -crf 15 -maxrate 9000k -bufsize 1500k
> -filter:v yadif -c:a libfdk_aac -b:a 96k -f mpegts test-x264.ts

> ffmpeg version 1.0.7

This looks old...

I tested your command line with your sample and n.1.0.7 
and it works fine here.
Is the problem also reproducible with current git head?
Is the problem also reproducible with -an?
Is the problem reproducible without an external 
library, ie using -vcodec mpeg2video -acodec mp2 instead 
of x264 and libfdk?

Please do not top-post here.

Carl Eugen

More information about the ffmpeg-user mailing list