[MPlayer-users] XV display too wide
Preston A. Elder
prez at goth.net
Fri Jan 28 07:58:14 CET 2005
Hi,
I have a Matrox Parhelia, which now supports XV properly. I am running
a triple screen setup in merged mode (so according to X, I have a
3840x1024 screen).
When I try to play a movie using XV as my output method, the display is
3 times wider than it should be - the height, however, is correct.
The output of my xvinfo is:
------ BEGIN
X-Video Extension version 2.2
screen #0
Adaptor #0: "video4linux"
number of ports: 1
port base: 56
operations supported: PutVideo
supported visuals:
depth 24, visualID 0x22
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
number of attributes: 8
"XV_ENCODING" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 1)
"XV_BRIGHTNESS" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_SATURATION" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 0)
"XV_VOLUME" (range -1000 to 1000)
client settable attribute
client gettable attribute (current value is 799)
"XV_MUTE" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 0)
"XV_FREQ" (range 0 to 16000)
client settable attribute
client gettable attribute (current value is 5492)
number of encodings: 28
encoding ID #0: "PAL-television"
size: 768 x 576
rate: 0.020000
encoding ID #1: "NTSC-television"
size: 640 x 480
rate: 0.016683
encoding ID #2: "SECAM-television"
size: 768 x 576
rate: 0.020000
encoding ID #3: "PAL-Nc-television"
size: 640 x 576
rate: 0.020000
encoding ID #4: "PAL-M-television"
size: 640 x 576
rate: 0.020000
encoding ID #5: "PAL-N-television"
size: 768 x 576
rate: 0.020000
encoding ID #6: "NTSC-JP-television"
size: 640 x 480
rate: 0.016683
encoding ID #7: "PAL-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #8: "NTSC-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #9: "SECAM-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #10: "PAL-Nc-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #11: "PAL-M-composite1"
size: 640 x 576
rate: 0.020000
encoding ID #12: "PAL-N-composite1"
size: 768 x 576
rate: 0.020000
encoding ID #13: "NTSC-JP-composite1"
size: 640 x 480
rate: 0.016683
encoding ID #14: "PAL-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #15: "NTSC-svideo"
size: 640 x 480
rate: 0.016683
encoding ID #16: "SECAM-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #17: "PAL-Nc-svideo"
size: 640 x 576
rate: 0.020000
encoding ID #18: "PAL-M-svideo"
size: 640 x 576
rate: 0.020000
encoding ID #19: "PAL-N-svideo"
size: 768 x 576
rate: 0.020000
encoding ID #20: "NTSC-JP-svideo"
size: 640 x 480
rate: 0.016683
encoding ID #21: "PAL-composite3"
size: 768 x 576
rate: 0.020000
encoding ID #22: "NTSC-composite3"
size: 640 x 480
rate: 0.016683
encoding ID #23: "SECAM-composite3"
size: 768 x 576
rate: 0.020000
encoding ID #24: "PAL-Nc-composite3"
size: 640 x 576
rate: 0.020000
encoding ID #25: "PAL-M-composite3"
size: 640 x 576
rate: 0.020000
encoding ID #26: "PAL-N-composite3"
size: 768 x 576
rate: 0.020000
encoding ID #27: "NTSC-JP-composite3"
size: 640 x 480
rate: 0.016683
Adaptor #1: "Matrox Parhelia"
number of ports: 5
port base: 57
operations supported: PutImage
supported visuals:
depth 24, visualID 0x22
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
number of attributes: 4
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_HUE" (range -128 to 127)
client settable attribute
client gettable attribute (current value is -128)
"XV_SATURATION" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 2048 x 2048
Number of image formats: 4
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
------ END
And some sample output of what mplayer shows me on console is:
------ BEGIN
MPlayer 1.0pre6-3.4.3 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6,
Stepping: 2)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX 3DNow SSE
77 audio & 188 video codecs
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 10140074.mov.
Cache fill: 0.00% (0 bytes) QuickTime/MOV file format detected.
--------------
MOV track #0: 223 chunks, 1334 samples
MOV: Found unsupported Gamma-Correction movie atom (12)!
MOV: Found unknown movie atom SMI (21)!
Image size: 640 x 344 (32 bpp)
Display size: 640 x 344
Fourcc: SVQ3 Codec: 'Sorenson Video 3'
--------------
MOV track #1: 112 chunks, 0 samples
Audio bits: 16 chans: 2 rate: 44100
Audio extra header: len=76 fcc=0x77617665
MOV: Found unknown audio atom >Fourcc: ms
--------------
MOV: longest streams: A: #1 (112 samples) V: #0 (1334 samples)
VIDEO: [SVQ3] 640x344 32bpp 24.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 3840x1024 with depth 24 and 32 bpp (":0.0" => local
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffsvq3] vfm:ffmpeg (FFmpeg Sorenson Video v3
(SVQ3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit ->
44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 344 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x344 => 640x344 Planar YV12
------ END
As you can see, it detects my screen size and the movie dimensions just
fine, so why it displays three times bigger than it needs to, I have NO
idea.
Using xv with xawtv gives me no problems, it displays my TV stuff using
XV with the correct dimensions.
Any help would be appreciated,
PreZ :)
More information about the MPlayer-users
mailing list