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).