LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2011, 11:31 PM   #1
Beastwick987
LQ Newbie
 
Registered: Dec 2011
Posts: 5

Rep: Reputation: Disabled
Ffmpeg dazzle v4l2 live stream problem


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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ffserver ffmpeg live stream from webcam Micah Linux - Software 2 08-31-2011 08:50 PM
extracting a stream from ffmpeg sumeet inani Linux - Newbie 3 11-18-2010 05:41 AM
live webcam streaming problem with ffmpeg Ameii83 Linux - Software 0 08-06-2009 10:12 PM
v4l / v4l2 setup for ffmpeg rubadub Linux - Hardware 2 12-06-2008 03:37 AM
ffmpeg - Unsupported codec for output stream #0.0 yitzle Linux - Software 4 01-30-2008 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration