how to override the subtitleoverlay bin in playbin2

Mike Mitchell mike.mitchell at panometric.net
Wed Oct 5 09:58:16 PDT 2011


BCXA,

Playbin is an autoplugger that just creates valid pipelines intelligently
for you. With your requirement you have outgrown those training wheels.  If
you construct the pipeline yourself you will be able to replace the
subtitling with your own.

One way to do this is to have a good map of your existing pipeline. I find
the script below priceless in exploring Gstreamer capabilities because it
will graphically what sort of fancy pipeline playbin and other smart
elements like autosink do.  Then you can reconstruct the 90% you like
manually, and plug in your replacements.


*Mike Mitchell*
*
*
#!/bin/bash
export GST_DEBUG_DUMP_DOT_DIR=$PWD/gstdot
rm $GST_DEBUG_DUMP_DOT_DIR/*.dot $GST_DEBUG_DUMP_DOT_DIR/*.png

# INSERT YOUR gst-launch HERE

# Debug Code shows result file and graphic of pipeline.
echo "Press ENTER to continue ..."
read WAIT

for f in $GST_DEBUG_DUMP_DOT_DIR/* ;
do
 dot -T png $f >$f.png;
done
 eog $GST_DEBUG_DUMP_DOT_DIR/*.png
exit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20111005/af07111a/attachment.htm>


More information about the gstreamer-devel mailing list