gst-launch syntax question

Bjørn Forsman bjorn.forsman at gmail.com
Sat Dec 3 13:09:33 UTC 2016


On 30 November 2016 at 15:44, Johnny G. Mills <johnny at spotcrowd.com> wrote:
> Hey community,
>
> First a small introduction. I'm Johnny G. Mills from Spotcrowd.com a
> start-up doing retail video surveillance.
> Started with GStreamer (and C) a month ago.
>
> when using gst_parse_launch / CLI I don't understand the backslash. Example:
> src:
> http://wiki.oz9aec.net/index.php/Gstreamer_cheat_sheet#Encoding_and_Muxing
>
>> gst-launch
>> -1.0
>> videotestsrc num-buffers=500 ! video/x-raw-yuv, framerate=25/1, width=640,
>> height=360 ! x264enc \ ! mpegtsmux ! filesink location=test.ts
>
>
> What does this do?

The backslash tells the shell (bash) that the command continues on to
the next line. It has nothing to do with gst-launch.

Best regards,
Bjørn Forsman


More information about the gstreamer-embedded mailing list