[MPlayer-users] Sliced Image when grabbing from v4l2

Reto E. Koenig Reto.koenig at bfh.ch
Fri Aug 5 22:48:51 CEST 2005

Sliced image while capturing with mplayer

Capturing with my Video-Capture-Device, a USB2-Stick from Q-Sonics (probably 
Terratec Cinergy 200 USB) I get a really nice picture when using something 
like xawtv. But using mplayer (mplayer tv:// -tv driver=v4l2 -vo xv) I get a 
strange sliced picture: The upper half is fine. But the lower half is sliced 
in 3 blocks. A nasty green one at the base of the screen and then two blocks, 
which contain the rest of the picture but in reversed order. So the 
upper-image block is just between the lower block and the green block..

So what is going on? Where am I wrong? Please help me so I can finally start 
digitize my old home-videos!!!

Thanks for advice in advance lads! 
Greetings from Switzerland


I am using the following:
mplayer tv:// -tv driver=v4l2:normid=0:decimation=2:width=352:height=288:alsa 
-vo xv
MPlayer 1.0pre7-3.3.5 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 7)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX SSE

Failed to open /dev/rtc: Permission denied (it should be readable by the 
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : Permission denied
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing tv://.
Cache fill:  0.00% (0 bytes)    TV detected! ;-)
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski at zpr.uni-koeln.de>
 comment: first try, more to come ;-)
Selected device: Terratec Cinergy 200 USB
 Tuner cap:
 Tuner rxs:
 Capabilites:  video capture  tuner  read/write  streaming
 supported norms: 0 = PAL; 1 = NTSC; 2 = SECAM;
 inputs: 0 = Composite; 1 = S-Video; 2 = Tuner;
 Current input: 0
 Current format: YUYV
v4l2: current audio mode is : MONO
v4l2: ioctl query control failed: Invalid argument
vo: X11 running at 1920x1200 with depth 24 and 32 bpp (":0.0" => local 
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 352 x 288 (preferred csp: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 352x288 => 352x288 Packed YUY2
Selected video codec: [rawyuy2] vfm:raw (RAW YUY2)
Audio: no sound
Starting playback...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
v4l2: 4038 frames successfully processed, -2019 frames dropped.

Exiting... (Quit)

More information about the MPlayer-users mailing list