openFrameworks-RaspberryPi / openFrameworks

This repo has migrated into the openFramworks core! Please go to http://github.com/openFrameworks/openFrameworks for the latest!
http://github.com/openFrameworks/openFrameworks
Other
104 stars 11 forks source link

videoplayer and videograbber working (tested on pandaboard) #34

Closed arturoc closed 11 years ago

arturoc commented 11 years ago

some fixes to gstreamer player and grabber to make them work on arm, tested only on panda but it should work on rpi.

it works also with the hardware accelerated components of gstreamer but those need a color conversion step to upload to opengl texture (as opposed to hw overlay that is usually used by other players) that makes it slower than decoding on software. all this is done automatically, if the hw accelerated plugin is present it'll be chosen. on ubuntu-omap4 to deactivate the hw accelerated plugin:

apt-get remove gstreamer0.10-plugin-ducati

on the pandaboard the example that comes with OF works without dropping frames, h264 with 720x404 works ok setting the pixel format of the player to BGRA and more than that begins to drop frames. on the rpi installing gst-omx should give hw accelerated decoding

bakercp commented 11 years ago

Exciting! I'll check it out on the RPI -- @jvcleave can you also check this on RPI before we merge?