[gst-devel] I can't get an appsrc-using pipeline to PLAYING state

Julien Puydt jpuydt at free.fr
Wed Jan 14 09:15:12 CET 2009


Lutz Müller a écrit :
> On Tue, 2009-01-13 at 09:03 +0100, Julien Puydt wrote:
>> LANG=C gst-launch appsrc 
>> caps=audio/x-raw-int,rate=44100,channels=2,width=16 name=ekiga_src ! 
>> volume name=ekiga_volume ! sdlaudiosink
>> Setting pipeline to PAUSED ...
>> Pipeline is PREROLLING ...
>>
>> and it never goes into PLAYING.
>>
>> Could someone hint what's going wrong there ?
> 
> According to the documentation, "Sink elements only accept one single
> buffer of data and then block. At this point the pipeline is ’prerolled’
> and ready to render data immediately." I guess sdlaudiosink is waiting
> for this one single buffer in vain in your pipeline forever...

Hmmmm... when I modified my code to go on even with a non-PLAYING 
pipeline, I see the buffers getting pushed (printf in the pushing 
function), but I don't hear anything :-/

How can I discover what happens within the pipeline?

Thanks,

Snark




More information about the gstreamer-devel mailing list