[MPlayer-users] youtube hq mp4 url seek

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Dec 30 21:55:27 CET 2009


On Wed, Dec 30, 2009 at 09:41:48PM +0100, Reimar Döffinger wrote:
> On Wed, Dec 30, 2009 at 09:31:19PM +0100, Reimar Döffinger wrote:
> > On Wed, Dec 30, 2009 at 12:03:58PM -0800, Justin Smith wrote:
> > > Hi all,
> > > 
> > > I am using mplayer to play youtube videos on linux as the flash
> > > performance is really really bad on Linux. One thing I miss is the
> > > seeking feature for YouTube. I use mplayer to play hq/mp4 videos
> > > through the script listed here:
> > > http://wiki.multimedia.cx/index.php?title=MPlayer_youtube_script
> > > 
> > > But when I try to seek, it gives me audio codec errors. I have tried
> > > seeking in VLC and it seems to be able to do that, but I prefer
> > > mplayer and would like to see if anybody on the mailing list has a
> > > solution for this or if we can borrow the patch from VLC that fixed
> > > this issue ...
> > 
> > I fear there are some bugs in MPlayer's http implementation.
> 
> Actually, the "bug" is on the youtube side.
> The server does not return a Accept-Ranges ranges header, which to my
> understanding means the server does not support seeking.
> Since thus MPlayer tries to do without seeking, things work really
> badly (and slowly).

Luckily youtube has a very special server name ("gvs 1.0"), so now
MPlayer just assumes that seeking is possible when it encounters that.
So all you should have to do is update to latest SVN.


More information about the MPlayer-users mailing list