help with creating a pipe

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

help with creating a pipe

Jerry Geis
I am trying to take a v4l2src of which the content is motion mjpeg and
then stream that on the network with rtp.

My pipe is:
gst-launch v4l2src device=/dev/video0 !
video/x-raw-yuv,width=640,height=480,framerate=\(fraction\)30/1 !
jpegenc ! rtpjpegpay ! udpsink port=16200

It doesnt give me any errors on startup, but when I try to connect and
play (mplayer rtsp://IP:16200) it just says connection refused.
There is no firewall involved the are disabled at this time.

What am I not doing correctly to take the mjpeg usb camera and make it
available on the network.

Thanks,

jerry

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

Re: help with creating a pipe

Marco Ballesio
Hi,

On Fri, Feb 25, 2011 at 10:38 PM, Jerry Geis <[hidden email]> wrote:

> I am trying to take a v4l2src of which the content is motion mjpeg and
> then stream that on the network with rtp.
>
> My pipe is:
> gst-launch v4l2src device=/dev/video0 !
> video/x-raw-yuv,width=640,height=480,framerate=\(fraction\)30/1 ! jpegenc !
> rtpjpegpay ! udpsink port=16200
>
> It doesnt give me any errors on startup, but when I try to connect and play
> (mplayer rtsp://IP:16200) it just says connection refused.

udpsink does not provide support for the RTSP protocol. What you want
to do is not achievable with simple pipelines, so it's easier to use
the GStreamer RTSP server:

http://people.freedesktop.org/~wtay/

Regards

> There is no firewall involved the are disabled at this time.
>
> What am I not doing correctly to take the mjpeg usb camera and make it
> available on the network.
>
> Thanks,
>
> jerry
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel