Skip to content

Commit 41a88df

Browse files
dabrain34zlatinski
authored andcommitted
FFMPEG: add support for streamed AV1
Support mp4 and mkv AV1 media streams Signed-off-by: Stéphane Cerveau <scerveau@igalia.com>
1 parent 1564669 commit 41a88df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vk_video_decoder/libs/VkDecoderUtils/FFmpegDemuxer.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ class FFmpegDemuxer : public VideoStreamDemuxer {
138138
bsf = av_bsf_get_by_name("h264_mp4toannexb");
139139
} else if (videoCodec == AV_CODEC_ID_HEVC) {
140140
bsf = av_bsf_get_by_name("hevc_mp4toannexb");
141+
} else if (videoCodec == AV_CODEC_ID_AV1) {
142+
bsf = av_bsf_get_by_name("av1_metadata");
141143
}
142144

143145
if (!bsf) {

0 commit comments

Comments
 (0)