David Thatcher | 25 Nov 20:10 2014

AutoDetect aspect ratio


I created an Xubuntu image that launches MPlayer to play a video on
startup. I went to deploy it and the screen resolution was 4:3, so the wide
aspect video displayed with black bars at the top and bottom. I was able to
solve this by setting -aspect 4:3 in the mplayer options. The question is,
I am going to be deploying to a variety of different screens and I want
MPlayer to force whatever aspect ratio is represented by whatever screen
resolution is currently set. If I leave -aspect 4:3 on a wide screen, I get
black bars on the side. I am very much trying to avoid editing the launch
script on each machine.
Or... given that what I am going after is for MPlayer to run the video in
such a way as to not leave the black bars regardless of screen resolution,
is there a better command line option to use?
Thanks in advance,

Ann Once | 22 Nov 17:19 2014

Compilation error - 'VP8E_SET_MAX_INTRA_BITRATE_PCT' undeclared

It is not really a question but an information. I don't know if it is usefull ?
With mplayer 1.1.1there is no problem :./configure ; make ===> ok
With a snapshot  SVN-r37325-snapshot-4.5.2 :./configure ; make ===>CC      libavcodec/libvpxenc.o
libavcodec/libvpxenc.c:122:6: error: 'VP8E_SET_MAX_INTRA_BITRATE_PCT' undeclared here (not in a function)
libavcodec/libvpxenc.c:122:5: error: array index in initializer not of integer type
libavcodec/libvpxenc.c:122:5: error: (near initialization for 'ctlidstr')
libavcodec/libvpxenc.c: In function 'vpx_init':
libavcodec/libvpxenc.c:369:5: warning: 'rc_buffer_aggressivity' is deprecated (declared at libavcodec/avcodec.h:2329)
libavcodec/libvpxenc.c:449:5: warning: 'mb_threshold' is deprecated (declared at libavcodec/avcodec.h:1810)
libavcodec/libvpxenc.c:452:9: warning: 'mb_threshold' is deprecated (declared at libavcodec/avcodec.h:1810)
make[1]: *** [libavcodec/libvpxenc.o] Error 1

To compile I disable the functionnality with --disable-libvpx-lavc.
MPlayer-users mailing list
MPlayer-users <at> mplayerhq.hu
Ann Once | 20 Nov 19:19 2014

mplayer starts with volume level set to 50%


I compiled a snapshot the 2014.11.18 : MPlayer SVN-r37325-snapshot-4.5.2

When I start gmplayer and mplayer the volume level is 50%.
And when I change the volume (set to 100%) it is not save.
If I use my previous compiled version (MPlayer 1.1-4.5.2) there is no problem.

The only change with the last compilation is that I used : --disable-libvpx-lavc

It it a regression ? Or is there something to configure to have the previous behavior ?

Thanks for your help.
William Brana | 20 Nov 18:11 2014

Clipping with volnorm


I'm trying to maximize volume without clipping, but there is a lot of
clipping with volnorm.
I checked file af_volnorm.c, but it seems to compute gain from average
value of sample instead of maximum. Isn't it broken?

audacity screenshot from file with speech:


It is better with method 2, but still with clipping.

-af format=floatle,volnorm=1:0.25,resample=96000:0:2,format=s32le
-af format=floatle,resample=96000:0:2,format=s32le
Ian Finley | 17 Nov 09:25 2014

Videos won't play with "Unexpected decoder output format Planar YV12"

Hi all,

I use mplayer as the video player on my front-end HTPC.

Lately, I've started having problems with some videos. They work fine on
other computers, just not that one. All my machines have the same version
of mplayer installed (MPlayer SVN-r37313 (C) 2000-2012 MPlayer Team)and the
same configuration.

When I play the videos on my HTPC, this is what happens in the terminal:

[vdpau] Unexpected reinit, query_format called too often?
[vdpau] Failed creating VDPAU decoder: A catch-all error, used when no
other error code applies.
FATAL: Cannot initialize video driver.
Unexpected decoder output format Planar YV12
Unexpected decoder output format Planar YV12
Unexpected decoder output format Planar YV12
Unexpected decoder output format Planar YV12
[this repeats many times and then]
Too many buffered pts
Unexpected decoder output format Planar YV12
Too many buffered pts
Unexpected decoder output format Planar YV12
Too many buffered pts

Anyone have any ideas?
Ambarish Sridharanarayanan | 16 Nov 21:50 2014

