[MPlayer-users] xv-fs doesn't take up all the available screen size
Alberto Mardegan
mardy at users.sourceforge.net
Tue Aug 28 07:06:05 CEST 2007
ext Phil Oleynik wrote:
> Post xvinfo output here, so we can rule out hardware and xv subsystem as
> source of bug.
Hi Phil, I finally have the logs! Here's xvinfo's output:
=============================================================
X-Video Extension version 2.2
screen #0
Adaptor #0: "Intel(R) Textured Video"
number of ports: 16
port base: 73
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 2
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 0)
maximum XvImage size: 1920 x 1088
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)
Adaptor #1: "Intel(R) Video Overlay"
number of ports: 1
port base: 89
operations supported: PutImage
supported visuals:
depth 24, visualID 0x23
depth 24, visualID 0x24
depth 24, visualID 0x25
depth 24, visualID 0x26
depth 24, visualID 0x27
depth 24, visualID 0x28
depth 24, visualID 0x29
depth 24, visualID 0x2a
number of attributes: 12
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 66046)
"XV_BRIGHTNESS" (range -128 to 127)
client settable attribute
client gettable attribute (current value is 0)
"XV_CONTRAST" (range 0 to 255)
client settable attribute
client gettable attribute (current value is 64)
"XV_SATURATION" (range 0 to 1023)
client settable attribute
client gettable attribute (current value is 128)
"XV_DOUBLE_BUFFER" (range 0 to 1)
client settable attribute
client gettable attribute (current value is 1)
"XV_PIPE" (range -1 to 1)
client settable attribute
client gettable attribute (current value is -1)
"XV_GAMMA0" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 526344)
"XV_GAMMA1" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 1052688)
"XV_GAMMA2" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 2105376)
"XV_GAMMA3" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 4210752)
"XV_GAMMA4" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 8421504)
"XV_GAMMA5" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is 12632256)
maximum XvImage size: 1920 x 1088
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)
=============================================================
And here's mplayer's output, when playing a movie:
=============================================================
MPlayer 1.0rc1-4.1.3-DFSG-free (C) 2000-2006 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz (Family: 6, Model:
15, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/mardy/.mplayer/codecs.conf'
Reading /home/mardy/.mplayer/codecs.conf: Can't open
'/home/mardy/.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.
CommandLine: '-v' '/lacie/aMule/Incoming/Spring, summer, fall, winter...
and spring - XviD.AC3-RF - CD1.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/mardy/.mplayer/input.conf'
Can't open input config file /home/mardy/.mplayer/input.conf: No such
file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support. You will not be able to use your remote
control.
get_path('Spring, summer, fall, winter... and spring - XviD.AC3-RF -
CD1.avi.conf') -> '/home/mardy/.mplayer/Spring, summer, fall, winter...
and spring - XviD.AC3-RF - CD1.avi.conf'
Playing /lacie/aMule/Incoming/Spring, summer, fall, winter... and spring
- XviD.AC3-RF - CD1.avi.
vobsub: ignoring scale: 78%, 80%
vobsub: ignoring alpha: 100%
vobsub: ignoring smooth: OFF
vobsub: ignoring fadein/out: 50, 50
vobsub: ignoring align: ON at LEFT TOP
vobsub: ignoring time offset: 0
[vobsub] subtitle (vobsubid): 0 language ko
[vobsub] subtitle (vobsubid): 1 language en
No matching VOBSUB language found!
[file] File size is 733900800 bytes
STREAM: [file] /lacie/aMule/Incoming/Spring, summer, fall, winter... and
spring - XviD.AC3-RF - CD1.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x22CA
======= AVI Header =======
us/frame: 41708 (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames total: 74622 initial: 0
streams: 2
Suggested BufferSize: 0
Size: 640 x 352
==========================
list_end=0x1138
==> Found video stream: 0
====== STREAM Header =====
Type: vids FCC: xvid (64697678)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0 Len: 74622
Suggested BufferSize: 63894
Quality 10000
Sample size: 0
==========================
Found 'bih', 108 bytes of 40
======= VIDEO Format ======
biSize 40
biWidth 640
biHeight 352
biPlanes 1
biBitCount 12
biCompression 1145656920='XVID'
biSizeImage 1351680
===========================
Regenerating keyframe table for MPEG-4 video.
list_end=0x21BE
==> Found audio stream: 1
====== STREAM Header =====
Type: auds FCC: (0)
Flags: 0
Priority: 0 Language: 0
InitialFrames: 1
Rate: 48000/1 = 48000.000
Start: 0 Len: 149392050
Suggested BufferSize: 24000
Quality -1
Sample size: 1
==========================
Found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 5
Samplerate: 48000
avg byte/sec: 48000
Block align: 1
bits/sample: 0
cbSize: 18
Unknown extra header dump: [0] [0] [0] [0] [0] [0] [0] [0] [0] [0] [0]
[d8] [8] [0] [0] [0] [0] [0]
==========================================================================
list_end=0x22CA
AVI: dmlh found (size=248) (total_frames=74622)
list_end=0x2322
hdr=Software size=15
Software : Nandub v1.0rc2
hdr=Name size=1
Name :
hdr=Subject size=1
Subject :
hdr=Artist size=4
Artist : R.F
hdr=Copyright size=1
Copyright :
hdr=Comments size=1
Comments :
list_end=0x2B9A0040
Found movie at 0x280C - 0x2B9A0040
Reading INDEX block, 149234 chunks for 74622 frames (fpos=731512904).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x5DCC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=580878163 (74622) audio size=149392050 (149392050)
VIDEO: [XVID] 640x352 12bpp 23.976 fps 1493.1 kbps (182.3 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:640x352 fps:23.98 ftime:=0.0417
Clip info:
Software: Nandub v1.0rc2
Name:
Subject:
Artist: R.F
Copyright:
Comments:
get_path('sub/') -> '/home/mardy/.mplayer/sub/'
[file] File size is 4885 bytes
STREAM: [file] /lacie/aMule/Incoming/Spring, summer, fall, winter... and
spring - XviD.AC3-RF - CD1.srt
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Detected subtitle file format: subviewer
SUB: Read 77 subtitles.
SUB: Added subtitle file (1): /lacie/aMule/Incoming/Spring, summer,
fall, winter... and spring - XviD.AC3-RF - CD1.srt
[file] File size is 583680 bytes
STREAM: [file] /lacie/aMule/Incoming/Spring, summer, fall, winter... and
spring - XviD.AC3-RF - CD1.sub
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Could not determine file format
Cannot load subtitles: /lacie/aMule/Incoming/Spring, summer, fall,
winter... and spring - XviD.AC3-RF - CD1.sub
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: No such file or directory.
[VO_3DFX] Unable to open /dev/3dfx.
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1360x768 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 1920x1088
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer.
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer.
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 384.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0xA
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
alsa-init: requested format: 48000 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.14a
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
[ffmpeg] aspect_ratio: 1.818182
VDec: vo config request - 640 x 352 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.82:1 - prescaling to correct movie aspect.
VO Config (640x352->640x352,flags=0,'MPlayer',0x32315659)
VO: [xv] 640x352 => 640x352 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 73 for hw scaling
[xv] dx: 0 dy: 0 dw: 800 dh: 352
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar,
337920 bytes
Unicode font: 4375 glyphs.
[xv] dx: 0 dy: 0 dw: 800 dh: 352
A: 0.0 V: 0.0 A-V: 0.023 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 [J
XXX initial v_pts=0.000 a_pos=24000 (0.500)
*** [vo] Allocating (slices) mp_image_t, 640x352x12bpp YUV planar,
337920 bytes
[xv] dx: 0 dy: 0 dw: 1360 dh: 768
[xv-fs] dx: 0 dy: 102 dw: 1280 dh: 564
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: ffmpeg
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...
Exiting... (Quit)
=============================================================
These two lines (which appear when I set the video to fullscreen):
[xv] dx: 0 dy: 0 dw: 1360 dh: 768
[xv-fs] dx: 0 dy: 102 dw: 1280 dh: 564
make me think that mplayer correctly assumes that XV's resolution is
1360x768, but for some reason it decides not to use it.
Any hints?
Ciao,
Alberto
--
http://www.mardy.it <-- Geek in un lingua international!
More information about the MPlayer-users
mailing list