Stream swithcing dynamically
Sebastian Dröge
sebastian at centricular.com
Mon Jun 6 09:00:59 UTC 2016
On Mo, 2016-06-06 at 00:51 -0700, DeepakRohan wrote:
> multiple audio stream case is impossible if I use gst-launch-1.0
gst-launch has no feature to dynamically change pipelines.
> So if I change from audio#0 to audio#2 then the input-selector after
> demuxer
>
> followed by a pad-probe at the input selectors source pad then all the
> downstream
> elements will change from mpegaudioparse-mp3dec to aacparse-aacdec.
> And the playback will resume from the time when stream change was requested,
> say that the stream change request time is 15 seconds.
>
> Am I right in my understanding form the above paragraph.
No, a pad probe is just a way for you to get a callback in your code
when something happens on a pad. Your code would then have to change
the pipeline downstream from one parser/decoder combination to another.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160606/168c53b7/attachment.sig>
More information about the gstreamer-devel
mailing list