Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
e.mote
Old
#1  
e.mote's Avatar
Senior Member - OP
Thanks Meter 588
Posts: 1,901
Join Date: Feb 2011
Default HELP NEEDED: 5.1 Audio Test

Asking for help from anyone who has a 5.1 audio setup to his/her PC.

At issue is ffmpeg's bug in incorrectly mapping channel order from AC3 (and perhaps other formats) to AAC. Before, you had to remap the channels using an intermediate app like sox. But my current testing (on a 2-speaker setup) shows that there isn't an issue. Confirmation from a 5.1 setup is needed.

Attached below are 4 audio test clips: 5.1 WMA, 5.1 AC3, 5.1 AAC (from WMA clip), 5.1 AAC (from AC3 clip). The clips tell you which channel the sound is supposed to come out of, eg "front left".."front right"..etc. The LFE channel will be a mumbling sound coming out of the subwoofer.

I would appreciate it if someone with a 5.1 audio setup would test all 4 clips, and tell me if the channel orders are correct for all four. The clips are only 9 secs long apiece. Thanks in advance.
Attached Files
File Type: zip audio_surround_test_clips.zip - [Click for QR Code] (1.25 MB, 251 views)
 
deadman3000
Old
#2  
Senior Member
Thanks Meter 25
Posts: 625
Join Date: May 2006
They all play correct for me.
The Following User Says Thank You to deadman3000 For This Useful Post: [ Click to Expand ]
 
e.mote
Old
#3  
e.mote's Avatar
Senior Member - OP
Thanks Meter 588
Posts: 1,901
Join Date: Feb 2011
I appreciate the assist.
 
thump107
Old
#4  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Feb 2009
I still get wrong order when converting 5.1 AAC to 5.1 AC3.
which ffmpeg version are u using?
 
msticninja
Old
#5  
Senior Member
Thanks Meter 178
Posts: 737
Join Date: Mar 2007
Mapped fine here, too.
Samsung Galaxy S3 running something close to Stock.
US HTC HD2 Running NexusHD2-ICS-4.0.3-CM9 V1.5 on NAND.
Asus Transformer running Energy Nov. 20th + CWM Touch
Archos 101IT with 1 Watt Speakers Running openAOS Multiboot. OSes= Urukdroid, CM7, Bodhi, LXDE
HTC Diamond Running Gingercherry v3. (As a remote control )
 
e.mote
Old
(Last edited by e.mote; 3rd September 2011 at 03:06 AM.)
#6  
e.mote's Avatar
Senior Member - OP
Thanks Meter 588
Posts: 1,901
Join Date: Feb 2011
Someone sent me a PM asking which build of ffmpeg I'm using (for the correct AC3->AAC mapping). Not sure if I sent a reply, so I'm cc'ing a copy here.

I'm using the Zeranoe build. This is from AC3 to AAC. I didn't test the other way. (If one way comes out OK, the other should as well, but you never know.)

http://ffmpeg.zeranoe.com/builds

ffmpeg version N-31031-gf211d9d, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 26 2011 22:50:39 with gcc 4.5.3
configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 10. 0 / 51. 10. 0
libavcodec 53. 7. 0 / 53. 7. 0
libavformat 53. 4. 0 / 53. 4. 0
libavdevice 53. 1. 1 / 53. 1. 1
libavfilter 2. 24. 0 / 2. 24. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0

The AAC was created by converting the AC3 to 6-channel WAV, then piped to NeroAACEnc external encoder.

ffmpeg -i inputfile -vn -acodec pcm_s16le -ac 6 -f wav - -map 0.1 | neroAACEnc -q 0.4 -ignorelength -if - -of out.m4a
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Learn to Edit Graphics for your Development Work

The importance of good and appropriate graphics for your development work is undeniable. Be … more

Tasker Alternative: AutomateIt, Automates Your Device Tasks – XDA Developer TV

XDA Developer TV Producer Kevin wants to help make your … more

Preventing App Piracy: Join the Discussion

The topic of piracy is always a touchy subject, but I feel that the grass roots style of Android … more

Jolla Sailfish OS Flagship Device Makes First Appearance

Given the amount of coverage that Android receives around here, you could almost be … more