1

[other] Streaming webcam audio and video using ffmpeg/avconv

view story
linux-howto

http://ubuntuforums.org – I'm trying to stream the video and audio a USB webcam using avconv (or ffmpeg) using just port 8080 over a network. I can successfully stream audio using the following command: Code: avconv -f oss -ar 8000 -ac 1 -i /dev/dsp1 -acodec mp2 -f rtp rtp://172.17.2.2:9090 and VLC will read it just fine, with maybe a 1 second delay. I can successfully stream video using: Code: avconv -f video4linux2 -i /dev/video0 -vcodec mpeg2video -r 25 -pix_fmt yuv420p -me_method epzs -b 2600k -bt 256k -f rtp rtp://172.17.2.2:8080 which will also work just fine in VLC, but with a slightly grea (Hardware)