Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* Re: [FFmpeg-devel] [PATCH] libavformat/mpeg.c: add support for AAC LATM
       [not found] <20241114051606.882657-1-scott.the.elm@gmail.com>
@ 2025-02-21  5:03 ` Scott Theisen
  0 siblings, 0 replies; only message in thread
From: Scott Theisen @ 2025-02-21  5:03 UTC (permalink / raw)
  To: ffmpeg-devel

On 11/14/24 00:15, Scott Theisen wrote:
> ISO/IEC 13818-1:2021 Table 2-34 – Stream type assignments
> defines 0x11 as ISO/IEC 14496-3 Audio with the LATM transport syntax as defined
> in ISO/IEC 14496-3.  This table applies to both Transport Streams and Program
> Streams.
> ---
>   libavformat/mpeg.c | 3 +++
>   libavformat/mpeg.h | 1 +
>   2 files changed, 4 insertions(+)
>
> diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
> index 2c766a4ee9..57562c1ee6 100644
> --- a/libavformat/mpeg.c
> +++ b/libavformat/mpeg.c
> @@ -541,6 +541,9 @@ redo:
>       } else if (es_type == STREAM_TYPE_AUDIO_AAC) {
>           codec_id = AV_CODEC_ID_AAC;
>           type     = AVMEDIA_TYPE_AUDIO;
> +    } else if (es_type == STREAM_TYPE_AUDIO_AAC_LATM) {
> +        codec_id = AV_CODEC_ID_AAC_LATM;
> +        type     = AVMEDIA_TYPE_AUDIO;
>       } else if (es_type == STREAM_TYPE_VIDEO_MPEG4) {
>           codec_id = AV_CODEC_ID_MPEG4;
>           type     = AVMEDIA_TYPE_VIDEO;
> diff --git a/libavformat/mpeg.h b/libavformat/mpeg.h
> index 20592eb184..341cf3902c 100644
> --- a/libavformat/mpeg.h
> +++ b/libavformat/mpeg.h
> @@ -54,6 +54,7 @@
>   #define STREAM_TYPE_PRIVATE_DATA    0x06
>   #define STREAM_TYPE_AUDIO_AAC       0x0f
>   #define STREAM_TYPE_VIDEO_MPEG4     0x10
> +#define STREAM_TYPE_AUDIO_AAC_LATM  0x11
>   #define STREAM_TYPE_VIDEO_H264      0x1b
>   #define STREAM_TYPE_VIDEO_HEVC      0x24
>   #define STREAM_TYPE_VIDEO_VVC       0x33

Ping?  Rebased onto master cleanly.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-21  5:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20241114051606.882657-1-scott.the.elm@gmail.com>
2025-02-21  5:03 ` [FFmpeg-devel] [PATCH] libavformat/mpeg.c: add support for AAC LATM Scott Theisen

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git