gst_parse_launch vs building the pipeline in code

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gst_parse_launch vs building the pipeline in code

shyam
Hi,

         I am wondering if there is any benefit in building the pipeline in
code versus using the gst_parse_launch method. I am writing a c++
application and find the gst_parse_launch method to be very convenient .

Thanks & Regards,
Shyam



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_parse_launch vs building the pipeline in code

Nicolas Dufresne-5
Le jeudi 21 novembre 2019 à 11:00 -0600, shyam a écrit :
> Hi,
>
>          I am wondering if there is any benefit in building the pipeline in
> code versus using the gst_parse_launch method. I am writing a c++
> application and find the gst_parse_launch method to be very convenient .

In my own projects, I prefer to use gst_parse_launch() /
gst_parse_bin_from_description() when possible, as it makes the code
smaller and faster to read. This is a personal choice, I haven't so far
notice a visible overhead.

regards,
Nicolas

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment