[MPlayer-dev-eng] [PATCH] compute correct length for theora videos

Diego Biurrun diego at biurrun.de
Mon May 12 09:54:53 CEST 2008


On Sun, May 11, 2008 at 01:01:25AM +0200, Julian Kniephoff wrote:
> 
> this is a patch to let mplayer compute the correct duration of a theora video 
> when libtheora support is compiled in (especially when running in "-identify 
> mode"). To not repeat myself I'll just post links to the important posts of 
> the bug report in the mplayer-users list. The baisc concept of the patch is 
> also explained there:
> http://lists.mplayerhq.hu/pipermail/mplayer-users/2007-December/070943.html
> http://lists.mplayerhq.hu/pipermail/mplayer-users/2008-May/072933.html
> If this doesn't suffice, please ask for further clarification.

I tested the patch, the total length shown by MPlayer then is the
correct one.  However, the seek bar that is displayed on the OSD
is still not correct, but seems to calculate the file position assuming
a wrong, much too long, file length.

Diego



More information about the MPlayer-dev-eng mailing list