[MPlayer-users] mplayer: EDL's pause/hang or loop forever with MPEG input

Roger Pack rogerdpack2 at gmail.com
Thu Nov 17 00:36:37 CET 2011


Ok it looks like the reason for this is that mplayer currently uses
dvdnav_time_search to "seek"

So in the first instance, when instructed to "skip from 55.0 to 58.0"
it would tell it to skip to 58, which would *actually* position it at
54.3, then it would play until 55.0, then repeat (looping forever).
In the second instance, when instructed to skip from "54.0 to 64.5" it
would tell it to skip to 64.5, which would actually be 58.4 (which is
in the middle of an EDL skip, so it would tell it "ok now skip to
64.5" which would actually be 58.4, rinse and repeat).

The current fix is to apply the "accurate seeking" (not yet committed)
patch to libdvdnav:
http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2011-November/001583.html
Then use dvdnav_jump_to_sector_by_time instead of dvdnav_time_search
https://gist.github.com/1358679

Thanks!
-roger-


More information about the MPlayer-users mailing list