[gst-devel] how to use queue plugin to program application...
trimurthulu amaradhi
trimmu at gmail.com
Thu Sep 27 09:08:29 CEST 2007
Hi,
yen .. in case if your problem is not solved .. I have an advice..
use one audiobin
use videobin
use sourcebin .. in the sourcebin , put filesrc and demux..
connect the ghostpad of audiobin to the sourcebin
similarly to the videobin..
I have one doubt .. can you please clarify me.. in your pipe line
gst-launch-0.10 filesrc location=testmediafile ! *demux name=demux d.! queue
!*decoded ! audioconvert!.... d. !queue !*decodec ! ffmpegcolorsapce....
demux name=demux d...
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..
Advance thanks ..
Trimurthulu
On 9/11/07, Volter Yen <volter619 at 163.com> wrote:
>
> Hi,
> I want to make my simple palyer with gstreamer plugin,
> the test script is :
> gst-launch-0.10 filesrc location=testmediafile ! *demux name=demux d.!
> queue !*decoded ! audioconvert!.... d. !queue !*decodec !
> ffmpegcolorsapce....
> (the way above can work properly)
>
> I tried to find some example on the subject,but the document on the
> gstreamer.com do little help with me for this case,
> I have tried to do that as the following:
>
> main piple :
> |--videobin
> filesrc--*demuxer-|
> |--audiobin
> audio out process :
> construct a bin,which contains:
> queue ---*decodec--audioconvert--...--audiosink
> constrcut a ghost pad for audio bin
> video out process :
> construct a bin,which contains:
> queue ---*decodec--ffmepgcolorsapce--...--videosink
> constrcut a ghost pad for video bin
>
> link demuxer with the demuxer with the audiobin
>
> link demuxer with the demuxer with the videobin
> .........
>
> but when excuting gst_element_set_state to GST_STATE_PLAYING,the final
> state is GST_STATE_CHANGE_ASYNC....
>
> 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!
>
> Volter
>
>
> =====================================================
>
> Happy everyday $ Best Regards!
>
> msn:volter619 at 163.com
>
> Focus on embed linux software!
>
>
> ------------------------------
> 独有"账号保险柜"保护密码,"瑞星08版"开始免费<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>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070927/a0acb652/attachment.htm>
More information about the gstreamer-devel
mailing list