Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
1  
any error messages on either side? –  Journeyman Geek Mar 13 '13 at 9:34
    
Would this be on-topic for raspberrypi.stackexchange.com ? –  w3d Mar 13 '13 at 10:02
    
no, but when I play it with VLC, it fails. –  laura Mar 13 '13 at 10:09
    
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 Mar 13 '13 at 10:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.