rtsp-server and v4l2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

rtsp-server and v4l2

José Luis Segura Lucas
I'm trying to use Gstreamer to serve a v4l2 device via RTSP using the gst-rtsp-server library.

I'm trying to give this string:

"( v4l2src ! video/x-raw-yuv,width=352,height=288,framerate=15/1 ! ffenc_h263 ! rtph263pay name=pay0 pt=96 )"

to the gst_rtsp_media_factory_set_launch function, but when I connect using

gst-launch-0.10 playbin2 uri="rtsp://ip:port/test"

on the client side, I get a 503 (Service Unavailable) error.

I tried with videotestsrc instead v4l2src and it works perfect.
I'm able to see the v4l2 device using gst-launch-0.10 playbin2 (I think is not an user permission error)

What's the problem using v4l2? Do I need some element on my pipeline just after v4l2src?

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel