Could not parse caps

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

Could not parse caps

Abu Abdullah
Hi,

I'm having difficulties to parse the "x-dimensions" in the android app.

gst_structure_parse_field failed to parse value
x-dimensions=(string)\"640\,480\", payload=26
priv_gst_structure_parse_fields Failed to parse field,
r=x-dimensions=(string)\"640\,480\", payload=26
priv_gst_parse_yyparse could not parse caps "application/x-rtp,
x-dimensions=(string)\"640\,480\", payload=26"


I tried many combination but no luck. the normal command line is
working fine with:
gst-launch-1.0 -e udpsrc port=5000 !
application/x-rtp,x-dimensions=\"3280\,2464\",payload=26 !
rtpjpegdepay ! jpegdec ! autovideosink sync=false

i tried to simluate it in the android app without success.

how can i format x-dimensions away from backslash & semicolon
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Could not parse caps

i02bahip
Hi!

I have the same issue. I'm not able to parse in android app the
"x-dimensions". I've tried to escape the  characters with backslash in this
way:

x-dimensions=(string)\"2560\,960\"

In command line, that works, but when I try to put this inside a pipeline in
gst_parse_launch () method, I get a parse error.

Somebody in the world get the same issue?

Thanks!!

pd: Sorry for my horrible english! haha



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel