Portál AbcLinuxu, 12. května 2025 10:18
[ivok@zero tv]$ grep tv ~/.mplayer/config tv=driver=v4l2:width=320:height=240:chanlist=europe-east:channels=R6-CT1,R8-CT2, R10-Nova,R12-Prima,60-Eurosport:norm=PAL [ivok@zero tv]$ mplayer tv://CT1 MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) Processor (Family: 6, Model: 8, Stepping: 1) CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled with runtime CPU detection. 93 audio & 211 video codecs Opening joystick device /dev/input/js0 Can't open joystick device /dev/input/js0: No such file or directory Can't init input joystick Setting up LIRC support... Playing tv://CT1. Selected driver: v4l2 name: Video 4 Linux 2 input author: Martin Olschewski <olschewski@zpr.uni-koeln.de> comment: first try, more to comeV čem může být chyba?Selected device: BT878 video (Leadtek WinFast 20 Tuner cap: Tuner rxs: LANG1 LANG2 Capabilites: video capture video overlay VBI capture device tuner read/write streaming supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM; 3 = PAL-Nc; 4 = PAL-M; 5 = PAL-N; 6 = NTSC-JP; 7 = PAL-60; inputs: 0 = Television; 1 = Composite1; 2 = S-Video; 3 = Composite3; Current input: 0 Current format: BGR24 v4l2: current audio mode is : LANG1 TV channel names detected. Selected channel: R6 - CT1 (freq: 175.250) ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. VO: [xv] 320x240 => 320x240 Planar YV12 [zoom] Selected video codec: [rawyv12] vfm: raw (RAW YV12) ========================================================================== Audio: no sound Starting playback... [ivok@zero tv]$ mencoder -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 \ -lavcopts vcodec=mjpeg:mbd=2 -vf denoise3d -o test.avi tv://CT1 MEncoder 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team CPU: AMD Athlon(tm) Processor (Family: 6, Model: 8, Stepping: 1) CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compiled with runtime CPU detection. 93 audio & 211 video codecs success: format: 9 data: 0x0 - 0x0 Selected driver: dummy name: NULL-TV author: alex Selected input hasn't got a tuner! [V] filefmt:9 fourcc:0x32315659 size:320x200 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 filter: [denoise3d] ========================================================================== Opening video decoder: [raw] RAW Uncompressed Video VDec: vo config request - 320 x 200 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is undefined - no prescaling applied. videocodec: libavcodec (320x200 fourcc=47504a4d [MJPG]) [VE_LAVC] High quality encoding selected (non-realtime)! Selected video codec: [rawyv12] vfm: raw (RAW YV12) ========================================================================== Forcing audio preload to 0, max pts correction to 0. Skipping frame! Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] Skipping frame! Pos: 0.0s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] Skipping frame! ... a takhle to pokračuje dál
Selected driver: dummy
to nenačítalo/nepoužilo nastavenia zo súboru config. Vyskúšal by som dať tie parametre pre tv priamo na príkazový riadok a možno aj vyskúšal dať tú konfiguráciu do súboru "mencoder.conf" alebo "mencoder" (aj keď by nastavenia mali byť v súbore config).
mencoder
nastavení z "config" nebo z "mencoder" (což je u mě symlink na "config"), ale teď to musí být "mencoder.conf" ... Díky moc, vyřešeno.
tv=driver=v4l2
je spatne, ma to byt -tv driver=v4l2
, a dej to normalne jako parametr mencoderu
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.