[gst-devel] Pipeline with live and non-live sources and sinks

Henrik Hedberg henrik.hedberg at innologies.fi
Tue Sep 14 12:02:55 CEST 2010


    Hi,

    We have a problem constructing a pipeline with live and non-live 
sources and sinks. The following pipeline results audible scratches or 
"jumps" during playback:

gst-launch-0.10  filesrc location=/tmp/test.mp3 ! decodebin ! 
audioconvert ! autoaudiosink autoaudiosrc ! audioconvert ! wavenc ! 
filesink location=/tmp/recording.wav

It may be buffer under-run or latency issue. It does not happen every 
time but usually and it occurs especially at the beginning of the 
stream. The recorded wav is perfect.

    According to design documentation, the above pipeline should work 
and even preroll:

http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/design/part-latency.txt#n167

However, gst-launch handles the pipeline purely as a live source and 
skips prerolling. That happens also in an application that constructs 
the same pipeline.

    Any idea what should be changed? Thanks a lot in advance!

    BR,

    Henrik

-- 
    Henrik Hedberg  -  http://www.henrikhedberg.net/




More information about the gstreamer-devel mailing list