how to override the subtitleoverlay bin in playbin2

bcxa sz bcxa.sz at gmail.com
Fri Oct 7 03:28:50 PDT 2011


On Thu, Oct 6, 2011 at 12:58 AM, Mike Mitchell
<mike.mitchell at panometric.net> wrote:
> 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.
>

Yes. But playbin2 is so popular and avoid customer to study how to
construct the pipeline and just use standard gstreamer component to
achieve the target. That's why we preferred to use playbin2.

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


More information about the gstreamer-devel mailing list