Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Is it possible to split and/or join HE-AAC v2 audio without artifacts? (Read 4989 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Is it possible to split and/or join HE-AAC v2 audio without artifacts?

Hi,
If I split a HE-AAC v2 file using a command such as:
$ ffmpeg -i <input file>.m4a -ss 99.1 -acodec copy <output file>.m4a
The output file that contains the second half of the audio stream contains numerous glitches or artifacts and even dropouts from the start of the output file.

I suspect this is due to some PS information that is missing from the previous frame or frames but I am not sure how this works really.

Is it possible to split a HE-AAC v2 file without causing glitches or artifacts in this way?  Could this be done by writing some kind of filter to reset the expected PS information?

Any help on this would be much appreciated.