Opened 2 years ago

Last modified 18 months 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

Attachments (1)

optc_cut.mp4 (2.4 MB ) - added by Carl Eugen Hoyos 19 months ago.

Change History (11)

comment:1 by Balling, 2 years ago

Please attach the file to normal cloud storage.

comment:2 by Balling, 2 years ago

Status: newopen

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
Last edited 2 years ago by Balling (previous) (diff)

comment:3 by Carl Eugen Hoyos, 20 months ago

Resolution: needs_more_info
Status: openclosed

comment:4 by Balling, 20 months ago

Resolution: needs_more_info
Status: closedreopened

Sample is here: https://0x0.st/optc.mp4

by Carl Eugen Hoyos, 19 months ago

Attachment: optc_cut.mp4 added

comment:5 by Carl Eugen Hoyos, 19 months ago

Keywords: mov added
Reproduced by developer: set
Status: reopenedopen

Not an obvious regression, issue disappears when remuxing to adts.

in reply to:  5 comment:6 by Balling, 19 months 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.

Last edited 19 months ago by Balling (previous) (diff)

comment:7 by Elon Musk, 19 months ago

Where are samples or you are spreading nonsense as usual.

in reply to:  7 comment:8 by Balling, 19 months 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)).

Last edited 19 months ago by Balling (previous) (diff)

comment:9 by hydra3333, 18 months 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

Last edited 18 months ago by hydra3333 (previous) (diff)

comment:10 by mkver, 18 months 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.

Note: See TracTickets for help on using tickets.