Portál AbcLinuxu, 13. března 2026 13:47
Tenhle minifoťáček za babku je u nás stále populárnější. Poradí si s ním nějak linux, byť třeba velmi prasáckým způsobem?
Dalsi, byt trosku zastarale info je na
http://article.gmane.org/gmane.linux.drivers.spca50x.devel/22/match=gsmart
(podle me uz nemusis stahovat z CVS, verze 2 uz je vydana).
$ mencoder tv:// -tv driver=v4l:width=176:height=144:device=/dev/video0 -ovc lavc -o webcam.avi MEncoder 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team CPU: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz (Family: 6, Model: 15, Stepping: 6) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. success: format: 9 data: 0x0 - 0x0 TV file format detected. Selected driver: v4l name: Video 4 Linux input author: Alex Beregszaszi comment: under development Selected device: Mustek gSmart mini 2 Capabilites: capture Device type: 1 Supported sizes: 176x144 => 640x480 Inputs: 1 0: SPCA504: (tuner:0, norm:pal) Using input 'SPCA504' Selected input hasn't got a tuner! [V] filefmt:9 fourcc:0x32315659 size:176x144 fps:25.00 ftime:=0.0400 Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1 ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 176 x 144 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. videocodec: libavcodec (176x144 fourcc=34504d46 [FMP4]) Selected video codec: [rawyv12] vfm: raw (RAW YV12) ========================================================================== Forcing audio preload to 0, max pts correction to 0.Mencoder je nyní bloknutý, do AVI souboru se nic nepíše a dá se ukončit pouze SIGTERMem.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.