1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavformat
Romain Beauxis a6a9e0fee7
libavformat/hlsenc.c: Populate OTI using AAC profile in write_codec_attr.
This patch populates the third entry for HLS codec attribute using the
AAC profile.

The HLS specifications[1] require this value to be the Object Type ID as
referred to in table 1.3 of ISO/IEC 14496-3:2009[2].

The numerical constants in the code refer to these OTIs minus one, as
documented in commit 372597e[3], confirmed by comparing the values in the
code with the values in the table mentioned above.

Links:
1: https://datatracker.ietf.org/doc/html/rfc6381#section-3.3
2: https://csclub.uwaterloo.ca/~ehashman/ISO14496-3-2009.pdf
3: 372597e538

Changes in this version:
- Default value set to "mp4a.40.2" when profile is unknown for backward
  compatibility.

Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
(cherry picked from commit 797f0b27c175022d896e46db4ac2873e3e0a70af)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-04-03 02:04:39 +02:00
..
2022-05-10 07:37:38 +02:00
2022-03-27 11:58:54 +02:00
2022-09-24 22:58:19 +02:00
2022-06-13 22:42:55 +02:00
2022-06-13 22:42:55 +02:00
2023-10-30 00:39:01 +01:00
2022-06-09 20:46:10 +02:00
2022-05-10 07:37:38 +02:00
2022-09-24 22:58:20 +02:00
2022-09-24 22:58:20 +02:00
2022-06-09 13:03:55 +03:00
2022-03-16 14:05:26 +02:00
2022-07-09 20:16:39 +02:00
2022-03-16 14:05:26 +02:00
2022-06-24 23:07:33 -03:00
2022-09-24 22:58:18 +02:00
2022-05-10 07:37:38 +02:00
2022-07-03 15:16:31 +02:00
2022-07-03 15:16:31 +02:00
2022-07-09 19:03:28 +02:00
2022-05-06 15:57:45 +02:00
2022-07-03 15:16:31 +02:00
2022-05-10 07:37:38 +02:00
2022-05-10 07:37:38 +02:00
2022-05-10 07:37:38 +02:00
2022-09-24 22:58:21 +02:00
2022-09-24 22:58:22 +02:00
2022-03-26 00:42:00 +02:00
2022-07-07 21:52:52 +02:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:37 -03:00
2022-03-15 09:42:38 -03:00
2023-10-30 00:39:13 +01:00
2023-10-30 00:39:11 +01:00
2022-03-15 09:42:38 -03:00
2022-03-16 14:05:26 +02:00
2022-07-13 00:27:37 +02:00
2023-02-11 11:51:11 +01:00
2022-03-15 09:42:38 -03:00
2022-05-10 07:37:38 +02:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:38 -03:00
2022-03-15 09:42:39 -03:00
2022-03-15 09:42:39 -03:00