[FFmpeg-cvslog] avformat/movenc: allow Apple Lossless inside mp4

Leo Izen git at videolan.org
Sun Nov 22 14:32:45 EET 2020


ffmpeg | branch: master | Leo Izen <leo.izen at gmail.com> | Fri Nov 20 11:38:31 2020 -0500| [f5dcaf2daa34d9cbe6e6ad13ea2c8a7ee43d0064] | committer: Jan Ekström

avformat/movenc: allow Apple Lossless inside mp4

The 'alac' identifier has been registered to ISO and thus towards
ISOBMFF at the MP4 registration authority. The existing non-MOV
mux mode matches the official ALAC-in-MP4 specification.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5dcaf2daa34d9cbe6e6ad13ea2c8a7ee43d0064
---

 libavformat/movenc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index fea8a86192..18fa3f9b5e 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7128,6 +7128,7 @@ static const AVCodecTag codec_mp4_tags[] = {
     { AV_CODEC_ID_VP9,             MKTAG('v', 'p', '0', '9') },
     { AV_CODEC_ID_AV1,             MKTAG('a', 'v', '0', '1') },
     { AV_CODEC_ID_AAC,             MKTAG('m', 'p', '4', 'a') },
+    { AV_CODEC_ID_ALAC,            MKTAG('a', 'l', 'a', 'c') },
     { AV_CODEC_ID_MP4ALS,          MKTAG('m', 'p', '4', 'a') },
     { AV_CODEC_ID_MP3,             MKTAG('m', 'p', '4', 'a') },
     { AV_CODEC_ID_MP2,             MKTAG('m', 'p', '4', 'a') },



More information about the ffmpeg-cvslog mailing list