[FFmpeg-user] seeking woes

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jun 2 17:10:54 CEST 2014

Sean Darcy <seandarcy2 <at> gmail.com> writes:

> I've got a 2 hour dvd. I've used vobcopy to transfer it. 
> ffplay (and mplayer) can play all two hours.
> -rw-r--r--. 1 root  root  6989111296 Jun  2 09:54 BIG21.vob
> But when I try to transcode the second half, ffmpeg thinks 
> it's only 59 minutes long:

I suspect the sample contains a timestamp discontinuity 
which makes seeking hard, you can use -skip_initial_bytes 
(or dd) as a workaround.

(I just realize that -skip_initial_bytes only allows you 
to skip the first 2G....)

And you can of course seek with:
$ ffmpeg -i input -ss 1:00:00 (which takes long)

Carl Eugen

More information about the ffmpeg-user mailing list