Closed jvcleave closed 11 years ago
I was able to get the example working with Apple Photo JPEG but not with:
H.264 Sorenson
Here is a file that worked for me http://www.jvcref.com/files/PI/video/fingers_photo_jpeg.mov
Hey Jason, I'm also having this same issue using videoPlayerExample, though when I use your Apple Photo JPEG compressed video above, it throws the same GStreamer error.
Any idea why I might still be having an issue?
Thanks
i think you are probably just missing some codecs, will take a look
I installed the codecs via the install_codecs script - installing gstreamer0.10-plugins-ugly
Should codecs be installed manually?
no install_codecs should install everything necesary, perhaps there's something missing for raspbian but i'm pretty sure i've used h264 in the rpi, will test when i have a moment
guys.. it's definitely a codecs issue. But I couldn't find a way to install them either.. then I thought about installing gnome ... and it fixed everything.. but now I don't have startx.. and my sd card is filled.. ,,
I too have had h264 working on the pi last time i tried -- in fact, it is working now on mine. I haven't done a fresh install with the current build instructions though. So, yes, it must be a codecs thing.
Is there a way to list my current installed codec-related packages? If so, I could post them here.
Hi all -- any updates on this? Can we close it?
Before you do, perhaps would you confirm what level of performance are you getting with ofVideoPlayer?
When I play a H264 video, encoded with a very modest quality, I can't get it to play at sizes over 400x300 without seriously affecting the framerate. It will drop to 12fps or so - and there's no way I can approach any variety of HD.
Does this sound about right?
Thanks again
i do dpkg -l | grep gst
will to list packages
there is also gst-inspect-0.10
which has a lot of output
I have seen the gstvideo: failed to get caps of pad app_sink:sink
message recently. Oddly the next time the app ran it ran ok.
@davidsweeney the slowness will be common until gstreamer supports OpenMax. In the meantime (if you are feeling brave :) feel free to try my addon https://github.com/jvcleave/ofxOMXPlayer
@jvcleave oh nice addon.. is it still failing on some formats?
most of the video performance questions can be answered here https://github.com/openFrameworks-RaspberryPi/openFrameworks/issues/21
more formats (VP6, VP8, M-JPEG, OGG ) will be coming to OMX rpi-update http://www.cnx-software.com/2013/01/26/raspberry-pi-now-has-experimental-support-for-vp6-vp8-mjpeg-and-ogg-theora-video-codecs/
but will still be handled via an ofxAddon until gst-omx (also requires gstreamer-1.0)
Currently getting
** (videoPlayerExample:3633): WARNING **: gstvideo: failed to get caps of pad app_sink:sink [error] GStreamer: cannot query width and height
looking into it