Does luvcview report the cam as /dev/video0 or /dev/video1, etc.?
Good luck. ;-) |
When I run luvcview I get
luvcview version 0.2.1 Video driver: x11 A window manager is available video /dev/video0 |
That looks like an ffmpeg problem. Did you install a stable version of ffmpeg or a snapshot? If it's the later, try a stable version, if it's the former, try an updated version.
Good luck. ;-) |
I checked the ffmpeg website. They essentially don't produce "stable" versions. Maybe it was that spca driver I installed earlier or maybe ffmpeg doesn't like 64 bit OSes. Anyway, can you recommend something besides ffmpeg for recording video and audio. Thanks.
Ed |
You cold try mencoder, there is a package called videoview, I haven't used it and do not know much about it.
Good luck. ;-) |
I redid the OS. I put on the 32 bit version of Fedora 9. I installed the video driver and mplayer. The latter includes mencoder. How do I use mencoder to record video and audio? When I type
mencoder -oac help I get mencoder -oac help MEncoder dev-SVN-r27667-4.3.0 (C) 2000-2008 MPlayer Team CPU: AMD Athlon(tm) 64 Processor 3400+ (Family: 15, Model: 15, Stepping: 0) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 Available codecs: copy - frame copy, without re-encoding (useful for AC3) pcm - uncompressed PCM audio lavc - FFmpeg audio encoder (MP2, AC3, ...) The availabe codecs from the "-ovc help" are Available codecs: copy - frame copy, without re-encoding. Doesn't work with filters. frameno - special audio-only file for 3-pass encoding, see DOCS. raw - uncompressed video. Use fourcc option to set format explicitly. lavc - libavcodec codecs - best quality! vfw - VfW DLLs, read DOCS/HTML/en/encoding-guide.html. qtvideo - QuickTime DLLs, currently only SVQ1/3 are supported. |
|
Thanks. What values for the width and height are supported? Do you know? I have been trying 320x640. I tried the command as
mencoder tv:// -tv driver=v4l:width=640:height=320:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o test.avi and got a message saying "lameopts is not an MEncoder option. I then try mencoder tv:// -tv driver=v4l:width=640:height=320:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac mp3lame -o test.avi and got a message saying "MPlayer was compiled without libmp3lame support." From my previous post you can see that "lavc" is available for both audio and video. Therefore, I tried mencoder tv:// -tv driver=v4l:width=640:height=320:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac lavc -o test.avi and got a message saying "WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!." I then try setting the driver as "v4l2" instead of "v4l" as shown below. mencoder tv:// -tv driver=v4l2:width=640:height=320:device=/dev/video0:forceaudio:adevice=/dev/dsp -ovc lavc -oac lavc -o test.avi This appears to work, because it starts throwing a lot of text to the screen and doesn't stop. The light on the camera also comes on. However, there is no picture shown to me. If I interrupt it and try to open the file, I get a message about proprietary and free formats. Is there a format I can use that is already installed on my computer? Should I see the picture as it is being recorded like with luvcview? Thanks for your help. Ed |
I don't *think* you'll be able to see what is recorded. There is a good Mencoder guide here. That should help with your options/formats. Hope that helps. You're welcome. ;-)
Good luck. ;-) Did you try VideoView? Good luck. ;-) |
I couldn't get videoview to work. Also, note that mplayer doesn't work with the camera (http://www.quickcamteam.net/software...tible-software).
I installed "cheese." This will record video fine just like luvcview but doesn't appear to record audio. I plan to start a new thread in the software section. Thanks for your help. |
You're welcome, I'm not familiar with cheese but, does it have a section/preference to select/configure audio options? If so, that should be set to your usb audio device (camera mic).
Other than that, sorry I couldn't be more help. You may want to pursue or chase down the problem with ffmpeg as it's very useful for more than just the camera. Good luck. ;-) |
All times are GMT -5. The time now is 12:50 AM. |