Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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. ;-)
Last edited by Peacedog; 09-23-2008 at 08:43 PM.
Reason: Clarity
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.
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.
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
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.
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.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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. ;-)
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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. ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.