[PlanetCCRMA] Capture Analog Video

Ingo Lantschner (Lists) ingo.lists@vum.at
Fri Oct 29 12:01:40 2004


Ingo Lantschner (Lists) wrote:

> ... using this commandline:
> $ mencoder -tv 
> driver=v4l:input=0:width=384:height=288:fps=25:adevice=/dev/dsp:audiorate=44100:forceaudio:forcechan=2 
> -oac mp3lame -lameopts cbr:preset=192 -ovc xvid -xvidencopts 
> bitrate=1600 tv:// ouputfile.avi
> I get this output and the command exits to the promp:
> [...]
> ioctl set picture failed: Invalid argument
> Segmentation fault
> ---

May be this is because of using V4L2 drivers?! I found something in the 
output. Question to ClaudiusMaximus: Which OS, version and V4L-version 
did you use with your commandline?

Just for completeness, here is my output to the above command:
MEncoder 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner 548.1 MHz (Family: 
6, Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.
Reading /home/ingo/.mplayer/codecs.conf: Can't open 
'/home/ingo/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': 
No such file or directory
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/ingo/.mplayer/mencoder: No such file or directory
font: can't open file: /home/ingo/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 9  data: 0x0 - 0x0
TV detected! ;-)
Selected driver: v4l
 name: Video 4 Linux input
 author: Alex Beregszaszi
 comment: under development
=================================================================
 WARNING: YOU ARE USING V4L DEMUXER WITH V4L2 DRIVERS!!!
 As the V4L1 compatibility layer is broken, this may not work.
 If you encounter any problems, use driver=v4l2 instead.
 Bugreports on driver=v4l with v4l2 drivers will be ignored.
=================================================================
Selected device: DC30plus[0]
 Capabilites: capture overlay clipping frameram scales mjpeg-decoder 
mjpeg-encoder
 Device type: 12521
 Supported sizes: 32x24 => 768x576
 Inputs: 3
  0: Composite:  (tuner:0, norm:pal)
  1: S-Video:  (tuner:0, norm:pal)
  2: Internal/comp:  (tuner:0, norm:pal)
audio block size too low, setting to 16384!
Using input 'Composite'
Selected input hasn't got a tuner!
ioctl set picture failed: Invalid argument
Segmentation fault
-----------------------------------------------------------------------------------------------------------------