[libav-tools] RTMP Encoding from /dev/video0

chris brisendine ki4gyw at gmail.com
Tue Jul 14 09:54:12 CEST 2015

Can someone help me with the command line args, I need to send video
from /dev/video0 to rtmp://foo.net/live/1234. I have tried "avconv -f
video4linux2 -r 1 -i /dev/video0 -b:a 64k -vcodec libx264 -f flv
"rtmp://foo.net/live/1234" I also have tried using raspivid from the
rpi that streams raw h264 using a pipe "raspivid -w 640 -h 480 -t
1000000 -b 1000000 -fps 1 -g 5 -o - | ffmpeg -i - -vcodec copy -r 1 -g
5 -f flv " but are unable to get it to do anything to work I get this
error also "HandShake: client signature does not match!"

it needs to be in
h.264 format with a bitrate less than 4000k
Here is a screen shot of the settings

Any help would be greatly appreciated.

More information about the libav-tools mailing list