zachytenie videa z webcamery
potreboval by som nahravat obraz z webcamery do nejakeho .avi suboru alebo niecoho podobneho, pricom camera je na /dev/video0 a funguje bez problemov. poznate na to soft alebo je na to nejaky trik? dik
Pre pridávanie komentárov sa musíte prihlásiť.
nardew@nardewNB ~ $ mencoder tv:// -tv forceaudio:alsa:driver=v4l2:device=/dev/video0:outfmt=i420:width=720:height=576:fps=25 -oac lavc -ovc lavc -lavcopts acodec=ac3:vcodec=mpeg4:vbitrate=2000:v4mv:vhq=4 -of avi -o test.avi
MEncoder dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2007 MPlayer Team
CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-52 (Family: 15, Model: 72, Stepping: 2)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Skompilované pre x86 CPU s roz¹íreniami: MMX MMX2 3DNow 3DNowEx SSE SSE2
úspech: formát: 9 dáta: 0x0 - 0x0
Detekovaný TV formát súboru!
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Syntek USB Video Camera
Capabilites: video capture read/write streaming
supported norms: 0 = webcam;
inputs: 0 = USB;v4l2: ioctl get input failed: Invalid argument
Current input: 1
Current format: BGR24
v4l2: ioctl set format failed: Invalid argument
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
Selected input hasn't got a tuner!
Floating point exception