Hi,<br><br>yen .. in case if your problem is not solved .. I have an advice..<br><br>use one audiobin <br><br>use videobin <br><br>use sourcebin .. in the sourcebin , put filesrc and demux..<br><br>connect the ghostpad of audiobin to the sourcebin
<br><br>similarly to the videobin..<br><br>I have one doubt .. can you please clarify me.. in your pipe line<br> <br><div>gst-launch-0.10 filesrc location=testmediafile ! *demux name=demux
d.! queue !*decoded ! audioconvert!.... d. !queue !*decodec !
ffmpegcolorsapce....<br><br>demux name=demux
d... <br><br>I want to use this naming concept in the C code (means in the application ) in stead of gst-launch.. using that name I can stream audio and video using gst-launch .. But how can I put it in the C code..
<br><br>Advance thanks ..<br><br>Trimurthulu<br></div>
<br><br><br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername">Volter Yen</b> <<a href="mailto:volter619@163.com">volter619@163.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,</div>
<div> I want to make my simple palyer with gstreamer plugin,</div>
<div>the test script is :</div>
<div>gst-launch-0.10 filesrc location=testmediafile ! *demux name=demux d.! queue !*decoded ! audioconvert!.... d. !queue !*decodec ! ffmpegcolorsapce....</div>
<div>(the way above can work properly)</div>
<div> </div>
<div> I tried to find some example on the subject,but the document on the <a href="http://gstreamer.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gstreamer.com</a> do little help with me for this case,
</div>
<div>I have tried to do that as the following:</div>
<div> </div>
<div>main piple :</div>
<div> |--videobin </div>
<div> filesrc--*demuxer-|</div>
<div> |--audiobin</div>
<div>audio out process :</div>
<div> construct a bin,which contains:</div>
<div> queue ---*decodec--audioconvert--...--audiosink</div>
<div> constrcut a ghost pad for audio bin</div>
<div>
<div>video out process :</div>
<div> construct a bin,which contains:</div>
<div> queue ---*decodec--ffmepgcolorsapce--...--videosink</div>
<div> constrcut a ghost pad for video bin</div>
<div> </div></div>
<div>link demuxer with the demuxer with the audiobin</div>
<div> </div>
<div>link demuxer with the demuxer with the videobin</div>
<div> .........</div>
<div> </div>
<div>but when excuting gst_element_set_state to GST_STATE_PLAYING,the final state is GST_STATE_CHANGE_ASYNC....</div>
<div> </div>
<div>I don't know how to process it?maybe thereis some problem with the mianframe of my program ? can someone guide me or give me some related example? Thank a lot!</div>
<div> </div>
<div>Volter</div>
<div> </div>
<div><br>
<div>=====================================================</div>
<div> </div>
<div>Happy everyday $ Best Regards!</div>
<div> </div>
<div><a href="mailto:msn:volter619@163.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">msn:volter619@163.com</a></div>
<div> </div>
<div>Focus on embed linux software!</div></div><br><br>
<hr>
<font style="font-size: 12px; line-height: 15px;">独有"账号保险柜"保护密码,</font><a style="font-size: 12px; line-height: 15px; color: blue; text-decoration: underline;" href="http://adclient.163.com/event.ng/Type=click&FlightID=94603&AdID=96090&TargetID=1200&Values=31,43,51,60,72,85,91,100,110,312,332,499,587,701,702,733,734&Redirect=http://www.rising.com.cn/2008/trial/index.htm" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
"瑞星08版"开始免费</a><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by: Microsoft<br>Defy all challenges. Microsoft(R) Visual Studio 2005.<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gstreamer-devel@lists.sourceforge.net">
gstreamer-devel@lists.sourceforge.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
</a><br><br></blockquote></div><br>