From: Eric Z. <nic...@gm...> - 2008-12-09 02:23:22
|
Hi, gstreamer-devel: I think you'd better add some "g_message" or "printf" codes into your gstbasesink.c and find out where the pipeline blocked, that's the key point. Blocking is a common problem when developing gstreamer applications, at least for me. And my solution is first find out where it blocks -- mostly always blocks at basesink. I noticed your basesink used push mode so you can first add printf codes in "gst_base_sink_chain" --> "gst_base_sink_chain_unlock" --> "gst_base_sink_queue_object_unlocked" ...... Eric Zhang 2008/12/5 vinod james <vin...@gm...> > > Hi, > I have done a source installation of gstreamer and gstreamer-base plugins > version 0.10.21 > I am trying few things mentioned in the faq document > If I say > $aplay -v test.wav, > I am able to play the wav file through alsaplay, which shows that alsa > driver is installed in my PC > > If I do > $gst-inspect alsasink > shows that alsasink is installed. > > And when i do > $gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! > audioresample ! filesink location=test.raw > it writes the decoded raw samples into the file and I am able to play > test.raw in application like cooledit > > But if I do > $gst-launch filesrc location=test.ogg ! decodebin ! audioconvert ! > audioresample ! alsasink > it goes into infinite loop. > The alsasink plugin is not able to detect the alsadriver I guess. > How do I debug this problem? > Pls help me > > Regards > Vinod James > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > gstreamer-devel mailing list > gst...@li... > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > |