[MPlayer-users] Channels -> Speaker Mapping gone wrong.

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Nov 17 21:05:24 CET 2006


On Friday, 17 November 2006 at 20:11, ProN00b wrote:
> Hi, i am having a problem with this MKV file, it plays good in VLC (no video
> because my package is compiled without real support, nvm that), but when i play
> it in Mplayer it takes the 6 channels thing literally (only channels 0 and 2
> contain sound) and maps them somehow wrong (yeah, it is prolly doing the right
> thing and the file is broken, but VLC plays it correctly) to my speakers so i
> only get sound on one speaker.
> 
> I can get it to play correctly by passing "-af channels=2:2:0:0:2:1" to mplayer.
> 
> I wonder if i can get mplayer to somehow use that parameter by default only in
> the case of files like that, or make it detect empty channels and assign
> channels to speakers accordingly.
> Thanks in advance.
> 
> 
> ID_AUDIO_ID=0
> ID_AID_0_LANG=eng
> [mkv] Track ID 1: audio (A_AAC/MPEG2/LC), -aid 0, -alang eng
> ID_VIDEO_ID=0
> [mkv] Track ID 2: video (V_REAL/RV40), -vid 0
> ID_AUDIO_ID=1
> ID_AID_1_LANG=jpn
> [mkv] Track ID 3: audio (A_VORBIS), -aid 1, -alang jpn
> ID_SUBTITLE_ID=0
> ID_SID_0_LANG=eng
> ----------------------------------------------------------------
> [mkv] Will play audio track 3
> ----------------------------------------------------------------
> ==========================================================================
> Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
> AUDIO: 48000 Hz, 6 ch, s16le, 420.0 kbit/9.11% (ratio: 52500->576000)
> Selected audio codec: [vorbis] afm: libvorbis (OggVorbis Audio Decoder)
> ==========================================================================
> ----------------------------------------------------------------
> ID_AUDIO_NCH=6
> ----------------------------------------------------------------
> alsa-init: using device surround51
> alsa: 48000 Hz/6 channels/12 bpf/61440 bytes buffer/Signed 16 bit Little Endian
> AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample)
> Starting playback...

Well the audio track is detected as 6ch. Can you upload this to
ftp://samples.mplayerhq.hu/MPlayer/incoming?

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list