conditional expression in gst-launch possible?

Olivier Crête olivier.crete at
Wed Oct 13 23:34:50 UTC 2021


On Wed, 2021-10-13 at 19:58 +0000, Marc via gstreamer-devel wrote:
> t. ! queue ! tsdemux name=demux \
>         demux.audio_0_0101 ! aacparse ! queue ! \
>         demux.video_0_0100 ! h264parse ! queue ! \
>         hlssink2 name=hlssink playlist-location=
> Is it possible to have some sort of conditional expression so that audio is only parsed when it exists? Of course that would also maybe require some sort of auto detection on the audio parsing.

The answer is no, to do that kind of thing, you need to write code.
gst-launch is really meant to be a testing tool, it's not meant for
production applications.

Olivier Crête
olivier.crete at

More information about the gstreamer-devel mailing list