Debugging No Audio through Raspberry Pi 3.5mm using ofVideoPlayer

#1

I’ve come across an issue when trying to play a video through ofVideoPlayer that contains an audio track where no audio comes out the 3.5mm jack on a Raspberry Pi 3 (A and B). When using OMXPlayer (and ofxOMXPlayer) I can get audio playback.

What is curious is that when I start playback with ofVideoPlayer, I get a series of repeating warnings from ofGstUtils claiming unhanded messages. Below begins when the video starts loading:

[verbose] ofGstUtils: gstreamer inited 
[verbose] ofGstVideoPlayer: loadMovie(): loading "file:///home/pi/openFrameworks/apps/myApps/myVideoPlayerApp/bin/data/SizzleReel.mp4"
[verbose] ofGstUtils: startPipeline(): attaching callbacks
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from sink
[verbose] Pipeline is PREROLLING
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from sink
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from sink
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from sink
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src_0
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src_1
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from src 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from player
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from omxhdmiaudiosink-omxhdmiaudiosink0 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from omxhdmiaudiosink-omxhdmiaudiosink0
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from omxhdmiaudiosink-omxhdmiaudiosink0
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from audiosinkringbuffer0
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from app_sink 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from app_sink 
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from app_sink
[verbose] Pipeline is PREROLLED 
[verbose] ofGstUtils: gstHandleMessage(): async done
[verbose] ofGstUtils: gstHandleMessage(): unhandled message from player 

Prerequisites:

  • I have the following packages installed with their latest updates: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio gtk+-3.0 libmpg123
    • These are from the install_dependencies.sh and install_codecs.sh scripts distributed with openFrameworks 0.10.1 for ARM
  • openFrameworks 0.10.1
  • Raspbian GNU/Linux 9 (stretch)
  • H.264 Base encoded .mp4 video

I was wondering if there is a way I can receive the unhandled messages to further debug what is going wrong or if I should just keep using ofxOMXPlayer.

Thanks!