On Wed, Jul 09, 2014 at 02:06:57AM +0200, Nils R wrote:
> > Am 08.07.2014 20:50 schrieb Kevin Chadwick <ma1l1i...@yahoo.co.uk>:
> > >
> > > previously on this list Stuart Henderson contributed: 
> > >
> > > > > Secondly, viewing html video (eg in youtube) continuously lags. The 
> > > > > sound is perfect but every other 
> > > > > video frame seems to stop for a second or two and then the video 
> > > > > "jumps" to the correct frame. This 
> > > > > makes streaming video playback virtually unwatchable. This "bug" is 
> > > > > specific to OpenBSD again. I have 
> > > > > tested this at different machines and the result are the same. Once 
> > > > > again, this issue does not appear with 
> > > > > other BSDs or linux (without flash).  
> > > > 
> > > > Any improvement with GENERIC rather than GENERIC.MP? 
> > >
> > > I'm guessing this is due to the new KMS 3d support not being as fast 
> > > right now but much better than you had before. 
> > >
> > > Playing video in browsers and even displaying pictures is a 
> > > surprisingly resource hungry task with umpteen potential rules working 
> > > out what shape and where everything should be and unfortunately more 
> > > effort has been spent on javascript performance than rendering. 
> > >
> > > Before I upgraded one of my tv systems hardware (running Linux) some 
> > > videos were unplayable on say smplayer or any gui player but worked 
> > > fine with mplayer. There are plugins to use mplayer with firefox but 
> > > the best performance will be downloading the video using youtube_dl and 
> > > then using mplayer to play it. This method would also get around the 
> > > Linux is a fourth class citizen by adobe for flash video playback too, 
> > > though I'm not sure if that can be done in a streaming fashion without 
> > > waiting for the download to finish. 
> > >
> >
> > I wrote a small script which uses youtube-dl to download the Video and 
> > then, after a 5 sec. Delay, starts to play the partial file. You can find 
> > it at
> >
> > https://bitbucket.org/drm00/bin/src/1197e82c8e792e593efaaef159a34290a60fe959/dwm-helper/watch_online_videos.sh?at=default
> 

You don't need to use a partial file to see the videos. I use this command:

mplayer $(youtube-dl -g -f18 --prefer-insecure 'the youtube url')


-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to