Skip to content

Commit

Permalink
FFMPEG: add support for streamed AV1
Browse files Browse the repository at this point in the history
Support mp4 and mkv AV1 media streams

Signed-off-by: Stéphane Cerveau <scerveau@igalia.com>
  • Loading branch information
dabrain34 authored and zlatinski committed Oct 28, 2024
1 parent 1564669 commit 41a88df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vk_video_decoder/libs/VkDecoderUtils/FFmpegDemuxer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ class FFmpegDemuxer : public VideoStreamDemuxer {
bsf = av_bsf_get_by_name("h264_mp4toannexb");
} else if (videoCodec == AV_CODEC_ID_HEVC) {
bsf = av_bsf_get_by_name("hevc_mp4toannexb");
} else if (videoCodec == AV_CODEC_ID_AV1) {
bsf = av_bsf_get_by_name("av1_metadata");
}

if (!bsf) {
Expand Down

0 comments on commit 41a88df

Please sign in to comment.