Skip to main content
Topic: AAC Decode bug(?) (Read 3408 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

AAC Decode bug(?)

I'm not sure if this is a bug, or a problem in the file that it's playing.  I've read through a few of the posts on AAC/MP4 and it seems that more often then not it's because of an incorrect file that something doesn't work rather then it being a bug in the player.

    I'm playing a song downloaded in MP4 format, from an online encoding service.  The MP4 file plays fine, with the exception that for some reason, output from another plugin AMIP is odd, when I 'extract AAC' from the MP4 file, it displays how I'd like it too.

MP4: np: 015. Keiko Matsui - [Cherry Blossom #01] Rainy Season [04:48m/311Kbps/44KHz] :: 4 songs played.

AAC: np: Keiko Matsui - Rainy Season [04:48m/320Kbps/44KHz] :: 9 songs played.

    In the MP4 file, the file plays flawlessly, start to finish.  On the AAC file, it plays flawlessly all the way to the end, but on the end of the AAC file, an error pops.

ERROR (foo_mp4) : Unable to find ADTS syncword

    Now, all in all, I can really live with the corrupt file, or that error in general occuring, because it doesn't seem to cause any actual audio problems.  However, what DOES bother me, is that even with foobar's console options switched to not popup on error, and not to beep, it still pops up and steals focus from whatever I'm working on.  I would also just like to know why I get the error anyways, but, if the error can't be fixed, I'd be happy in suppressing it, since it doesn't affect the quality of my audio in any way.

    Thanks in advance for any help or suggestions in regards to this problem.

AAC Decode bug(?)

Reply #1
I apologize for posting again without receiving a reply, just I see much whinier posts and more disrespectful posts getting answers.  I understand this is volunteer and such, so, I'm not trying to push anyone, it just came to mind that some may not know exactly what I was asking from what I wrote above.

Is there a way to repair the AAC files so it doesn't have the ADTS sync error at the end?

If not, is there a way to truly mute the console on foobar, so it doesn't bother me with the error that I don't notice audibly anyways?

Is it just simple file corruption that causes that ADTS sync error, or something else?

AAC Decode bug(?)

Reply #2
I've done some searching still trying to find some way to fix this annoyance, as I said, I'd be content just being able to fully hide the error instead of it still popping up even though I've told the console not too.

But, from what I've learned, this bug happened with AAC files encoded a certain way, if that's the case does that mean the AAC thinger with Foobar produces in correct files?  Or does extracting AAC from an MP4 not actually encode anything.  If it's that, does that mean it's that my file was encoded poorly to begin with?  If that's the case, is there a way to repair the file?

Thanks again.

AAC Decode bug(?)

Reply #3
And, finally, I found a solution, since the console plug-in wasn't behaving as I told it too, and it kept popping up with that error, and that I would be content just not seeing the error at all, I removed the console plugin, problem fixed.

So, now as that the annoyance is gone though, I'm still trying to figure out how I'd fix files that generate that error instead of having to remove a decent part of the program so that the ending of a file doesn't annoy me with a pop up box when I tell it not too

Is there a way to re-encode an AAC file properly without losing audio-quality?  Any suggestions welcome.  Thanks again.

AAC Decode bug(?)

Reply #4
Do you have the most recent version of foo_mp4?

There was a lot of activity with this plugin a short while back.

I just tried to reproduce and cannot.
I have version 1.65 of foo_mp4.
I think case has it on his site or you could search and find the one John33 hosts.

Not sure if this will help, but it might be worth checking into.

AAC Decode bug(?)

Reply #5
I have the most recent version of the foo_mp4.dll.  From the info I've gathered so far it seems to be that this happens with files that were encoded wrong.  Like old versions of FAAC used to produce AAC files that behaved like the one I have does. 

Thanks for the suggestion though.  Am still looking around in case I've missed anything, if anyone knows of anything that'll help, please feel free to point me in the right direction.

AAC Decode bug(?)

Reply #6
Why don't you just keep it as MP4 file?

Menno

AAC Decode bug(?)

Reply #7
When keeping it as an MP4 file, the tags don't seem to evaluate correctly, and instead, it just takes the filename from the playlist.  If you read up to my first post, I've shown an example of how another plugin takes the tags from each file.  The MP4 evaluates incorrectly, leaving all things as 'Title' whereas the AAC has each thing sectioned correctly and only has the artist and song title as 'title'

AAC Decode bug(?)

Reply #8
That has to do with the title formatting. I don't know exactly what could go wrong there.

Menno

AAC Decode bug(?)

Reply #9
Ah I see you use AMIP: Go bug the developer of AMIP please

Menno

edit: AMIP uses it's own tag reading, so it probably does not read the tags from MP4

AAC Decode bug(?)

Reply #10
I'm trying to play files encoded with dicas Compaact! AAC Encoder Profile:Main (With prediction) and i get this errors

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 01372BB1h
Access violation, operation: read, address: 20000000h
Module: "foo_vis_manager", loaded at 01370000h - 0137B000h
Additional info: main message loop
This is the first crash logged by this instance.
Code bytes:
01372B91h:  0F 95 C2 8A C2 EB 03 8A 41 0D C2 04 00 33 C0 C2
01372BA1h:  04 00 8B 51 08 56 6A 00 C1 EA 02 58 74 12 8B 09
01372BB1h:  8B 31 3B 74 24 08 74 0B 40 83 C1 04 3B C2 72 F0
01372BC1h:  83 C8 FF 5E C2 04 00 55 8B EC 83 EC 0C 8B 41 08
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000010h, address: 77F580DBh
Access violation, operation: write, address: 3F994CFEh
Module: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+0000052Dh)
Additional info: main message loop
This is your 8-th crash. When reporting the problem to a developer, please try to post info about the first crash instead.
Code bytes:
77F580BBh:  04 C2 89 45 A8 8B 70 04 83 EE 08 89 75 A4 8B 46
77F580CBh:  08 89 85 64 FF FF FF 8B 4E 0C 89 8D 60 FF FF FF
77F580DBh:  89 01 89 48 04 3B C1 0F 85 DA 00 00 00 0F B7 0E
77F580EBh:  8B C1 C1 E8 03 89 85 5C FF FF FF 83 E1 07 33 D2
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 77F83905h
Access violation, operation: write, address: ADE8014Ah
Additional info: input::run()
This is the first crash logged by this instance.
Code bytes:
77F838E5h:  14 56 E8 4E 92 01 00 0F B7 06 29 43 28 80 65 14
77F838F5h:  00 57 53 E8 7C F6 FF FF 8B 47 08 8B 4F 0C 3B C1
77F83905h:  89 01 89 48 04 75 21 66 8B 07 66 3D 80 00 73 18
77F83915h:  0F B7 C8 8B C1 83 E1 07 B2 01 C1 E8 03 D2 E2 8D
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 77F83905h
Access violation, operation: write, address: 00000000h
Module: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlSizeHeap" (+000005EFh)
Additional info: main message loop
This is the first crash logged by this instance.
Code bytes:
77F838E5h:  14 56 E8 4E 92 01 00 0F B7 06 29 43 28 80 65 14
77F838F5h:  00 57 53 E8 7C F6 FF FF 8B 47 08 8B 4F 0C 3B C1
77F83905h:  89 01 89 48 04 75 21 66 8B 07 66 3D 80 00 73 18
77F83915h:  0F B7 C8 8B C1 83 E1 07 B2 01 C1 E8 03 D2 E2 8D
Version info:
foobar2000 v0.7.2
UNICODE

Developers what do you think? Waiting for your's responses.
My sound hardware: Creative's Audigy 2 ;)
My music encodings: Nero AAC Codec 2.6.2.0 Profiles:Transparent,Extreme

AAC Decode bug(?)

Reply #11
Yup, MAIN decoding needs some fixing

Menno

AAC Decode bug(?)

Reply #12
Quote
Yup, MAIN decoding needs some fixing

Menno

Trying also with foo_mp4 1.66 and again errors ;(

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0137239Ch
Access violation, operation: read, address: 20000028h
Additional info: main message loop
This is the first crash logged by this instance.
Code bytes:
0137237Ch:  F8 00 F7 05 F4 51 37 01 FC FF FF FF 0F 86 94 00
0137238Ch:  00 00 A1 EC 51 37 01 8B 4D F8 DD 45 08 8B 34 88
0137239Ch:  DC 5E 28 DF E0 F6 C4 41 75 68 8D 7E 30 53 8B CF
013723ACh:  89 7D EC E8 EF 07 00 00 85 C0 7D 56 80 7D FF 00
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000010h, address: 77F580DBh
Access violation, operation: write, address: 3FE1297Bh
Additional info: main message loop
This is your 2-nd crash. When reporting the problem to a developer, please try to post info about the first crash instead.
Code bytes:
77F580BBh:  04 C2 89 45 A8 8B 70 04 83 EE 08 89 75 A4 8B 46
77F580CBh:  08 89 85 64 FF FF FF 8B 4E 0C 89 8D 60 FF FF FF
77F580DBh:  89 01 89 48 04 3B C1 0F 85 DA 00 00 00 0F B7 0E
77F580EBh:  8B C1 C1 E8 03 89 85 5C FF FF FF 83 E1 07 33 D2
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000010h, address: 0137234Eh
Access violation, operation: read, address: 20000028h
Additional info: main message loop
This is your 4-th crash. When reporting the problem to a developer, please try to post info about the first crash instead.
Code bytes:
0137232Eh:  6D 08 8B 35 F4 51 37 01 C1 EE 02 DD 5D 08 0F 84
0137233Eh:  E0 00 00 00 A1 EC 51 37 01 DD 45 08 8B 4C B0 FC
0137234Eh:  DC 59 28 DF E0 F6 C4 41 75 0D 53 83 C1 30 E8 42
0137235Eh:  08 00 00 85 C0 7C 08 4E 75 DA E9 B5 00 00 00 4E
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 77F57EC4h
Access violation, operation: write, address: BE4D9EA8h
Module: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000316h)
Additional info: main message loop
This is the first crash logged by this instance.
Code bytes:
77F57EA4h:  84 15 01 00 00 8B 70 04 83 EE 08 89 75 A4 8A 46
77F57EB4h:  05 88 45 A3 8B 4E 08 89 4D 9C 8B 56 0C 89 55 98
77F57EC4h:  89 0A 89 51 04 3B CA 75 29 0F B7 0E 8B D1 C1 EA
77F57ED4h:  03 89 55 94 83 E1 07 33 FF 47 D3 E7 89 7D 90 8D
Version info:
foobar2000 v0.7.2
UNICODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0041B8FBh
Access violation, operation: read, address: E000000Ch
Module: "foobar2000", loaded at 00400000h - 00452000h
Additional info: output::get_latency()
This is your 2-nd crash. When reporting the problem to a developer, please try to post info about the first crash instead.
Code bytes:
0041B8DBh:  00 00 50 64 89 25 00 00 00 00 81 EC 10 04 00 00
0041B8EBh:  53 56 57 89 65 E8 9B 83 65 FC 00 8B 4D 08 8B 01
0041B8FBh:  FF 50 0C 8B 45 0C DD 18 C6 45 E7 01 9B EB 46 8B
0041B90Bh:  45 EC 89 45 E0 8D 85 E0 FB FF FF 50 68 E8 21 44
Version info:
foobar2000 v0.7.2
UNICODE
My sound hardware: Creative's Audigy 2 ;)
My music encodings: Nero AAC Codec 2.6.2.0 Profiles:Transparent,Extreme

AAC Decode bug(?)

Reply #13
Quote
Yup, MAIN decoding needs some fixing

Menno

This is Encoder problem, it fixed (Compaact 1.03),and now files created with MAIN profile playable, but with strange preecho  i think this is decoder problem, what do you think Menno?
My sound hardware: Creative's Audigy 2 ;)
My music encodings: Nero AAC Codec 2.6.2.0 Profiles:Transparent,Extreme

AAC Decode bug(?)

Reply #14
Quote
This is Encoder problem, it fixed (Compaact 1.03),and now files created with MAIN profile playable, but with strange preecho  i think this is decoder problem, what do you think Menno?

Quote
Yup, MAIN decoding needs some fixing

Menno

AAC Decode bug(?)

Reply #15
Quote
Quote
This is Encoder problem, it fixed (Compaact 1.03),and now files created with MAIN profile playable, but with strange preecho  i think this is decoder problem, what do you think Menno?

Quote
Yup, MAIN decoding needs some fixing

Menno

There seems to be a strange preecho in this forum

AAC Decode bug(?)

Reply #16
Quote
Quote
Quote
This is Encoder problem, it fixed (Compaact 1.03),and now files created with MAIN profile playable, but with strange preecho  i think this is decoder problem, what do you think Menno?

Quote
Yup, MAIN decoding needs some fixing

Menno

There seems to be a strange preecho in this forum 

LOL 
My sound hardware: Creative's Audigy 2 ;)
My music encodings: Nero AAC Codec 2.6.2.0 Profiles:Transparent,Extreme

AAC Decode bug(?)

Reply #17
Does anyone else have this problem when i have short sound sample like 5 sec in MP4/AAC format. When i use replaygain scanner bitrate value drops with few bits?

 
SimplePortal 1.0.0 RC1 © 2008-2019