IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
SBR detection/playback, How to verify SBR flag? How can I be sure player gets it right ?
chrizoo
post Jun 15 2012, 12:43
Post #1





Group: Members
Posts: 345
Joined: 25-March 08
Member No.: 52274



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 ('Moritz Bunkus')
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

This post has been edited by chrizoo: Jun 15 2012, 12:50
Go to the top of the page
+Quote Post
pdq
post Jun 15 2012, 13:39
Post #2





Group: Members
Posts: 3311
Joined: 1-September 05
From: SE Pennsylvania
Member No.: 24233



QUOTE (chrizoo @ Jun 15 2012, 07:43) *
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.

This post has been edited by pdq: Jun 15 2012, 13:40
Go to the top of the page
+Quote Post
chrizoo
post Jun 15 2012, 13:56
Post #3





Group: Members
Posts: 345
Joined: 25-March 08
Member No.: 52274



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"
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th April 2014 - 11:10