Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112440 - mplayer-1.0_pre7-r1 does not fullscreen widescreen videos correctly
Summary: mplayer-1.0_pre7-r1 does not fullscreen widescreen videos correctly
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 11:21 UTC by Peter Budny
Modified: 2009-11-27 23:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Budny 2005-11-13 11:21:57 UTC
When playing any widescreen video, mplayer-1.0_pre7-r1 does not display it
correctly in fullscreen. I am already using -zoom. Using -vo x11, the video
displays at the top of the screen, and the bottom of the screen is left with its
previous contents. Using -vo xv, the video displays in the middle of the screen,
and there is a black bar on the top of the screen, but the bottom 1/4 or so of
the video is missing, and everything below that is left showing its previous
contents. Videos that fit the screen ratio work fine. Using -vf expand=640:480
works around the problem, but this is a hack, and doesn't work for videos
narrower than 640.

I experienced this problem a few months ago when this ebuild became available,
and a downgrade to an older version fixed it. Now this is the only version
available, and the behavior is identical to the problems I had last time.

Reproducible: Always
Steps to Reproduce:
emerge -pv mplayer shows the following:
[ebuild   R   ] media-video/mplayer-1.0_pre7-r1  -3dfx -3dnow -3dnowext +X -aac
-aalib +alsa (-altivec) -arts -bidi -bl -cdparanoia -cpudetection -custom-cflags
-debug -dga -directfb -doc +dts -dv -dvb +dvd +dvdread -edl +encode -esd -fbcon
-ggi +gif +gtk -i8x0 -ipv6 -jack -joystick +jpeg -libcaca +lirc -live -lzo +mad
-matroska -matrox +mmx +mmxext +mythtv -nas +nls +nvidia +opengl +oss +png -real
+rtc +samba +sdl +sse +sse2 -svga -tga +theora +truetype -v4l -v4l2 +vorbis
+win32codecs -xanim -xinerama +xmms +xv +xvid -xvmc 0 kB

These are the same flags I was using before.
Actual Results:  
mplayer -fs does not display widescreen videos correctly. Depending on the -vo
driver used, the video displays at the top of the screen, and the bottom of the
screen is not written to (x11, gl2), or it displays in the middle, part of the
video is cut off, and only the top of the screen gets a black bar (xv), or it
works correctly (gl, sdl)

This problem is reproduced identically on two separate systems; one desktop
running an NVidia card, and one laptop running an ATI card.

Expected Results:  
With the previous version of mplayer (which is no longer in portage), fullscreen
worked correctly for all -vo drivers I have available.

Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo
http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/
http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo
http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/
http://gentoo.cs.lewisu.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 alsa apm audiofile avi berkdb bitmap-fonts bzip2 crypt curl
divx4linux dts dvd dvdread eds emacs emboss encode exif expat ffmpeg flac
font-server foomaticdb fortran gdbm gif gmp gpm gstreamer gtk gtk2 guile icc
imagemagick imlib innodb jpeg kde lcms libg++ libwww lirc mad mhash mikmod mmx
mmxext mng motif mp3 mpeg mysql mythtv ncurses nls nvidia ogg oggvorbis opengl
oss pam pcre pdflib perl png python qt quicktime readline rtc samba sdl spell
sse sse2 ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev
utf8 vorbis win32codecs xml2 xmms xv xvid zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Steve Dibb (RETIRED) gentoo-dev 2006-06-21 17:19:10 UTC
Peter, is this still an issue in the newer versions?
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2006-06-22 08:17:51 UTC
resolving as needinfo
Comment 3 David Raison 2009-11-27 23:34:01 UTC
interestingly enough, I have the exact same problem now, using 1.0_rc2_p20090731, xorg-server-1.6.3.901-r2 and xf86-video-intel-2.8.1