Project

General

Profile

Actions

Bug #117

closed

AAC 5.1 channel mapped to wrong speakers

Added by lexi81 over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Audio Playback
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed
Affected Version:

Description

AAC 5.1 audio stream centre channel is mapped to right front speaker. Mapping of other channels unsure. Happens when played with dvdplayer, mplayer status unknown, mainline unknown.
SVN 30643 (craig's build)

debug log: [http://pastebin.com/Va7Bpfv4]

Actions #1

Updated by lexi81 over 13 years ago

I just tested mplayer and it works fine in mplayer.

Replying to lexi81:

AAC 5.1 audio stream centre channel is mapped to right front speaker. Mapping of other channels unsure. Happens when played with dvdplayer, mplayer status unknown, mainline unknown.
SVN 30643 (craig's build)

debug log: [http://pastebin.com/Va7Bpfv4]

Actions #2

Updated by arnova over 13 years ago

Mind testing an older version of xbmc4xbox? I think it's related to us dropping libfaad for AAC decoding.

@Exobuzz: Any ideas?

Actions #3

Updated by lexi81 over 13 years ago

I'll try a build from before this: https://sourceforge.net/apps/trac/xbmc4xbox/changeset/30392

I might be able to do it tonight, not sure though. The above link seems to be related anyway, is libfaad still used in mplayer?

Actions #4

Updated by lexi81 over 13 years ago

hmmm, it seems this is also interesting:

https://sourceforge.net/apps/trac/xbmc4xbox/changeset/30496

Actions #5

Updated by lexi81 over 13 years ago

a build from januari the 4th (r30384 I think) plays proper 5.1 with mplayer and 2.0 downmix with dvdplayer.

Actions #6

Updated by buzz over 13 years ago

needs some channel mapping code I guess. xbmc.org mainline used to have similar issues. I'm already looking into this stuff, no eta. use mplayer in the meantime i guess.

Actions #7

Updated by buzz over 13 years ago

For now I'm going to set this to future/pending.

If we brought back libfaad, then these files would play but in stereo as has been pointed out. also many videos with aac would not play at all (there were lots of problems before with videos with no sound with aac etc which using ffmpeg has solved - people used to delete the faad library so it would fall back on ffmpeg which did a better job).

As this plays with mplayer ok, I would like to keep it as we are for now, and look it after the 3.0 release. Overall AAC is better now than it was before with dvdplayer.

Actions #8

Updated by buzz over 13 years ago

I decided to have a stab at this after all. From a test file from the same source, the channel mapping for 5.1 aac seems correct now. Please try a build from r30676 or newer and let me know if it solves it for you.

Actions #9

Updated by lexi81 over 13 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Hi exobuzz, finally found time to check the fix. I tried r30692, the mapping seems fine to me. Voices came from centre channel, but I couldn't find a good clip to check the other channels. I might be able to make a clip with aac audio myself, but that depends on time available. For now this seems fixed, thanks for that.

Actions

Also available in: Atom PDF