kimwnetos / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
1 stars 0 forks source link

HTML5 mp4 video tag handling support #154

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Create a small html5 video test page in your apache2 webserver (index.html):

<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>Media Player Test Page</title>
</head>
<body>
<div id="container" margin="0" padding="0" border="0">
    <header>
     <h1>Media Player Test Page</h1>
    </header>
    <section>
     <hgroup>
            <video src="video/sintel_trailer-720p.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' video width="1920" height="1080" margin="0" padding="0" border="0" loop="loop" autoplay></video>
        </hgroup>
    </section>
</div>
</body>
</html>

2. Install Kubuntu 11.04, chromium + extra ffmpeg codecs.
Browse to the test page with chromium (video works).

3. Install Firefox, mplayer2, gnome-mplayer, gecko-mediaplayer.

4. Browse the file directly;
file:///<file_path>/sintel_trailer-720p.mp4 (works)

5. Browse the test page with Firefox (does not work - no video). 

What is the expected output? What do you see instead?
A page with running video was expected in step 5, but no video was seen.

What version of the product are you using? On what operating system?
Kubuntu 11.04 (x86_64)
Firefox 6.0.2
Mplayer2 from repo; 2.0+git20110913.cf43986-0ubuntu1~ripps1~natty.
GNOME Mplayer v1.0.4.
gecko-mediaplayer 1.0.4

Please provide any additional information below.
The reason to use Firefox/gecko/mplayer is the ability to configure mplayer for 
hw-accelerated H.264 decoding (nvidia/vdpau) until such support is available 
for theora and vp8 : )

Original issue reported on code.google.com by tord.o.a...@gmail.com on 19 Sep 2011 at 2:15

GoogleCodeExporter commented 8 years ago
Please enable verbose debugging in gnome-mplayer (Edit->preferences, interface]
Close all instances of firefox
Open a Terminal
Run firefox from that terminal
Open the site and you should see the messages.
You can post the logs or if there are security issues, you can email me 
directly at kdekorte at gmail

I'm pretty sure that should work and you should also be able to do this

http://hostname/video/sintel_trailer-720p.mp4

Original comment by kdeko...@gmail.com on 19 Sep 2011 at 3:09

GoogleCodeExporter commented 8 years ago
oh... BTW, unless you disable the internal video processing in Firefox. The 
video tag will not be passed to gecko-mediaplayer. I'm not sure but I don't 
believe Firefox will ever pass the contents of the video tag to a plugin. You 
may need to switch that to a embed tag.

Original comment by kdeko...@gmail.com on 19 Sep 2011 at 3:27

GoogleCodeExporter commented 8 years ago
Thanks for the feedback! Calling http://hostname/video/sintel_trailer-720p.mp4 
directly works. 
I guess you are right about the video tag. I tested the WildFox addon which 
scans the page and rewrites video tags to embedded ones and this works together 
with your plugin and my test page.

Original comment by tord.o.a...@gmail.com on 20 Sep 2011 at 6:42

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 21 Sep 2011 at 12:40