[FFmpeg-trac] #7480(avformat:new): HEVC codec info string
FFmpeg
trac at avcodec.org
Mon Oct 8 18:37:04 EEST 2018
#7480: HEVC codec info string
----------------------------------+--------------------------------------
Reporter: tbucher | Type: defect
Status: new | Priority: normal
Component: avformat | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
{{{ffmpeg -f lavfi -i testsrc -t 4 -c:v libx265 -tag:v hvc1 -x265-params
no-opengop=1:no-scenecut=1:keyint=100:strict-cbr=1 -b:v 3M -bufsize 1500k
-vf scale=-2:1080,format=yuv420p -use_timeline 1 -use_template 1
-single_file 0 -adaptation_sets "id=0,streams=0" -seg_duration 4
-hls_playlist 1 -init_seg_name "init_$RepresentationID$.m4s"
-media_seg_name "seg_$RepresentationID$_$Number%06d$.m4s" -y -f dash
manifest.mpd}}}
should insert proper codec info string for HEVC both into master.m3u8 and
manifest.mpd.
However, even though the tag is forced as {{{hvc1}}}, the resulting codec
info string is {{{hev1}}} in both manifest types, which is ignoring the
forced tag or generated hvc1 box and it is not complete as specified by
ISO, it is missing profile, level, etc.
resulting truncated master.m3u8
{{{#EXT-X-STREAM-
INF:BANDWIDTH=3002056,RESOLUTION=1440x1080,CODECS="hev1"}}}
resulting truncated manifest.mpd
{{{<Representation id="0" mimeType="video/mp4" codecs="hev1"
bandwidth="3000000" width="1440" height="1080" frameRate="25/1">}}}
Especially m3u8 is now problematic since native decoder in Safari is
refusing such m3u8 playlist.
Inserting CODECS tag into master.m3u8 playlist is a recently commited
feature, removing this tag or replacing the {{{hev1}}} value with one
based on ISO makes the stream in Safari playable again.
Not including FFmpeg log as it is irrelevant.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7480>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list