gst pipeline will cause audio ringbuffer blocked
xiaozhan04
butteryflycut at 163.com
Mon Mar 18 23:46:10 PDT 2013
The audio and video format of the mp4 file determine the pipeline
construction.There is a mothod you can use to look the pipeline that the
playbin construct(The pipeline maybe too long, you can use it as
reference,then short it to construct your simple pipeline.).Follow this:
//===============================================================
Create DOT file to see exact pipeline and capabilities used
In order to generate a DOT file, set the GST_DEBUG_DUMP_DOT_DIR environment
variable to point to the folder where you want the .dot files to be stored.
1) Install "dot" tool on your host machine...to do so simply install
graphviz:
sudo apt-get install graphviz
2) On your target board, set the environment dot dump variable:
export GST_DEBUG_DUMP_DOT_DIR=/root
mkdir -p $GST_DEBUG_DUMP_DOT_DIR
3) Run your pipeline, a .dot file will be generated according to each of the
state changes that occur showing how the caps are negotiated during the
process.
4) Convert the dot files to PNG image files or SVG graphics files
dot -Tpng input.dot > output.png
dot -Tsvg input.dot > output.svg
Using SVG allows you to n infinitely zoom to be able to read all the text.
You can use inkscape to view and edit SVG files.
//===============================================================
You can get more debug details in this page
https://www.ridgerun.com/developer/wiki/index.php/GStreamer_Debugging.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gst-pipeline-will-cause-audio-ringbuffer-blocked-tp4659164p4659174.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list