James Almer
85d4df3873
avformat/vvc: fix parsing sps_subpic_id
...
The length of the sps_subpic_id[i] syntax element is sps_subpic_id_len_minus1 + 1 bits.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 2d84ee3745 )
2024-05-22 17:52:30 -03:00
James Almer
1a6995c6d6
avformat/vvc: initialize some ptl flags
...
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 3bd7e3a336 )
2024-05-22 17:52:27 -03:00
James Almer
a8b8b1042f
avformat/vvc: fix parsing some early VPS bitstream values
...
vps_default_ptl_dpb_hrd_max_tid_flag needs to always be set, and
vps_direct_ref_layer_flag needs to be read even when
vps_max_tid_ref_present_flag is false.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit a48203d51a )
2024-05-20 14:27:42 -03:00
James Almer
5f23eecfba
avformat/vvc: fix writing general_constraint_info bytes
...
The existing implementation was completely broken.
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 415dfa89e2 )
2024-05-20 14:27:42 -03:00
Thomas Siedel
aa3155e4c2
avformat/mp4: add muxer support for H266/VVC
...
Add muxer for vvcc byte stream format.
Add AV_CODEC_ID_VVC to ff_mp4_obj_type.
Add AV_CODEC_ID_VVC to ISO Media codec (VvcConfigurationBox vvi1,
vvc1 defined in ISO/IEC 14496-15:2021).
Add VvcConfigurationBox vvcC which extends FullBox type in
ISO/IEC 14496-15:2021.
Tested with:
ffmpeg -i NovosobornayaSquare_1920x1080.mp4 -c:v libvvenc test.mp4 && ffmpeg -i test.mp4 -f null -
ffmpeg -i NovosobornayaSquare_1920x1080.mp4 -c:v copy test.mp4 && ffmpeg -i test.mp4 -f md5 -
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Thomas Siedel <thomas.ff@spin-digital.com>
Co-Authored-By: Nuo Mi <nuomi2021@gmail.com>
2024-01-31 22:14:12 +08:00