Update the list of supported video mimetypes.

Add VP9 and APV codecs to the list of supported video mimetypes for Mp4Muxer and Fragmented Mp4Muxer.

PiperOrigin-RevId: 728603222
(cherry picked from commit 1461e9e93a94e2cb27c096dea2c6c2eee934c3df)
This commit is contained in:
Googler 2025-02-19 03:52:26 -08:00 committed by oceanjules
parent 41062d3910
commit 13e14b8e31
2 changed files with 6 additions and 2 deletions

View File

@ -151,7 +151,9 @@ public final class FragmentedMp4Muxer implements AutoCloseable {
MimeTypes.VIDEO_H263,
MimeTypes.VIDEO_H264,
MimeTypes.VIDEO_H265,
MimeTypes.VIDEO_MP4V);
MimeTypes.VIDEO_MP4V,
MimeTypes.VIDEO_VP9,
MimeTypes.VIDEO_APV);
/** A list of supported audio {@linkplain MimeTypes sample MIME types}. */
public static final ImmutableList<String> SUPPORTED_AUDIO_SAMPLE_MIME_TYPES =

View File

@ -354,7 +354,9 @@ public final class Mp4Muxer implements AutoCloseable {
MimeTypes.VIDEO_H263,
MimeTypes.VIDEO_H264,
MimeTypes.VIDEO_H265,
MimeTypes.VIDEO_MP4V);
MimeTypes.VIDEO_MP4V,
MimeTypes.VIDEO_VP9,
MimeTypes.VIDEO_APV);
/** A list of supported audio {@linkplain MimeTypes sample MIME types}. */
public static final ImmutableList<String> SUPPORTED_AUDIO_SAMPLE_MIME_TYPES =