LAVC can't find libfaac

On Fedora 20, running mencoder-1.1-22.20140414svn, ​I'm trying to reencode a video with some filters.
I'd like to use the AAC audio codec. My first attempt was:

	mencoder -vf ... input.mp4 -ovc x264 -of lavf -o output.mp4 -oac faac

Unfortunately, mencoder couldn't find the faac audio-codec, so I had to recompile from source --with
faac. I tried again, and this time I got a number of encoding errors like so:

	[mp4  <at>  0xb6d361e0]Malformed AAC bitstream detected: use audio bitstream filter 'aac_adtstoasc' to fix
it ('-bsf:a aac_adtstoasc' option with ffmpeg)
	Error while writing frame.

And sure enough, the result file was corrupt. I found this promising thread on this list:


The only resolution OP had was to use the lavc audio-codec passing in faac to it, like so:

	-oac lavc -lavcopts acodec=libfaac:aglobal=64

This gave me the following error message:

	Audio LAVC, couldn't find encoder for codec libfaac.

I've even tried looking at mplayer's ./configure script: it has 2 flags, _faac and _faac_lavc, both
autodetected to true on my system. Any ideas on how I can either get the faac codec to generate a valid file or
the lavf codec to recognise libfaac?

(Continue reading)

lynx.abraxas | 11 Nov 18:40 2014

my mplayer ignores CTRL key combos when playing audio only, intended?

Dear mailinglist members,

Recently  I  added a CTRL-D keysequence to input.conf and it works as expected
when mplayer plays a video-file. However if I let mplayer play an  autio  only
file the key combo seems not to be caught/processed by mplayer at all. Is that
intended? Can I somehow make mplayer process CTRL+Key combos for any  file  it

Thanks for any help or hints
Jim Cross | 3 Nov 09:58 2014
Jim Cross <jimgcross <at> gmail.com>

[ogg <at> 0xa62018]Broken file, non-keyframe not correctly marked.

Although the following stream appears to play OK, MPlayer has a continuous
'Broken file, non-keyframe not correctly marked' output, is there cause for
me to be concerned?

 $ mplayer -novideo -cache 320 -cache-min 0
MPlayer SVN-r37303-4.6 (C) 2000-2014 MPlayer Team

Playing http://modulix.org:8000/libre.ogg.
Resolving modulix.org for AF_INET...
Connecting to server modulix.org[]: 8000...

Name   : WebTV - Télévision Libre
Genre  : WebTV, Libre, France, Bordeaux
Website: http://modulix.org:8000/libre.ogg
Public : yes
Bitrate: 1152kbit/s
Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)

libavformat version 56.10.100 (internal)
libavformat file format detected.
[theora  <at>  0xb58fd0]7 bits left in packet 82
[lavf] stream 0: video (theora), -vid 0
[lavf] stream 1: audio (vorbis), -aid 0
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 56.9.100 (internal)
AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
(Continue reading)

Stephen Sheldon | 2 Nov 18:54 2014

mplayer with external dvd libraries on windows 64-bit

I succeeded in building a static mplayer with external dvd libraries with no
local changes to mplayer and its configure script.  I did have to explicitly
enable dvdread because I was doing a static build.
Giorgio Vazzana | 2 Nov 13:59 2014

MPlayer svn build fails

Hello there,

does anyone get this error while trying to build MPlayer from svn:


(it is probably related to the latest patches about dvd support: if
CONFIG_DVDREAD is not defined then some files are not included (line
89 of gui/dialog/menu.c), and later on it complains some variables are

Giorgio Vazzana
Ilja Sekler | 31 Oct 23:07 2014

Issues with -vc ff*vdpau and -vc ff*vdpauold


there were some VDPAU related changes in FFmpeg last month, since then I
get the warning from


every time I play a video in MPlayer using -vc ff*vdpau. This might be a
purely cosmetical issue, but who knows...

Worse things happen with ffodivxvdpau as some of my DX50 encoded files
aren't playable when using this decoder anymore. The video window is
black and "Unexpected decoder output format Planar YV12" is printed for
each frame. "hedgehog_in_the_fog.avi" (the first 5 MiB of the video) and
"hedgehog_in_the_fog.txt" are uploaded to incoming, the related
gzip-compressed shortened verbose console output is attached.




Attachment (mplayer-shortened.log.gz): application/gzip, 5020 bytes
MPlayer-users mailing list
MPlayer-users <at> mplayerhq.hu
(Continue reading)