GStreamer Miscellaneous

Document created by Leonardo Sandoval Gonzalez Employee on Sep 28, 2012Last modified by Leonardo Sandoval Gonzalez Employee on Aug 29, 2014
Version 8Show Document
  • View in full screen mode
Dumping the pipeline elements into a image file

# On target, run the pipeline

$ export GST_DEBUG_DUMP_DOT_DIR=<folder where dot files are created>

$ gst-launch playbin2 uri=file://${avi}

$ # Move the .dot files to a host machine (scp, etc)


# On Host

dot <dot file> -Tpng -o out.png

# dot command is part the the graphviz package

Querying which elements are being used on a gst-launch commandGST_DEBUG=GST_ELEMENT_FACTORY:3 gst-launch playbin2 uri=file://`pwd`/<media file>
Interrupting a gst-launch process running in the background

kill -INT $PID

# where $PID is the process ID

Using only SW codecs

# Backup and remove

$ find /usr/lib/gstreamer-0.10 -name "libmfw*" | grep -v sink | xargs tar cvf /libmfw_gst.tar

$ find /usr/lib/gstreamer-0.10 -name "libmfw*" | grep -v sink | xargs rm

 

# Run your pipeline. This time SW codecs are used

$ gst-launch playbin2 uri=file://`pwd`/media_file

 

# To 'install' FSL plugins again, just untar the file

$ cd / && tar xvf libmfw_gst.tar && cd -

 

# then run your pipeline. This time HW codecs are used

$ gst-launch playbin2 uri=file://`pwd`/media_file

 


Attachments

    Outcomes