how I do streaming with raspberry by rtp?

2

I want to cast my webcam by rtp with raspberry pi.

I've tried this:

ffserver -f /etc/ffserver.conf & ffmpeg -v verbose -r 5 -s 640x480 -f video4linux2 -i /dev/video0 –f rtp rtp://192.168.1.205:5005/webcam.ffm

but it fails to play in VLC.

how I can do it?

thanks

laura

Posted 2013-03-13T09:30:33.023

Reputation: 21

1any error messages on either side? – Journeyman Geek – 2013-03-13T09:34:47.967

Would this be on-topic for http://raspberrypi.stackexchange.com ?

– MrWhite – 2013-03-13T10:02:56.880

no, but when I play it with VLC, it fails. – laura – 2013-03-13T10:09:46.577

Moreover, I've tried this: sudo ffmpeg -v verbose -f video4linux2 -input_format mjpeg -pix_fmt yuvj440p -i /dev/video0 -vcodec mjpeg -an -pix_fmt yuvj440p -f mpegts udp://192.168.1.27:5004 – laura – 2013-03-13T10:13:44.110

No answers