Yes, ffmpeg does not work, contrary to what the Internet echo camera tells you. At least not so. It is incredible how many of them should drool their wisdumb and spend all the time.
Here. Prove me wrong with the link, but this is what you want, and this is the only place you will see it. Tres simple.
ffmpeg -i file1.m4a -acodec copy file1.aac ffmpeg -i file2.m4a -acodec copy file2.aac cat file1.aac file2.aac >>filenew.aac ffmpeg -i filenew.aac -acodec copy -bsf:a aac_adtstoasc filenew.m4a
I compiled my own ffmpeg for additional libraries, so I hope this is one of the standard ones. If not, it is definitely worth the hassle. I could not verify this on the second system, but on my old Hardy Heron Ubuntu grunt system the merged file has all the necessary m4a metadata and tags and there are no changes in the sound quality.
source share