GstPlayer unhandled message

Jerome Marty jahrome11 at gmail.com
Sat Apr 16 11:14:58 PDT 2011


Hello,

I am testing the 'official' release of gstreamer for android. Playing an
audio file works great but I'm facing an issue when trying to play a
movie with GstPlayer. AudioFlinger and SurfaceFlinger sinks work great
when testing with gst-launch with this command :

gst-launch -v playbin2 uri="file:///sdcard/Videos/git1.mp4"
video-sink=surfaceflingersink audio-sink=audioflingersink

but when playing the same movie in android's player the screen remains
black with no sound. When hitting back button, the player closes
correctly. The logcat is the following :

V/GstPlayer( 2423): GstPlayer constructor
V/GstDriver( 2423): constructor
V/GstDriver( 2423): persist.gst.debug property 0
V/GstDriver( 2423): persist.gst.trace property /dev/console
V/GstDriver( 2423): route the trace to /dev/console
V/GstDriver( 2423): gstreamer init check
V/GstPlayer( 2423): GstPlayer send GstDriver Setup
V/GstDriver( 2423): create playbin2
V/GstDriver( 2423): playbin2 creation: playbin2120
V/GstDriver( 2423): persist.gst.verbose property = 0
V/GstDriver( 2423): set up mainloop
V/GstDriver( 2423): register bus callback
V/GstDriver( 2423): add surfaceflingersink to playbin
V/GstDriver( 2423): add audioflingersink to playbin
I/GstPlayer( 2423): setDataSource('/mnt/sdcard/Videos/git1.mp4')
I/GstPlayer( 2423): GstPlayer setDataSource(/mnt/sdcard/Videos/git1.mp4)
I/GstDriver( 2423): create source from uri /mnt/sdcard/Videos/git1.mp4
V/GstDriver( 2423): set uri to playbin
file:///mnt/sdcard/Videos/git1.mp4
D/GstDriver( 2423): GstDriver::setAudioSink: 0x36a6e8
D/GstAudioFlingerSink( 2423): set audiosink: 0x36a6e8
V/GstPlayer( 2423): GstPlayer setVideoSurface(0x456328)
V/GstDriver( 2423): set surface to videosink
V/GstPlayer( 2423): GstPlayer setVideoSurface(0x309388)
V/GstDriver( 2423): set surface to videosink
V/GstPlayer( 2423): GstPlayer prepareAsync
V/GstDriver( 2423): prepareAsync
V/GstDriver( 2423): enter main loop
V/GstDriver( 2423): bus receive message STATE_CHANGED old 1 new 2
pending 3
V/GstDriver( 2423): bus receive message STATE_CHANGED
D/GstAudioFlingerSink( 2423): creating ringbuffer
D/GstAudioFlingerSink( 2423): created ringbuffer @0x4663f0
D/GstAudioFlingerSink( 2423): >gst_android_audioringbuffer_open_device
D/audioflinger_wrapper( 2423): Open AudioSink successfully : 0x3142d0
D/GstAudioFlingerSink( 2423): open an existed flinger, 0x3142d0
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
V/GstDriver( 2423): get unhandled message on bus sink stream-status
V/GstDriver( 2423): get unhandled message on bus sink stream-status
I/ActivityManager( 1491): Displayed com.cooliris.media/.MovieView:
+916ms
E/msm7x30.gralloc( 1491): [unregister] handle 0x3756b0 still locked
(state=40000001)
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
V/GstDriver( 2423): get unhandled message on bus src0 stream-status
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
V/GstDriver( 2423): get unhandled message on bus qtdemux14 tag
V/GstDriver( 2423): get unhandled message on bus src1 stream-status
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
D/GstAudioFlingerSink( 2423): gst_audioflinger_sink_getcaps,0x3142d0
V/GstDriver( 2423): get unhandled message on bus qtdemux14 tag

Thank you for your advises on solving this issue.

Regards,

Jerome Marty



More information about the gstreamer-android mailing list