gst-launch: specifying sub-bins

Sachs Jürgen Sachs.Juergen at metz-ce.de
Wed Jul 6 09:53:46 UTC 2016


Can anybody help me how to specify a correct gst-launch pipeline for a little special problem:

Assumed we have a hardware, that can: 

1.       decode  and display several video codecs ("video/avs-video; video/mpeg, systemstream = (boolean) { false }; ..."

2.       decode and present several audio codecs ("audio/x-wma;audio/mpeg, mpegversion = (int) { 1, 2, 4 };... "

3.       display images in an OSD overlay (GST_VIDEO_CAPS_MAKE("{ AYUV, ARGB }"))

For this three task, assumed there exist three different sink elements, name hwvideosink, hwaudiosink and hwimagesink

 

Now I want to decode a video with SRT subtitles using gst-launch. The pipeline description should be similar to the following:

Ø  gst-launch-1.0 playbin audio-sink=hwaudiosink video-sink=hwvideosink text-sink=<my-text-sink> uri=sample.avi" suburi=sample.srt"

and the <my-text-sink> itselfs is a pipeline like this: "textrender ! hwimagesink"

 

How can be specified the pipeline with this sub-bin as text-sink?

Kind regards

/Juergen

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160706/dd49513b/attachment.html>


More information about the gstreamer-devel mailing list