Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
5.1 downmixing to 4 channels
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
backjackII
n00b
n00b


Joined: 19 Sep 2002
Posts: 44
Location: California, USA

PostPosted: Thu Jan 16, 2003 7:03 pm    Post subject: 5.1 downmixing to 4 channels Reply with quote

I've tried running a 5.1 test on my sound blaster live value + 4.1 speakers but only the front channels seem to work. I expected that mplayer would downmix the audio so that the center channel is distributed evenly between the front 2 speakers. I've done the following revision to my /etc/mplayer.conf file:
Code:

aop=list=surround
channels=4

This is what mplayer says when I test out the Matrix via 5.1 audio (it works well on a real 5.1 system):
Code:

CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon
XP eXtreme Performance (Family: 6, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx

Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /home/shreyas/.mplayer/config
[cfg] read config file: /home/shreyas/.mplayer/gui.conf
Reading config file /home/shreyas/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/shreyas/.mplayer/codecs.conf: Reading /usr/share/mplayer/codecs.con
f: 49 audio & 125 video codecs
Using usleep() timing
Input config file /usr/share/mplayer/input.conf parsed : 50 binds
SKIN dir 1: '/home/shreyas/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/Skin'

Playing Dolby Digital AC3 Test.vob
Cache fill:  0.00% (0 bytes)    Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  12250.0 kbps (1531.2 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
AUDIO: 48000 Hz, 4 ch, 16 bit (0x10), ratio: 56000->384000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
AO: [plugin] 48000Hz 4ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/4ch/16bit -> 48000Hz/4ch/16bit...
Start playing...
a52: CRC check failed!  0.010 ct: -0.255  674/674  10%  8%  1.6% 8 0 0%%
A: 173.6 V: 173.8 A-V: -0.200 ct: -0.303  697/697  10%  8%  1.5% 8 0 0%

Playing /home/incoming/Dolby Digital AC3 Test.vob
Cache fill:  0.00% (0 bytes)    Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 2)  29.97 fps  12250.0 kbps (1531.2 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
AUDIO: 48000 Hz, 4 ch, 16 bit (0x10), ratio: 56000->384000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Couldn't find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder v2.0
VDec: vo config request - 720 x 480 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 720x540 Planar YV12
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
AO: [plugin] 48000Hz 4ch Signed 16-bit (Little-Endian)
Building audio filter chain for 48000Hz/4ch/16bit -> 48000Hz/4ch/16bit...
Start playing..


I have a sound blaster Live value and an altec lansing 641 speaker system. I have compiled mplayer using alsa 0.9 flags and enabled the alsa plugin accordingly. Oh yea, I can control my rear (Wave Surround) and front (Wave) channels independently using the alsa mixer, so I know that both my channels are being recognized. I would really really like to enjoy 5.1 audio on my new system so any help is greatly appreciated!
Code:
Back to top
View user's profile Send private message
inukshuk
Tux's lil' helper
Tux's lil' helper


Joined: 31 Aug 2002
Posts: 110
Location: vienna (europe)

PostPosted: Thu Jan 16, 2003 9:14 pm    Post subject: Reply with quote

hi,

take a look at this thread:

https://forums.gentoo.org/viewtopic.php?t=12955&highlight=emu10k1&sid=f5aa94a0ffe183d87a26ad4691f1c39b

it helped me set up my sound-blaster live! card. In essence: I am not sure it works with alsa, I followed the directions in the above thread to remove alsa from my system and now use emu10k1 and it works perfectly with my 4speaker system...

HTH
;
Back to top
View user's profile Send private message
backjackII
n00b
n00b


Joined: 19 Sep 2002
Posts: 44
Location: California, USA

PostPosted: Fri Jan 17, 2003 8:43 am    Post subject: Reply with quote

Thanks for the tip inukshuk, but i've established that my rear channels do indeed work independently of the front ones. However, my question deals with actually experiencing content for 5.1 speakers on my 4.1 system. I followed your advice and removed alsa and emerge the emu10k1 drivers.
The movie player that I am using is mplayer, compiled without the alsa flag of course. I would like to find out what configuration needs to be done, at this point, to downmix the 5.1 stream between my 4 channels. (In the AC3 test the rear test fails completely).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum