[gst-devel] how to use queue plugin to program application...
volter619 at 163.com
Tue Sep 11 13:17:00 CEST 2007
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-| |--audiobinaudio out process : construct a bin,which contains: queue ---*decodec--audioconvert--...--audiosink constrcut a ghost pad for audio binvideo 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!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel