[FFmpeg-cvslog] r21606 - trunk/ffplay.c

Carl Eugen Hoyos cehoyos
Wed Feb 3 00:48:10 CET 2010


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > > Autodetect when byte based seeking is better (that is for all formats that
> > > allow discontinuities)
> > 
> > While this fixed seeking (forward) in ts files with discontinuities, it broke
> > seeking backwards with the cursor keys for all (?) ts files: Trying to seek
> > backwards now typically seeks forward a bit, while seeking forward now seeks
> > around 15sec instead of 10.
> 
> should be fixed

I tested libav* r21614 with two versions of ffplay.c: 21605 ("old") and 21614
("new")
I used three MPEG-TS samples (all several GB from ORF1): MPEG2 SD ("SD") and
H264 HD ("HD") without timestamp wrapping and MPEG2 SD with timestamp wrapping
("WR").

old: Completely fails to seek HD and WR, reliably seeks in SD: 10 seconds
forward for right key, 10 seconds backwards for left key, one minute forward for
up and one minute backward for down

new: Never fails, but the amount of seeking seems wrong:
right: one second forward
up: seven to ten seconds forward
left: one to two seconds backwards
down: eight to nine seconds backwards

Mouse seeking might work, I did not test it as extensively, but it seems to work
ok for the WR sample.

Carl Eugen




More information about the ffmpeg-cvslog mailing list