[MPlayer-users] Turning GNOME MPlayer into a normal one
Vladimir Mosgalin
mosgalin at VM10124.spb.edu
Fri Feb 22 14:12:10 CET 2013
Hi Carl Eugen Hoyos!
On 2013.02.22 at 11:01:41 +0000, Carl Eugen Hoyos wrote next:
> > Err the thing is, I don't really care about gnome-mplayer.
> > I'm fine with not installing it at all. The problem is
> > that I can't understand why normal "mplayer" gets
> > "GNOME MPlayer" name no matter what
>
> This is hard to understand (I don't get this "name"),
> please elaborate / add complete, uncut console output.
I mentioned it in original name - in gnome-shell, you can see
application name in top bar; I don't really know how explain, here is
some random screenshot:
http://intgat.tigress.co.uk/rmy/extensions/Screenshot.png
As you can see, terminal has custom title, but is called "Terminal" with
proper icon in the top bar.
Well, whenever my custom-compiled mplayer is running, it displays
"GNOME MPlayer" there with gnome-mplayer icon.
The way gnome-shell sets this name is explained here:
http://stackoverflow.com/questions/9324163/how-to-set-application-title-in-gnome-shell
I looked a bit in mplayer code and failed to understand why it becomes
"gnome" one, though, it never sets such name anywhere.
I understand this this is a very silly issue, but it's been bothering me
for a while and I decided to ask. Maybe someone is aware of some easy
way of changing it. Anyhow if you don't know, don't bother - it's not
really worth investing time in it.
> > As for mplayer2, I do need it because it plays more
> > files than normal mplayer
>
> Please point me to the relevant bug report, this
> sounds interesting.
I'm not sure about bug report - I'll check this in the future, I just
workaround this bug by using mplayer2.
Basically, as of late some fansubber groups encode anime such way so
it's unplayable by mplayer. It outputs something like
MPlayer SVN-r35905-4.7.2 (C) 2000-2013 MPlayer Team
Воспроизведение /mnt/media/test.mkv.
Заполнение кэша: 0.00% (0 байт(а))
libavformat version 54.61.104 (internal)
Обнаружен libavformat формат файла!
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0
[lavf] stream 2: subtitle (ass), -sid 0
VIDEO: [H264] 720x480 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
Информация о клипе:
creation_time: 2011-10-04 02:54:28
Load subtitles in /mnt/media/
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Открываю видео фильтр: [ass]
Открываю видео фильтр: [scale w=2560 h=-2]
Открываю видео фильтр: [noise=12uah:5uah]
Открываю видео фильтр: [scale]
==========================================================================
Попытка форсировать семейство видеокодеков ffmpeg...
Открываю декодер видео: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.91.100 (internal)
Выбран видеокодек: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Попытка форсировать семейство аудиокодеков libmad...
Открываю декодер аудио: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->384000)
Выбран аудиокодек: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
Начало воспроизведения...
Movie-Aspect - 1.78:1 - выполняю предварительное масштабирование
для коррекции соотношения сторон фильма.
[swscaler @ 0x12bd5c0]using unscaled yuv420p10le -> yuv420p special converter
VO: [gl] 2560x1440 => 1024x576 Planar YV12 [zoom]
[VD_FFMPEG] Сбой DRI.
[h264 @ 0x11e38e0]get_buffer() failed (stride changed)
[h264 @ 0x11e38e0]decode_slice_header error
[h264 @ 0x11e38e0]no frame!
[h264 @ 0x11e38e0]get_buffer() failed (stride changed)
[h264 @ 0x11e38e0]decode_slice_header error
[h264 @ 0x11e38e0]no frame!
[h264 @ 0x11e38e0]get_buffer() failed (stride changed)
[h264 @ 0x11e38e0]decode_slice_header error
[h264 @ 0x11e38e0]no frame!
Error while decoding frame!
[h264 @ 0x11e38e0]get_buffer() failed (stride changed)
[h264 @ 0x11e38e0]decode_slice_header error
[h264 @ 0x11e38e0]no frame!
Error while decoding frame!
[h264 @ 0x11e38e0]get_buffer() failed (stride changed)
[h264 @ 0x11e38e0]decode_slice_header error
[...tons of messages skipped...]
Слишком много (4096 в 1577341 байтах) аудиопакетов в буфере!
decode_slice_header error
Возможно Вы проигрываете 'неслоёный' поток/файл или неудачный кодек?
Для AVI файлов попробуйте форсировать 'неслоёный' режим опцией -ni.
[h264 @ 0x11e38e0]no frame!
(here it complains about too many audio packets in buffer).
After that it displays garbage or quits.
mplayer2 which was compiled at the same time as mplayer (mplayer with latest
ffmpeg git, mplayer2 with latest libav git at that moment) plays these files
without problems.
It's not such a big deal and maybe is already fixed in latest mplayer, I didn't
get to check it yet. What worries me a bit is that amount of such files is
increasing lately, but since I have to use mplayer2 for mkvs with ordered
chapters anyway I just use it for these files too.
Next time I'll be compiling mplayer svn, I'll check if this issue is
present and will submit proper bug report if it is.
--
Vladimir
More information about the MPlayer-users
mailing list