Skip to main content

Topic: SBR detection/playback (Read 1846 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • chrizoo
  • [*][*][*][*]
SBR detection/playback
Hi. I need to solve two - somewhat related - questions regarding detection and playback of AAC files with SBR:

(1) How can I verify whether an AAC file uses SBR and whether the SBR flag is set in the container ?

According to https://trac.bunkus.org/ticket/757 the raw AAC audio stream does not communicate whether or not it has SBR, instead this info is stored as a flag in its container. I manually set/unset the SBR flag in (in this case) the Matroska container, but this did not change the MediaInfo output at all, so either un/setting the SBR flag did not work OR MediaInfo ignores the container's SBR flag and directly analyzes the raw AAC audio stream similarly to what the coder of MKVtoolnix claims his tool does:

Quote
mkvmerge detects whether or not the source contains SBR. In the case of raw AAC files this may be wrong because the container itself doesn't provide a hint. Therefore mkvmerge employs heuristics (it guesses).


In the first case how can I set/unset the SBR flag?
In the second case, what tool can tell me the container's SBR flag status ?


(2) How can I acertain whether or not the player takes account of and uses SBR ?

I wanted to create a file which claims to have SBR but actually doesn't OR a file which doesn't have SBR but erroneously claims to have it
-> in order to compare playback of such file to the source file (same raw audio content but with correct SBR flag). I don't have fine hearing, but I thought the difference must be so obvious, that I could hear it. Unfortunately I wasn't able to produce such a file, as can be seen in the link above.

Can someone help me create a scenario, where I can hear the wrong playback and compare it to how the playback should sound like (when correctly using SBR) ?

Many thanks
  • Last Edit: 15 June, 2012, 07:50:01 AM by chrizoo

  • pdq
  • [*][*][*][*][*]
SBR detection/playback
Reply #1
I wanted to create a file which claims to have SBR but actually doesn't OR a file which doesn't have SBR but erroneously claims to have it

Oops - you said the same thing twice, but we know what you meant to say.
  • Last Edit: 15 June, 2012, 08:40:10 AM by pdq

  • chrizoo
  • [*][*][*][*]
SBR detection/playback
Reply #2
thanks.
correction: "... create a file which erroneously claims not to have SBR but actually does OR a file which doesn't have SBR but claims otherwise"