Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenMAX Support #33

Open
guedressel opened this issue Aug 5, 2013 · 9 comments
Open

OpenMAX Support #33

guedressel opened this issue Aug 5, 2013 · 9 comments

Comments

@guedressel
Copy link

Hello,
thanks for resurrecting gmrenderer.

As far as I read about video decoding on RPi OpenMAX should be the way to gain hardware decoding.
How far does gmrenderer make use of this techonology already?

Even though wheezy uses gstreamer 0.10 the next generation (gstreamer 1.0) would bring the omx module. And there seem to be precompiled packages around: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=34250
Is a setup with gst 1.0 worth a try or a waste of time?

@hzeller
Copy link
Owner

hzeller commented Aug 6, 2013

Hi,
gmrender-resurrect is made to compile fine with gstreamer 1.0; in fact, I am using it like that most of the time (though in my raspberry, I am still using 0.10). So that should be working.

I do admit though, that I never tested (and hence optimized for) gmrender with video output - all my installations are headless, so I am not using it for video. Theoretically it should work (after all, it is using straight gstreamer), and there is nothing specifically preventing it from working - but it might need work (if you do so, please feel free to send pull requests my way). Soo - since I haven't tried video yet, OpenMAX is not being used right now; but gmrender would probably not need to know much about the details as this should happen within the gstreamer libraries.

So: gstreamer 1.0: definitely. If video works properly: don't know, please try (if it already works for you with 0.10 without the OpenMAX stuff, then it will probably work).

@ShawnMcGough
Copy link

Video did not work for me with gstreamer 0.10. However, I was able to get video working on raspberry with gstreamer 1.0.9 by cloning the git repo (installing a few missing packages first);

sudo aptitude install bison
sudo aptitude install flex
git clone git://anongit.freedesktop.org/gstreamer/gstreamer
./autogen.sh
./configure
make
sudo make install

@hzeller
Copy link
Owner

hzeller commented Sep 5, 2013

Ah cool - so we can write in the documentation that video will work with gstreamer >= 1.0.9 ?

@ShawnMcGough
Copy link

Yes, I've been using it without any problems for two weeks now.

@aquadat0r
Copy link

Hi Shawn, would you mind sharing your setup? How you are using it?

@ShawnMcGough
Copy link

I was using BubbleUPnP on my Android phone to play movies from my home DLNA server (QNAP TurboNAS TS-212) to my Raspberry Pi over WiFi. Unfortunately, browsing my media from BubbleUPnP was painfully slow and my setup didn’t turn out to be usable. I ended up switching to Raspbmc (http://www.raspbmc.com/about/) which works great out of the box and plays all my HD content without problems.

@Madhu205
Copy link

Hi Shawn,I followed your instructions upto ./autogen.sh it works fine but after running ./configure it gives *configure: error: You need to have gtk-doc >= 1.12 installed to build GStreamer
configure failed
*

I tried to install gtk-doc but it also depends on other package i.e., configure: error: xsltproc not found.
I need to know what are the missing packages and how to install those,would you please share what are instructions you followed for installing gstreamer.
Thanks

@ShawnMcGough
Copy link

It has been quite a while so I don't recall the specifics. I haven't used this in years.
Try running the following commands:

sudo apt-get update
sudo apt-get install git bison flex autoconf autopoint automake libtool gtk-doc-tools libperl-dev libgtk2.0-dev
git clone git://anongit.freedesktop.org/gstreamer/gstreamer
cd gstreamer
./autogen.sh
./configure
make
sudo make install

@hzeller
Copy link
Owner

hzeller commented Mar 28, 2016

These days, distributions typically have gstreamer >= 1.0, it should actually work (though I haven't tried it). Did you install gstreamer according to the INSTALL.md ?
https://github.com/hzeller/gmrender-resurrect/blob/master/INSTALL.md

If this particular hardware-ops requires recompiling gstreamer, then using what Shawn said looks like the right way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants