Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
4 posts
|
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 _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
2904 posts
|
On Mi, 2016-07-06 at 11:53 +0200, Sachs Jürgen wrote:
> 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? ... [show rest of quote] ... [show rest of quote] When using gst-launch-1.0 / gst_parse_launch() you can provide them
exactly like that: "textrender ! hwimagesink" would be converted to a bin containing these two elements. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Free forum by Nabble | Disable Popup Ads | Edit this page |