Hi everyone. I wrote a script to live stream my Dazzle to a website. However, I get an error and it does not appear to be a syntax issue. If anyone has experience with FFMPEG you'd be a great help to me if you could help me solve this dillema. I've included the pastebin of my script w/ error output. dmesg | grep video does reveal that my card is on /dev/video1 before we go that route. Thanks in advance.
http://pastebin.com/qzw8mw5k
ffmpeg -f alsa -ac 2 -ab 96K -i hw:0 -f video4linux2 -i /dev/video1 -acodec libmp3lame \
-ar 44100 -vcodec libx264 -preset "$QUAL" s- "$OUTRES" -level 30 -b:v 600K -minrate 600K \
-maxrate 650K -vf yadif -bufsize 1835K -f mpegts -f flv "$URL"
_____________
ffmpeg version N-35681-g16abd68, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 11 2011 22:09:57 with gcc 4.6.2 20111125 (prerelease)
configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-libgsm --enable-libspeex --enable-postproc --enable-shared --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-libpulse --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-debug --disable-static
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
[alsa @ 0x1c439e0] Estimating duration from bitrate, this may be inaccurate
Input #0, alsa, from 'hw:0':
Duration: N/A, start: 1323926505.208766, bitrate: N/A
Stream #0:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[video4linux2,v4l2 @ 0x1c44720] Estimating duration from bitrate, this may be inaccurate
Input #1, video4linux2,v4l2, from '/dev/video1':
Duration: N/A, start: 1323926505.982341, bitrate: 147308 kb/s
Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147308 kb/s, 29.97 tbr, 1000k tbn, 29.97 tbc
[NULL @ 0x1c451a0] Unable to find a suitable output format for ' '
: Invalid argument
bash: -ar: command not found
bash: -vf: command not found