Closed
Bug 583012
Opened 14 years ago
Closed 14 years ago
Broken full screen <video> in FF4 beta2
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: alvaro.segura, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; Windows NT 5.1; rv:2.0b2) Gecko/20100720 Firefox/4.0b2 ( .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; Windows NT 5.1; rv:2.0b2) Gecko/20100720 Firefox/4.0b2 ( .NET CLR 3.5.30729)
Full screen <video> playback is broken in FF4 beta 2, at least in NVidia GF 8x and 9x. Since beta1 there have been these observed changes in full screen video:
- It crashed in netbooks with some intel cards, but now it works. Slow but works.
- In PCs with Geforce 8x00 or 9x00, where it worked quite smoothly, it now renders a pixelated image (no interpolation) and when the control bar at the bottom appears (because one moves the mouse) the image gets all garbled. If one hits pause, then the still image is smoothly interpolated, but gets pixelated again when playback resumes.
By the way, in a GMA950-based netbook where video now works, and has a smooth image, performance is quite low (video becomes a bit choppy). But this must be just a consecuence of software scaling I guess.
hint: the dumb way I would implement this using old OpenGL 1.x would be:
1. create a texture image with power-of-2 dimension, larger than the video resolution. (e.g. for a 320x240 use 512x256)
2. for each frame, fill the texture image with the image data in its original resolution.
3. draw a 2D quad in fullscreen, covering all the screen, but adjust the texture coords of each corner so that the whole video image fits the screen (because the video image only covers part of the texture image).
4. remember to set GL_LINEAR in MAG/MIN_FILTER
Wouldn't a low-tech method like that perform well just about everywhere?
Reproducible: Always
Steps to Reproduce:
1. Open an OGV <video>, preferably a small one like the one in the URL above
2. Right-click -> Full screen, and watch => pixelated
3. Move the mouse to show the control bar. => garbled image
4. Press pause. => smooth image
Actual Results:
Described above, next to each step
Expected Results:
Smooth interpolated image
Forgot to add that this bug is related but not exactly duplicate of the following:
Bug 564391
Bug 574778
Bug 565070
Comment 2•14 years ago
|
||
The video data isn't in a GL surface on Windows, though...
Bas, any idea what's up here?
Updated•14 years ago
|
blocking2.0: --- → ?
Retest when bug 579421 is fixed
blocking2.0: ? → betaN+
Depends on: 579421
Comment 4•14 years ago
|
||
Ogg Theora image distortion is bug 580192
Comment 5•14 years ago
|
||
As for the GMA950, that would not get Accelerated video so that's why video would look smooth there.
Comment 6•14 years ago
|
||
The slowness also sounds like bug 577843.
Comment 7•14 years ago
|
||
I want to say the image distortion looks fixed in today's nightly.
Updated•14 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
I want to say that the image distortion is still in FF4 beta 3. The pixelization is fixed (smooth image now), but on mouse move the image is garbage. Tested in two separate computers (XP, different Nvidia GPUs).
I added an attachment to bug 584638 (which seems a duplicate) with a screenshot displaying the problem.
Please check and maybe reopen.
You need to log in
before you can comment on or make changes to this bug.
Description
•