You are not logged in.
Playing embeded videos in Firefox take a lot of CPU time. Actually my old computer is not able to play these videos correctly if they are in HD. The problem appears with flash videos (not so surprising, flash sucks...) but also with html5 videos (there is an option in youtube to turn that on). However if I succeed to have the direct URL, these videos play perfecrtlky fine in mplayer using not more than 10-20% of CPU time. Is there a solution to that? Is there any possibility to use an external player to play HTML5 videos in firefox? If anybody knows, Why this problem, are the mozilla folk aware of this problem? (Note that I posted a thread a long time ago for this problem but concerning flash only)
Last edited by olive (2012-04-27 20:33:59)
Offline
There's not much you can do to make HTML5 videos as fast as Xv, see http://swfdec.freedesktop.org/wiki/FAQ. They are slow for the same basic reason as Flash... the video overlay cannot be used because the standard allows for controls and CSS to be rendered on top of the video.
As for redirecting to an external player... this is not as easy as it could be. If the videos appeared in <embed> tags or <object> tags, one could use Mozplugger, Media Player Connectivity and other programs, but I don't think one has been written to handle the <video> tag. An upcoming update to firefox will make it use gstreamer, however. If this still results in slow playback, it will at least make it easier to use an external player. I imagine you would have to patch firefox to make it use a port on the localhost as the video sink instead of the screen. Then you would run gst-launch to receive that RTP stream.
6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.
Offline
@ConnorBehan Thanks for the reply. I now see the problem. I am not a develloper but let's hope someone will write an extension to just launch an external player that handle the HTML5 video tag. For now the workaround I use is to use http://keep-tube.com/ . The purpose of this website is normally to download the videos but I can just give the URL to mplayer instead of downloading it.
I would like the firefox developers to develop a feature that allow to use xv, even if enabling it means not respecting advanced features (translucency, etc...). It would be a big plus for old computers. But that is another debate.
Offline
I would like the firefox developers to develop a feature that allow to use xv, even if enabling it means not respecting advanced features (translucency, etc...). It would be a big plus for old computers. But that is another debate.
Xv won't happen, it's too limited. It was designed to show video and a simple overlay (subtitles) and that's that. It's great at that job, but the web demands more.
What could happen fot HMTL5 video, but I somehow doubt anytime soon, is what Flash supports - VDPAU. With that, the video as well as all the UI elements are composited in hardware.
Offline
I reply to myself but I have found the flash video replacer extension to firefox. It is able to launch an external player for flash videos on main site that use flash to play video (youtube, etc...). It works great for these websites and allow me to see high quality mp4 video on youtube with my 5 years old computers using mplayer. It does not works correctly for html5 though and does not works for less known streaming sites.
Offline