[FFmpeg-trac] #10813(ffmpeg:new): VP9 HLS encoding missing CODECS tag from playlist
FFmpeg
trac at avcodec.org
Sun Jan 21 05:52:46 EET 2024
#10813: VP9 HLS encoding missing CODECS tag from playlist
---------------------------------+---------------------------------------
Reporter: alexpls | Type: defect
Status: new | Priority: normal
Component: ffmpeg | Version: unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------+---------------------------------------
When encoding a VP9 stream using the HLS segmenter, the CODECS tag does
not appear within the HLS master playlist's #EXT-X-STREAM-INF.
Here's an example command, and the playlist it produces:
{{{
ffmpeg \
-i "Sintel_1080_10s_30MB.mp4" \
-c:v libvpx-vp9 -b:v 2000k \
-f hls \
-movflags frag_keyframe \
-hls_flags single_file \
-hls_segment_type mpegts \
-hls_list_size 0 \
-hls_time 6 \
-master_pl_name master.m3u8 \
-y \
encode/rendition_%v.m3u8
}}}
{{{
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-STREAM-INF:BANDWIDTH=2200000,RESOLUTION=1920x818
rendition_0.m3u8
}}}
Compare this to the behaviour for H.264 codec, where the CODECS tag is
included:
{{{
ffmpeg \
-i "Sintel_1080_10s_30MB.mp4" \
-c:v libx264 -b:v 2000k \
-f hls \
-movflags frag_keyframe \
-hls_flags single_file \
-hls_segment_type mpegts \
-hls_list_size 0 \
-hls_time 6 \
-master_pl_name master.m3u8 \
-y \
encode/rendition_%v.m3u8
}}}
{{{
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-STREAM-
INF:BANDWIDTH=2200000,RESOLUTION=1920x818,CODECS="avc1.640028"
rendition_0.m3u8
}}}
This seems similar to https://trac.ffmpeg.org/ticket/8904
I'm running ffmpeg version 6.1 on macOS Sonoma:
{{{
ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 15.0.0 (clang-1500.1.0.2.5)
configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.1-with-options_3
--enable-shared --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic'
--enable-gpl --enable-libaom --enable-libdav1d --enable-libmp3lame
--enable-libopus --enable-libsnappy --enable-libtheora --enable-libvorbis
--enable-libvpx --enable-libx264 --enable-libx265 --enable-libfontconfig
--enable-libfreetype --enable-frei0r --enable-libass --enable-demuxer=dash
--enable-opencl --enable-audiotoolbox --enable-videotoolbox --enable-neon
--disable-htmlpages --enable-libfdk-aac --enable-nonfree
}}}
Thanks!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10813>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list