Quantcast
Viewing all articles
Browse latest Browse all 40524

h264 mp4 video not playing on Raspberry PI with ofVideoPlayer

Hi all!

I'm trying to get the ofVideoPlayer to play a mp4 video encoded with h264, but am getting:

[error] ofGstUtils: gstHandleMessage(): embedded video playback halted for plugin, module omxh264-omxh2640 reported: GStreamer encountered a general supporting library error.
[warning] ofGstVideoUtils: update(): ofGstVideoUtils not loaded

  • installed the good/ugly/bad gstreamer codecs

    sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad

  • installed totem (which isn't playing the video - or doing anything, for that matter)

  • installed vlc (which plays the video with a LOT of stuttering and artefacts - which is probably normal since it's a 720p video)
  • opened with omxplayer: perfect playback

The OF videoPlayerExample works fine, and video playback is actually smooth, so I'm guessing it's something to do with the H264 codec, but have no idea where to go next on this...

I can't use ofxOMXplayer, since I need jump-to-frame (or jump-to-time) functionality, like moviePlayer.setFrame(frameNumber).

Any help is greatly appreciated Image may be NSFW.
Clik here to view.
:blush:


Viewing all articles
Browse latest Browse all 40524

Trending Articles