Hello all, We have been using a command line video player called ‘gplay’ that comes with the Freescale BSP for the i.mx28 evaluation kits.’ Gplay’ is based on Gstreamer framework.But on our custom embedded hardware, there is no audio device(sometimes we might plugin a USB based audio device, but not always). So when we use ‘gplay’ to play a video file with audio, gstreamer doesn’t see a audio device on the platform and hence fails to play the video as well. Our requirement is that we will always have video with audio and it should play the video whether or not there is an Audio device on the platform. I’ve two questions 1. Is there a way to configure gstreamer to go ahead playing with the video even if there is no audio device on the platform ? 2. In the log below, there is a Gstreamer warning showing Failed to load plugin. But the plugin is present at that location. Why does it keep warning then ? I’ve provided the log below for reference. Error is highlighted in Red. Any inputs on this would be helpful in moving forward. Log: gplay output1.mp4 ok output1.mp4 (<unknown>:7565): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-0.10/libmfw_gst_mpeg4aspdec.so': lib_MPEG4ASP_dec_arm9_elinux.so.1.2.1: cannot open shared object file: No such file or directory playbin is employed! fsl_player_init(): Successfully initialize! fsl_player_set_media_location(): filename=output1.mp4 [Stopped ][Vol=01][00:00:00/00:00:00]Aiur Core Info: mime: video/quicktime; audio/x-m4a; application/x-3gp file: lib_mp4_parser_arm9_elinux.3.0.so ver : MPEG4PARSER_06.03.12 build on Oct 21 2010 06:15:53 H264D_ARM9_02.06.01 build on Dec 21 2010 09:26:37. MFW_GST_H264_DECODER_PLUGIN 1.9.6 build on Jun 13 2012 10:07:54. BLN_MAD-MMCODECS_AACD_ARM_03.05.00 build on Nov 25 2009 15:00:47. MFW_GST_AAC_PLUGIN 1.9.6 build on Jun 13 2012 10:07:16. Movie Info: Seekable: Yes Live: No Duration: 0:04:33.020992000 ReadMode: File Total Track: 2 Track 00[Video]: Duration: 0:04:32.542016000 Language: und Mime: video/x-h264, width=(int)240, height=(int)400, framerate=(fraction)24/1, codec_d ata=(buffer)000000016742c014db0f0ce840000003004000000c03c50ab80000000168ca8cb2 Track 01[Audio]: Duration: 0:04:33.020000000 Language: und Mime: audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)0 , framed=(boolean)true, codec_data=(buffer)1208 [Stopped ][Vol=01][00:00:00/00:00:00]Debug: gstalsasink.c(690): gst_alsasink_open (): /GstPlayBin:playbin0/GstBin:abin/GstAlsaSink:audiosink: Playback open error on device 'default': No such file or directory Error: Could not open audio device for playback. FSL_PLAYER_UI_MSG_INTERNAL_ERROR: internal error message received. MFW_GST_V4LSINK_PLUGIN 1.9.6 build on Jun 13 2012 10:07:09. >>V4L_SINK: Actually buffer status: hardware buffer : 11 software buffer : 0 FOUND MIKE:dma_alloc_coherent addr fdf9d000 size 237568.retry count 0 GST_MESSAGE_TAG! codec: H.264/AVC language code: und FOUND GST_MESSAGE_TAG! codec: AAC language code: und FOUND GST_MESSAGE_TAG! audio codec: AAC decoder bitrate: 0 sampling frequency (Hz): 44100 number of channels: 1 [Stopped ][Vol=01][00:00:00/00:04:33][Stopped ][Vol=01][00:00:00/00:04:33][Stopped ][Vol=01][00:00:00/00:04:33][Stopped ][Vol=01][00:00:00/00:04:33]full screen size:800x480 [V4L Update Display]: left=0, top=0, width=800, height=480 fsl_player_play() FSL_PLAYER_01.00_LINUX build on Jun 13 2012 10:08:04 [h]display the operation Help [p]Play [s]Stop [e]Seek [a]Pause when playing, play when paused [v]Volume [m]Switch to mute or not [>]Play next file [<]Play previous file [r]Switch to repeated mode or not [f]Set full screen or not [z]resize the width and height [t]Rotate [i]Display the metadata [x]eXit BM_GET_BUFFERv2 no buffer, 6 in codec Debug: aiurdemux.c(3544): aiurdemux_pull_task (): /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0: streaming stopped, reason error, state 4 Error: GStreamer encountered a general stream error. Total rendered:1 >>V4L finalize: class finalized. - hp _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |