gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] broadcom crystal hd support


From: Jacob Beard
Subject: Re: [Gnash-dev] broadcom crystal hd support
Date: Mon, 08 Nov 2010 14:41:13 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10

So, I've had a chance to look into this a bit more, and it seems that Gnash via gstreamer does attempt to use the crystalhd hardware. In dmesg, I can see the following, which is also printed when watching mpeg4 under totem:

[  548.432367] crystalhd 0000:0b:00.0: Opening new user[0] handle

The broadcom drivers proved to be buggy (not a Gnash issue), so I pulled from what is supposed to be the most advanced fork of the initial broadcom release: http://git.wilsonet.com/crystalhd.git/

This seems to be less buggy with totem, but unfortunately, doesn't work with gnash 0.8.8. Youtube, for example, will hang for some time, then finally open a the video, play one or two frames and a few seconds of audio, and then sometimes display an alert box complaining about gstreamer.

The console output is as follows:

Running DIL (3.21.0) Version
DtsDeviceOpen: Opening HW in mode 0
Scaling command param 0x0,ctx_scal:0x0
ERROR: Couldn't find Method "onYouTubePlayerReady"
<string>Error</string>
ERROR: Couldn't find Method "reportFlashTiming"
<string>Error</string>
gtk-gnash: asobj/NetStream_as.cpp:670: std::auto_ptr<gnash::GnashImage> gnash::NetStream_as::decodeNextVideoFrame(): Assertion `! _videoDecoder->peek()' failed.

In Megavideo, the console output is similar, but it won't even begin playing the video:

Running DIL (3.21.0) Version
DtsDeviceOpen: Opening HW in mode 0
Scaling command param 0x0,ctx_scal:0x0
gtk-gnash: asobj/NetStream_as.cpp:670: std::auto_ptr<gnash::GnashImage> gnash::NetStream_as::decodeNextVideoFrame(): Assertion `! _videoDecoder->peek()' failed.

Vimeo and the basic flowplayer demo don't seem to render at all: http://flowplayer.org/demos/installation/index.html

I'm going to try the latest development version of Gnash, and see if that makes a difference. Beyond that, if you have any insight into how I could begin to look into debugging this, or if you think I should file one or more bug reports, I'd appreciate it if you could let me know.

Thanks!

Jake


On 10-11-07 10:50 PM, Rob Savoye wrote:
On Sun, Nov 07, 2010 at 01:51:41PM +0100, Jacob Beard wrote:

Unfortunately, I'm having troubling determining what is the easiest
way to play an mpeg4 video with Gnash. This is simply a problem of
website compatibility, as the video sites I've tried (youtube and
vimeo) don't appear to work on Gnash 0.8.7 on Ubuntu Lucid. I'm not
concerned with attempting to solve this compatibility issue now.
Rather, I'd simply like to know: what the easiest way is to play a
video with Gnash? Perhaps I should use the standalone player, or maybe
there is a particular video hosting site which is known to be highly
compatible with Gnash.
   What I did was to create a local web site on my PC with a few video files,
including mpeg4 ones. Then I used the free flash based flowplayer to stream
it. This way I have total control for debugging. I'm at a conference now,
heading home tomorrow, but when I get home I'll copy my video testing stuff
up to our gnashdev.org machine so we can all use it.

        - rob -




reply via email to

[Prev in Thread] Current Thread [Next in Thread]