Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Scott Theisen <scott.the.elm@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH] libavformat/mpeg.c: add support for AAC LATM
Date: Fri, 21 Feb 2025 00:03:37 -0500
Message-ID: <1bc687a8-3117-4083-9124-1c327026f27f@gmail.com> (raw)
In-Reply-To: <20241114051606.882657-1-scott.the.elm@gmail.com>

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".

           reply	other threads:[~2025-02-21  5:03 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <20241114051606.882657-1-scott.the.elm@gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bc687a8-3117-4083-9124-1c327026f27f@gmail.com \
    --to=scott.the.elm@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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