using the gst_parse_launch()

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

using the gst_parse_launch()

I am running the tutorials of Gstreamer and it works great (on windows).

I want to use the command "gst_parse_launch()"

the original command (from the tutorials):

pipeline = gst_parse_launch ("playbin2
uri=", NULL);

my changes:

pipeline = gst_parse_launch ("filesrc
location=C:\\Users\\name\\Desktop\\movie.mp4 ! decodebin2 ! autovideosink",

both of the pipelines works fine from the cmd, but my pipeline doesn't work
with gst_parse_launch

any suggestions?


View this message in context:
Sent from the GStreamer-devel mailing list archive at
gstreamer-devel mailing list
[hidden email]
Reply | Threaded
Open this post in threaded view

Re: using the gst_parse_launch()

What is the error message coming from gstreamer logs ? Ideally if the command works from gst-launch , I dont see any reason why it should not work with gst_parse_launch

Could it be related to the missing single inverted comma for the filename ?
gst_parse_launch ("filesrc
location='C:\\Users\\name\\Desktop\\movie.mp4' ! decodebin2 ! autovideosink",