Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120734 - media-video/mplayer and bad encoding of stdout/err
Summary: media-video/mplayer and bad encoding of stdout/err
Status: RESOLVED DUPLICATE of bug 92017
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-28 08:28 UTC by David Watzke
Modified: 2006-02-05 06:20 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 David Watzke 2006-01-28 08:28:00 UTC
Hi. There's a problem w/ MPlayer and its output, yo know, I've got (Czech) localised messages and get output in iso-8859-2 insted of utf8 (as my system encoding). That's some ugly boog in MPlayer and I dunno what to do.

mplayer --help # horrible :D yo know, some squares etc.
mplayer --help | enca -x utf8 # output is fine - in utf8

Dunno how to report bug to MPlayer devels...

$ emerge info
Portage 2.1_pre4 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -mtune=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -fomit-frame-pointer -pipe -mmmx -msse3 -m3dnow -mtune=athlon64"
DISTDIR="/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo http://mirror.gentoo.sk/pub http://distfiles.gentoo.org/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/portage"
PORTDIR_OVERLAY="/overlay"
SYNC="rsync://mirror.gentoo.sk/gentoo-portage"
USE="amd64 X aalib acpi adns alsa apache2 apm audiofile avi bash-completion bitmap-fonts bzip2 caps cdparanoia cdr css cups curl curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss encode fbcon ffmpeg flac flash foomaticdb fortran ftp gdbm gif gpm gstreamer gtk gtk2 hal i8x0 icq id3 id3v2 imagemagick imlib innodb ipv6 jabber javascript jpeg kde kdeenablefinal lame lcms lzw lzw-tiff mad matroska mbox mikmod mime mp3 mpeg mplayer mysql mysqli ncurses nls nowebdav nptl nptlonly nvidia ogg oggvorbis openal opengl osc oscar pcntl pcre pdflib perl php pic png posix ppds python qt quicktime readline sdl session sftplogging skey slp sockets speex sqlite ssl subversion svg symlink theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis wmf xine xml xml2 xpm xv xvid zlib elibc_glibc kernel_linux linguas_cs userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS

and MPlayer:

[ebuild   R   ] media-video/mplayer-1.0.20060102  USE="X aalib alsa cdparanoia custom-cflags dga directfb dts dvd dvdread encode fbcon gif gtk i8x0 ipv6 jpeg mad matroska nls nvidia opengl png sdl theora truetype vorbis xv xvid -aac -arts -bidi -bindist -bl -cpudetection -debug -doc -dv -dvb -edl -esd -ggi -jack -joystick -libcaca -lirc -live -livecd -lzo -matrox -nas -oss -real -rtc -samba -tga -v4l -v4l2 -xanim -xinerama -xmms -xvmc" 0 kB

all versions, with various settings...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-28 10:05:47 UTC
Ask upstream to fix it...

*** This bug has been marked as a duplicate of 92017 ***
Comment 2 David Watzke 2006-01-28 10:48:17 UTC
Yeah, but ask WHO?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-28 10:52:24 UTC
(In reply to comment #2)
> Yeah, but ask WHO?

http://www.mplayerhq.hu/DOCS/HTML/en/bugreports.html 

Comment 4 Reimar Döffinger 2006-02-05 06:02:49 UTC
There is nothing to "fix" upstream - at most it's a missing feature. And before sending people to us, why not apply the patch in bug #92017 - or at least comment on it?
Of course if you have a different solution for this problem that works without using setlocale, at least I would be happy to hear it.
Comment 5 David Watzke 2006-02-05 06:20:07 UTC
(In reply to comment #4)
> There is nothing to "fix" upstream - at most it's a missing feature.
> And before sending people to us, why not apply the patch in bug #92017
> - or at least comment on it?

LOL, but I have done that patch, and this bugreport was mistake - I overlooked reported bug. I think it would be nice, if you add that -r1 (from bug #92017) to Portage tree. Is not best solution, but better then nothing, huh?