<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:873619090;
        mso-list-type:hybrid;
        mso-list-template-ids:-1415831496 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:38.25pt;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:74.25pt;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:110.25pt;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:146.25pt;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:182.25pt;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:218.25pt;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:254.25pt;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:290.25pt;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:326.25pt;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello all,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve two questions<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>       </span></span><![endif]>Is there a way to configure gstreamer to go ahead playing with the video even if there is no audio device on the platform ?<o:p></o:p></p><p class=MsoListParagraph style='margin-left:38.25pt;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>       </span></span><![endif]>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 ?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve provided the log below for reference. Error is highlighted in Red. Any inputs on this would be helpful in moving forward.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><u>Log:<o:p></o:p></u></b></p><p class=MsoNormal>gplay  output1.mp4 <o:p></o:p></p><p class=MsoNormal>ok<o:p></o:p></p><p class=MsoNormal>output1.mp4<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>(<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<o:p></o:p></p><p class=MsoNormal>playbin is employed!<o:p></o:p></p><p class=MsoNormal>fsl_player_init(): Successfully initialize!<o:p></o:p></p><p class=MsoNormal>fsl_player_set_media_location(): filename=output1.mp4<o:p></o:p></p><p class=MsoNormal>[Stopped  ][Vol=01][00:00:00/00:00:00]Aiur Core Info:<o:p></o:p></p><p class=MsoNormal>  mime: video/quicktime; audio/x-m4a; application/x-3gp<o:p></o:p></p><p class=MsoNormal>  file: lib_mp4_parser_arm9_elinux.3.0.so<o:p></o:p></p><p class=MsoNormal>  ver : MPEG4PARSER_06.03.12  build on Oct 21 2010 06:15:53<o:p></o:p></p><p class=MsoNormal>H264D_ARM9_02.06.01  build on Dec 21 2010 09:26:37.<o:p></o:p></p><p class=MsoNormal>MFW_GST_H264_DECODER_PLUGIN 1.9.6 build on Jun 13 2012 10:07:54.<o:p></o:p></p><p class=MsoNormal>BLN_MAD-MMCODECS_AACD_ARM_03.05.00  build on Nov 25 2009 15:00:47.<o:p></o:p></p><p class=MsoNormal>MFW_GST_AAC_PLUGIN 1.9.6 build on Jun 13 2012 10:07:16.<o:p></o:p></p><p class=MsoNormal>Movie Info:<o:p></o:p></p><p class=MsoNormal>                Seekable: Yes<o:p></o:p></p><p class=MsoNormal>                Live:     No<o:p></o:p></p><p class=MsoNormal>                Duration: 0:04:33.020992000<o:p></o:p></p><p class=MsoNormal>                ReadMode: File<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Total Track: 2<o:p></o:p></p><p class=MsoNormal>Track 00[Video]:<o:p></o:p></p><p class=MsoNormal>                Duration: 0:04:32.542016000<o:p></o:p></p><p class=MsoNormal>                Language: und<o:p></o:p></p><p class=MsoNormal>                Mime:<o:p></o:p></p><p class=MsoNormal>                      video/x-h264, width=(int)240, height=(int)400, framerate=(fraction)24/1, codec_d<o:p></o:p></p><p class=MsoNormal>                      ata=(buffer)000000016742c014db0f0ce840000003004000000c03c50ab80000000168ca8cb2<o:p></o:p></p><p class=MsoNormal>Track 01[Audio]:<o:p></o:p></p><p class=MsoNormal>                Duration: 0:04:33.020000000<o:p></o:p></p><p class=MsoNormal>                Language: und<o:p></o:p></p><p class=MsoNormal>                Mime:<o:p></o:p></p><p class=MsoNormal>                      audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)0<o:p></o:p></p><p class=MsoNormal>                      , framed=(boolean)true, codec_data=(buffer)1208<o:p></o:p></p><p class=MsoNormal>[Stopped  ][Vol=01][00:00:00/00:00:00]Debug: gstalsasink.c(690): gst_alsasink_open (): /GstPlayBin:playbin0/GstBin:abin/GstAlsaSink:audiosink:<o:p></o:p></p><p class=MsoNormal><b><span style='color:red'>Playback open error on device 'default': No such file or directory<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='color:red'>Error: Could not open audio device for playback.<o:p></o:p></span></b></p><p class=MsoNormal><b><span style='color:red'>FSL_PLAYER_UI_MSG_INTERNAL_ERROR: internal error message received.<o:p></o:p></span></b></p><p class=MsoNormal>MFW_GST_V4LSINK_PLUGIN 1.9.6 build on Jun 13 2012 10:07:09.<o:p></o:p></p><p class=MsoNormal>>>V4L_SINK: Actually buffer status:<o:p></o:p></p><p class=MsoNormal>                hardware buffer : 11<o:p></o:p></p><p class=MsoNormal>                software buffer : 0<o:p></o:p></p><p class=MsoNormal>FOUND MIKE:dma_alloc_coherent addr fdf9d000 size 237568.retry count 0<o:p></o:p></p><p class=MsoNormal>GST_MESSAGE_TAG!<o:p></o:p></p><p class=MsoNormal>          codec: H.264/AVC<o:p></o:p></p><p class=MsoNormal>  language code: und<o:p></o:p></p><p class=MsoNormal>FOUND GST_MESSAGE_TAG!<o:p></o:p></p><p class=MsoNormal>          codec: AAC<o:p></o:p></p><p class=MsoNormal>  language code: und<o:p></o:p></p><p class=MsoNormal>FOUND GST_MESSAGE_TAG!<o:p></o:p></p><p class=MsoNormal>    audio codec: AAC decoder<o:p></o:p></p><p class=MsoNormal>        bitrate: 0<o:p></o:p></p><p class=MsoNormal>sampling frequency (Hz): 44100<o:p></o:p></p><p class=MsoNormal>number of channels: 1<o:p></o:p></p><p class=MsoNormal>[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<o:p></o:p></p><p class=MsoNormal>[V4L Update Display]: left=0, top=0, width=800, height=480<o:p></o:p></p><p class=MsoNormal>fsl_player_play()<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>FSL_PLAYER_01.00_LINUX build on Jun 13 2012 10:08:04<o:p></o:p></p><p class=MsoNormal>                [h]display the operation Help<o:p></o:p></p><p class=MsoNormal>                [p]Play<o:p></o:p></p><p class=MsoNormal>                [s]Stop<o:p></o:p></p><p class=MsoNormal>                [e]Seek<o:p></o:p></p><p class=MsoNormal>                [a]Pause when playing, play when paused<o:p></o:p></p><p class=MsoNormal>                [v]Volume<o:p></o:p></p><p class=MsoNormal>                [m]Switch to mute or not<o:p></o:p></p><p class=MsoNormal>                [>]Play next file<o:p></o:p></p><p class=MsoNormal>                [<]Play previous file<o:p></o:p></p><p class=MsoNormal>                [r]Switch to repeated mode or not<o:p></o:p></p><p class=MsoNormal>                [f]Set full screen or not<o:p></o:p></p><p class=MsoNormal>                [z]resize the width and height<o:p></o:p></p><p class=MsoNormal>                [t]Rotate<o:p></o:p></p><p class=MsoNormal>                [i]Display the metadata<o:p></o:p></p><p class=MsoNormal>                [x]eXit<o:p></o:p></p><p class=MsoNormal>BM_GET_BUFFERv2 no buffer, 6 in codec<o:p></o:p></p><p class=MsoNormal>Debug: aiurdemux.c(3544): aiurdemux_pull_task (): /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0:<o:p></o:p></p><p class=MsoNormal>streaming stopped, reason error, state 4<o:p></o:p></p><p class=MsoNormal>Error: GStreamer encountered a general stream error.<o:p></o:p></p><p class=MsoNormal>Total rendered:1<o:p></o:p></p><p class=MsoNormal>>>V4L finalize: class finalized.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>- hp<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>