[MPlayer-users] Bug: fullscreen mode unusable with virtual X resolution
Alexander Shaduri
ashaduri at gmail.com
Sun Mar 29 22:37:54 CEST 2009
Hello,
On Sun, 29 Mar 2009 20:35:32 +0200
Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> On Sun, Mar 29, 2009 at 09:55:35PM +0400, Alexander Shaduri wrote:
> > I'm attaching a new output (with r29103), just in case.
>
> So this is with -xineramascreen -2 ?
Yes (it's in config).
With any other value I get 1600x1200 picture (with any -fstype argument).
With -2 I get 1024x768 picture (which is good).
> Could you please add -fs to the command line,
> this output seems to be for windowed mode which is a bit pointless.
Opps, sorry about that. :)
Just tried with -fs, the logs differ only in:
no -fs:
VO Config (720x576->768x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 720x576 => 768x576 Planar YV12
with -fs:
VO Config (720x576->768x576,flags=1,'MPlayer',0x32315659)
VO: [xv] 720x576 => 768x576 Planar YV12 [fs]
> Also make sure to test different -fstype values.
Thanks for the hint!
I tried with "-fstype none" and it worked!
All the other fstype arguments produced the same result as before,
only "none" displayed both mplayer window and the picture in
1024x768 (my physical resolution), in the top left corner.
I'm attaching the "-fs -fstype none" output, just in case.
> In theory -screenwidth and -screenheight could be used for that, but that has not yet been implemented...
I'm also thinking about a switch to position the picture on
a virtual screen, to specify e.g. (0, 0) as the coordinates, instead
of (virtual_w - picture_w) / 2, (same for h), which seems to be the
default now (but wasn't before).
Thanks,
Alexander
--------------------------------------------------------------------------
$ mplayer -fs -fstype none -xineramascreen -2 <file>
MPlayer SVN-r29103-4.2.1 (C) 2000-2009 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ (Family: 15, Model: 67, Stepping: 2)
extended cpuid-level: 24
extended cache-info: 67141952
Detected cache-line size is 64 bytes
Testing OS support for SSE... yes.
Tests of OS support for SSE passed.
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSSE3: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 CMOV
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
Reading /root/.mplayer/codecs.conf: Can't open '/root/.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.
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-gui --enable-menu --enable-xvmc --with-xvmclib=XvMCNVIDIA --disable-arts --realcodecsdir=/usr/lib/RealPlayer10/codecs --enable-debug=3 --disable-sighandler
CommandLine: '-v' '-fs' '-fstype' 'none' '-xineramascreen' '-2' 'VTS_01_4.VOB'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/root/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 89 binds
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.
get_path('VTS_01_4.VOB.conf') -> '/root/.mplayer/VTS_01_4.VOB.conf'
Playing VTS_01_4.VOB.
get_path('sub/') -> '/root/.mplayer/sub/'
[file] File size is 939991040 bytes
STREAM: [file] VTS_01_4.VOB
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG-PS format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename VTS_01_4.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (13)!
==> Found video stream: 0
==> Found audio stream: 128
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 8000.0 kbps (1000.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 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 doesn't honour any X atoms
[VO_XV] Using Xv Adapter #1 (NV17 Video Texture)
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
INFO: libavcodec init OK!
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
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: 2.0 (stereo) 48000 Hz 224.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 224.0 kbit/14.58% (ratio: 28000->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
Trying every known audio driver...
ao2: 48000 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags: 8/8 (8192 bytes/frag) free: 65536
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
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...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (720x576->768x576,flags=1,'MPlayer',0x32315659)
VO: [xv] 720x576 => 768x576 Planar YV12 [fs]
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: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 225 for hw scaling
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
A:2705.9 V: 0.0 A-V:2705.898 ct: 0.000 1/ 1 ??% ??% ??,?% 0 0 [J
A:2705.9 V: 0.1 A-V:2705.852 ct: 0.004 2/ 2 ??% ??% ??,?% 0 0 [J
A:2705.9 V: 0.1 A-V:2705.812 ct: 0.008 3/ 3 ??% ??% ??,?% 0 0 [J
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
Unicode font: 1185 glyphs.
Unicode font: 1185 glyphs.
A:2706.0 V:2706.1 A-V: -0.097 ct: 0.004 4/ 4 ??% ??% ??,?% 0 0 [J
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
A:2706.0 V:2706.1 A-V: -0.126 ct: 0.000 5/ 5 ??% ??% ??,?% 0 0 [J
A:2706.1 V:2706.2 A-V: -0.128 ct: -0.004 6/ 6 ??% ??% ??,?% 0 0 [J
A:2706.1 V:2706.2 A-V: -0.100 ct: -0.008 7/ 7 ??% ??% ??,?% 0 0 [J
A:2706.2 V:2706.3 A-V: -0.104 ct: -0.012 8/ 8 ??% ??% ??,?% 0 0 [J
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: liba52
Uninit video: ffmpeg
vo: uninit ...
Exiting... (Quit)
More information about the MPlayer-users
mailing list