Opened 3 years ago
Last modified 2 years ago
#9477 open defect
AAC decoder problem.
Reported by: | K.Y.H | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avcodec |
Version: | git-master | Keywords: | aac mov |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
The AAC decoder cannot restore the original sound and produces a strange sound
libaac or fdk-aac is no problem.
Attachments (1)
Change History (11)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
Status: | new → open |
---|
You can use wget to download the file.
So, indeed strange. Plays well in VLC. -c copy does not fix the bug and does nothing to VLC playback, all is good.
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] ISO: File Type Major Brand: isom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Unknown dref type 0x206c7275 size 12 [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 1479, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 1323463, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 2646471, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 3969479, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 5292487, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 6615495, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 7938503, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] found tfdt time 9261511, using it for dts [mov,mp4,m4a,3gp,3g2,mj2 @ 000001c9e7647400] Duplicated SDTP atom
comment:3 by , 2 years ago
Resolution: | → needs_more_info |
---|---|
Status: | open → closed |
comment:4 by , 2 years ago
Resolution: | needs_more_info |
---|---|
Status: | closed → reopened |
Sample is here: https://0x0.st/optc.mp4
by , 2 years ago
Attachment: | optc_cut.mp4 added |
---|
follow-up: 6 comment:5 by , 2 years ago
Keywords: | mov added |
---|---|
Reproduced by developer: | set |
Status: | reopened → open |
Not an obvious regression, issue disappears when remuxing to adts.
comment:6 by , 2 years ago
Replying to Carl Eugen Hoyos:
Not an obvious regression, issue disappears when remuxing to adts.
Same happens with thd files that are in containers or even sometimes without containers. They play too fast. It happens only in ffplay, not in ffmpeg though.
comment:8 by , 2 years ago
Replying to Elon Musk:
Where are samples or you are spreading nonsense as usual.
Stop attacking me. Samples are still there (https://trac.ffmpeg.org/ticket/9511#comment:7, but also here https://github.com/VoidXH/Cavern/issues/7#issuecomment-1237104265) and you still did not fix mono.THD that you broke, which I compared with EAE.exe and unless it has DRC, it was not lossless even before. BTW, DRC is supported in Plex Transcoder even for THD, and for eac3 it is much stronger that what our decoder does with drc_scale (BTW, you may want to turn it off for encoders and only default to using it when decoding to output, it may be a problem when you will finaly implement Atmos (copy some C# code from Cavern)).
comment:9 by , 2 years ago
"The AAC decoder cannot restore the original sound and produces a strange sound
libaac or fdk-aac is no problem."
Unless I misunderstood, which seems almost certain - are you in a position to post a sample ffmpeg commandline for decoding aac using fdk-aac library ?
Thanks
comment:10 by , 2 years ago
If you have a build with the libfdk-aac decoder, all you need to do is using -c as an input option: "-c:a libfdk_aac -i <input>". As usual, -c accepts a stream specifier.
Please attach the file to normal cloud storage.