[MPlayer-users] channel routing stopped working

a.w. kinnunen a.w.kinnunen at gmail.com
Mon Sep 28 20:53:15 CEST 2009


Hi!

I've been using  RVM's SVN builds (
https://launchpad.net/~rvm/+archive/mplayer), since mplayer in ubuntu lags
behind and is missing features, most importantly lavcac3enc.

After latest upgrade, mplayer started to crash with AC3 files with these
parameters and it won't pass other sound through spdif. It outputs "MPlayer
interrupted by signal 11 in module: decode_audio
ID_SIGNAL=11".

Changelog stated, that alsa is not used by default anymore. Selecting "-ao
alsa:device=spdif" seems to work otherwise, but setting audio channel layout
doesn't seem to have an effect anymore, mplayer saying "[ac3 @ 0x89d22c0]No
channel layout specified. The encoder will guess the layout, but it might be
incorrect.".

Does anybody know if there's some changes recently which could cause this,
or is this just a bad build or someting?

Here's some data if it gives someone a clue:

---------------------------------

Version info:

Ubuntu 9.04
Release: 9.04
mplayer:
  Installed: 2:1.0~rc3+

svn20090904-0jaunty2
  Candidate: 2:1.0~rc3+svn20090904-0jaunty2

Example of used parameters and output:

mplayer -channels 6 -af
scaletempo,channels=6:6:0:0:1:4:2:3:3:5:4:1:5:2,lavcac3enc=1:640 -ao
alsa:device=spdif -ac hwdts,hwac3,a52,mad, -volume 100 -stop-xscreensaver
-monitorpixelaspect 1 -framedrop -nodr -double -noquiet -nofs -nomouseinput
-identify -slave -nokeepaspect -cache 2000 -slices -lavdopts threads=2 -fs
-vo xv -zoom -subpos 100 -sub-fuzziness 1 -ass -embeddedfonts
-ass-line-spacing 0 -ass-font-scale 1 -ass-styles
/home/user/.config/smplayer/styles.ass -fontconfig -font Arial
-subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp
ISO-8859-1 'file.mp4'

MPlayer SVN-r29643-Ubuntu-RVM (C) 2000-2009 MPlayer Team

Playing file.mp4.

libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
ID_AID_1_LANG=und
VIDEO: [H264] 1280x544 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=./file.srt
SUB: Added subtitle file (1): ./file.srt
ID_FILENAME=file.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=544
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
ID_LENGTH=6444.37
ID_SEEKABLE=1
ID_CHAPTERS=0
[ass] auto-open
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
==========================================================================
Forced audio codec: hwdts
Forced audio codec: hwac3
Forced audio codec: a52
Forced audio codec: mad
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 6 ch, s16le, 128.0 kbit/2.78% (ratio: 16000->576000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=6
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[ac3 @ 0x89d22c0]No channel layout specified. The encoder will guess the
layout, but it might be incorrect.
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
ID_AUDIO_CODEC=faad
Starting playback...
[h264 @ 0x89d22c0]Cannot parallelize deblocking type 1, decoding such frames
in sequential order
VDec: vo config request - 1280 x 544 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 1280x544 => 1280x544 Planar YV12 [fs] [zoom]
[ass] PlayResX undefined, setting 678.
No bind found for key 'c'. % 8% 10.2% 0 0 47%
A: 52.3 V: 52.3 A-V: -0.000 ct: -0.031 0/ 0 33% 8% 8.2% 0 0 47%
Exiting... (Quit)
ID_EXIT=QUIT

-----------------------

Thanks for any suggestions.

/aw


More information about the MPlayer-users mailing list