Order of VPS, SPS, PPS of H265 in hvcC box is not correct #297
Labels
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
Issue summary
ffmpeg has error when playing output from shaka-packager:
Investigation
From shaka-packager/packager/media/codecs/h265_byte_to_unit_stream_converter.cc:76-93, parameter sets are written to buffer in order of SPS, PPS then VPS.
However, SPS has a dependency of VPS in H265, as SPS is referring to active VPS by
sps_video_parameter_set_id
in7.3.2.2.1 General sequence parameter set RBSP syntax
ofITU-T H.265
.Suggested fix
Error from ffmpeg is fixed by changing above code snippet into following:
The text was updated successfully, but these errors were encountered: