Recent video updates
Over the last couple of weeks some fixes for video bugs have landed that should improve the playing experience. In particular playback and sound should work on Pulse Audio based Linux distributions. A quick summary of the changes are:
A couple of additional backends have seen some visible progress as well. Work in progress patches for the WAV backend for <audio> (for all platforms) and a DirectShow backend for Windows are available.
Categories: firefox, video
- The 'paused' attribute of the media object was incorrectly implemented as an integer value. It's now a boolean as per the spec.
- The YUV to RGB conversion from liboggplay was incorrect for some colours. A fix was supplied by Annodex developers and I've applied this to the Firefox trunk. Now white is white in videos where they appeared grey.
- When using the forward and back buttons to navigate to pages with video, those videos would often start playing if they were previously paused. This has been fixed.
- The volume of played videos would jump to the maximum on some platforms. Worse, it would actually adjust the master volume. Now each video on the page has a volume relative to the applications volume settting.
- CPU usage would spike to 100% in some circumstances.
- The 'timeupdate' event is now fired when the current playback position changes. This allows updating playback position without having to poll the currentTime attribute.
- Sound now works on Linux distributions using Pulse Audio.
- There is now a right click context menu on the video with entries to play, pause, enable controls, save the video, copy the URL, etc.
A couple of additional backends have seen some visible progress as well. Work in progress patches for the WAV backend for <audio> (for all platforms) and a DirectShow backend for Windows are available.
Categories: firefox, video
Labels: mozilla

4 Comments:
Is there a bug open for backend implementation of midi for the audio tag?
Hi, It's awesome. I'm just waiting for the Dshow backend.
---
And I found it's a pain to apply svg filters to video tag, or place transparent DIV over the video (eg. 800 * 600).
It's quite urgent to improve the performance, isn't it?
Could you kindly posting some related topics?
Mardeg, there's no bug open for a midi implementation that I know of. If it's something you want, please file one.
question, Chris Pearce, the DirectShow patch author, will be very happy to know that people are wanting the DS backend! He has instructions on how to build it in the bug for it btw, and a test build iirc.
Can you provide a test case for an example with the bad performance you are getting? And the specs of the machine you are using? Preferably in a bug so it can be tracked, but here or email is fine too.
cdouble:
Currently, I can't provide an demo here, It's just test purpose only and been deleted soon.I grab and modify the test using the demo here: http://people.opera.com/howcome/2007/video/opacity.html
You can just try it and press [ctrl +] many times, then you will find the CPU 50% used.
My PC:
Pentium D 2.8G
2G memory
945G
XP SP2
Minefield 3.1b2pre
---
PS: I can't find many topics raised for Cairo GPU accelerated backend, as far as I know QT approach is the nealy only way to do it.(I'm not so familiar with cairo, so any mistake, please point out, thanks!) It's really important for SVG and Video, isn't it?
Post a Comment
<< Home