recording from a webcam, cheese, vlc

Guohua Tang tgh728 at gmail.com
Sat Mar 26 15:14:55 UTC 2011


Hi,

Maybe you can try FFmmpeg, see
here<http://ubuntuforums.org/showthread.php?t=1392026>
.

2011/3/26 Ian Malone <ibmalone at gmail.com>

> Hi,
>
> I'm trying to record from a webcam and getting terrible performance
> from Cheese and problematic performance from VLC. Is anyone able to
> either tell me how to get one of them working properly or suggest
> another app that will work? Details (hardware at bottom)
>
> Cheese cheese-2.30.1-1.fc13.x86_64, nice, simple to use. Recording
> performance is awful. The booth framerate is fine, but as soon as I
> start recording it drops dramatically (going from frames per second to
> seconds per frame). VLC's ability to encode to the same target -
> Theora/Vorbis (but see below) and the fact I can do this under windows
> with the movie maker suggest a Cheese problem. Resolution is at
> 640x480 (which is what VLC and move maker are using), dropping to
> 355x288 is okay. This cheese bug seems to be related
> https://bugzilla.gnome.org/show_bug.cgi?id=564957 but not resolved.
> Anyone using F14 with good performance for cheese video recording?
>
> VLC vlc-1.1.7-1.fc13.x86_64. Less friendly, for a start I haven't been
> able to get it to capture by specifying devices in the capture dialog.
> If I just open capture and hit play I get video and sound. I can use
> /dev/video0 as the video input and after a bit of trial and error
> (using debug mode I realise it was using alsa device names) pulse for
> the audio device, but if I attempt to use the capture device advance
> options (with or without specifying /dev/video0):
> Your input can't be opened:
> VLC is unable to open the MRL 'v4l2://'. Check the log for details.
>
> ~/.xsession-errors has this:
> [0x7f2dfc0044e0] v4l2 demux error: invalid tuner -1.
> [0x7f2dfc008240] v4l2 access error: invalid tuner -1.
> [0x7f2e08008590] main input error: open of `v4l2://' failed: (null)
>
> (Or tuner 0 which is what it defaults to, tried -1 as this appears to
> be auto for other params)
>
> But capturing to theora/vorbis results in video and audio playing at
> different speeds, the default (which seems to be the ALSA hw device)
> has video faster than audio, capturing to the default (mp4) or webm is
> okay, using pulse and /dev/video0 webm video is slower than audio...
> and so on. This most successful approach so far is to open the device
> in play mode, use the 'advanced controls' record button and capture
> uncompressed a/v to avi the transcode later. This would be sort of
> endurable, but it would be nice to record transcoded and be able to
> adjust the recorded size (camera can go up to 1280x720). I'd also like
> to be able record both soundcard and webcam audio and video, but it
> looks like that will never happen with Cheese and may be difficult
> with VLC, so I may have to accept recording one separately and syncing
> up later.
>
> AMD Athlon X2 5000+ cpu, 2GB RAM
>
> Logitech C270HD cam:
> uvcvideo: Found UVC 1.00 device <unnamed> (046d:0825)
> input: UVC Camera (046d:0825) as
> /devices/pci0000:00/0000:00:0b.1/usb1/1-6/1-6:1.0/input/input5
> usbcore: registered new interface driver uvcvideo
>
> Thanks for your time,
> --
> imalone
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>



-- 
Guohua Tang
Research Center for Information Retrieval, Harbin Institute of Technology
ir.hit.edu.cn/~tangguohua --- icycandy.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110326/37dd86dc/attachment.html 


More information about the users mailing list