Streaming webcam over RTMP - Raspberry Pi Forums


i have raspberry pi , logitech webcam pro 9000 (business edition). using (mjpg-streamer) stream video raspberry pi.

stream video ustream.tv. ustream accepts rtmp streams trying work out how use ffmpeg/avconv produce correctly encoded stream.

found (this blog post) appeared cover use case. however, when run ffmpeg/avconv error don't understand , google isn't shedding light on:

code: select all

raspberrypi ~ $ avconv -f video4linux2 -s 320x240 -r 1 -i /dev/video0 -metadata title="title" -f flv rtmp://ustream.video.url/ avconv version 0.8.5-6:0.8.5-1+rpi1, copyright (c) 2000-2012 libav developers   built on jan 24 2013 08:41:09 gcc 4.6.3 [video4linux2 @ 0xf67840] cannot find proper format codec_id 0, pix_fmt -1. /dev/video0: input/output error
tried using source codec of mjpeg , got following error:

code: select all

raspberrypi ~ $ avconv -an -f mjpeg -s 320x240 -r 1 -i /dev/video0 -metadata title="title" -f flv rtmp://ustream.video.url/ avconv version 0.8.5-6:0.8.5-1+rpi1, copyright (c) 2000-2012 libav developers   built on jan 24 2013 08:41:09 gcc 4.6.3 option video_size not found.
can me either of these errors?

did ever find solution problem? trying investigate streaming youtube, , ustream , finding similar problems


raspberrypi



Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO