[FFmpeg-user] split video

johnd john at jjdev.com
Tue Jan 22 22:23:43 CET 2013


Is there something I am missing?

I want the cut to be just the first 10 seconds

so I do this:


ffmpeg -y -ss 0 -t 5 -i ../original_video.mp4 -s 320x180 -vcodec libx264
-acodec libfdk_aac 0.ts


when I play the 0.ts with ffplay
it plays for about 6 seconds then the video just seems to freeze and
the player keeps on playing (but I just see a static image) and the
timer keeps ticking...  it doesn't stop

if I play the same vid in mplayer 

the video plays for about 4 seconds then the video cuts out and I just
hear audio, then the whole things tops
I also get this on the console

TS_PARSE: COULDN'T SYNC


any ideas on what I am doing wrong?



More information about the ffmpeg-user mailing list