On 28/11/2023 14:39, Evgeny Pavlov wrote:
On Mon, Nov 27, 2023 at 8:47 PM Mark Thompson <s...@jkqxz.net> wrote:

There is something very wrong with how the header information is working
here.

With this series applied, I ran:

ffmpeg_g.exe -report -y -i in.mp4 -an -c:v hevc_amf -bsf:v trace_headers
-frames:v 1 out.mp4

My input file is:

    Stream #0:0[0x1](und), 60, 1/60000: Video: hevc (Main 10) (hvc1 /
0x31637668), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1
DAR 16:9], 74462 kb/s, 59.94 fps, 59.94 tbr, 60k tbn (default)

[trace_headers @ 0000023184c753c0] Extradata
[trace_headers @ 0000023184c753c0] Sequence Parameter Set
...
[trace_headers @ 0000023184c753c0] 222
  vui_parameters_present_flag                                 0 = 0

So no colour information at all in the headers, and the output file indeed
says:

    Stream #0:0[0x1](und): Video: hevc (Main 10) (hev1 / 0x31766568),
yuv420p10le(tv, progressive), 3840x2160, 977 kb/s, SAR 1:1 DAR 16:9, 59.94
fps, 59.94 tbr, 60k tbn (default)

However!  Reading further:

[trace_headers @ 0000023184c753c0] Packet: 2039 bytes, key frame, pts 0,
dts 0.
...
[trace_headers @ 0000023184c753c0] Sequence Parameter Set
...
[trace_headers @ 0000023184c753c0] 222
  vui_parameters_present_flag                                 1 = 1
[trace_headers @ 0000023184c753c0] 223
  aspect_ratio_info_present_flag                              1 = 1
[trace_headers @ 0000023184c753c0] 224         aspect_ratio_idc
                          11111111 = 255
[trace_headers @ 0000023184c753c0] 232         sar_width
                   0000000000000001 = 1
[trace_headers @ 0000023184c753c0] 248         sar_height
                  0000000000000001 = 1
[trace_headers @ 0000023184c753c0] 264         overscan_info_present_flag
                                 0 = 0
[trace_headers @ 0000023184c753c0] 265
  video_signal_type_present_flag                              1 = 1
[trace_headers @ 0000023184c753c0] 266         video_format
                               101 = 5
[trace_headers @ 0000023184c753c0] 269         video_full_range_flag
                                  0 = 0
[trace_headers @ 0000023184c753c0] 270
  colour_description_present_flag                             1 = 1
[trace_headers @ 0000023184c753c0] 271         colour_primaries
                          00001001 = 9
[trace_headers @ 0000023184c753c0] 279         transfer_characteristics
                          00010000 = 16
[trace_headers @ 0000023184c753c0] 287         matrix_coefficients
                           00001001 = 9
[trace_headers @ 0000023184c753c0] 295
  chroma_loc_info_present_flag                                0 = 0
[trace_headers @ 0000023184c753c0] 296
  neutral_chroma_indication_flag                              0 = 0
[trace_headers @ 0000023184c753c0] 297         field_seq_flag
                                 0 = 0
[trace_headers @ 0000023184c753c0] 298
  frame_field_info_present_flag                               0 = 0
[trace_headers @ 0000023184c753c0] 299
  default_display_window_flag                                 0 = 0
[trace_headers @ 0000023184c753c0] 300
  vui_timing_info_present_flag                                1 = 1
[trace_headers @ 0000023184c753c0] 301         vui_num_units_in_tick
   00000000000000000000001111101001 = 1001
[trace_headers @ 0000023184c753c0] 333         vui_time_scale
  00000000000000001110101001100000 = 60000
[trace_headers @ 0000023184c753c0] 365
  vui_poc_proportional_to_timing_flag                         1 = 1
[trace_headers @ 0000023184c753c0] 366
  vui_num_ticks_poc_diff_one_minus1                           1 = 0

Comparing the to the original, the chroma sample location (collocated
top-left in the original, so the implied default is wrong) has been lost
but the colours are otherwise correct in the extraneous headers embedded in
the first packet.

So the colour information has kindof been passed through, except not in
the place in the headers which matters so it is mostly useless.  (I guess
it maybe works for raw streams with no headers?)

I think you need to fix whatever is making the headers not match the
actual stream content (which creates invalid files, mp4 and similar
containers with global headers need them to match).

Thanks,

- Mark


Could you test this issue with the latest AMD 23.11.1 driver? This issue
looks similar to issue #9195 in OBS Studio
https://github.com/obsproject/obs-studio/issues/9195. It was fixed in the
latest AMD driver.

I upgraded to 23.11.1 and see no change - the colour information is still 
missing in the header but not the stream, and the two different sequence 
parameter sets are identical to what they were before the change.

Can you share what your trace_headers output looks like for the out-of-band and 
in-band parameter sets?  Are they identical for you?  Mine below.

Thanks,

- Mark


[trace_headers @ 0000023184c753c0] Extradata

[trace_headers @ 0000023184c753c0] Sequence Parameter Set

[trace_headers @ 0000023184c753c0] 0           forbidden_zero_bit               
                           0 = 0

[trace_headers @ 0000023184c753c0] 1           nal_unit_type                    
                      100001 = 33

[trace_headers @ 0000023184c753c0] 7           nuh_layer_id                     
                      000000 = 0

[trace_headers @ 0000023184c753c0] 13          nuh_temporal_id_plus1            
                         001 = 1

[trace_headers @ 0000023184c753c0] 16          sps_video_parameter_set_id       
                        0000 = 0

[trace_headers @ 0000023184c753c0] 20          sps_max_sub_layers_minus1        
                         000 = 0

[trace_headers @ 0000023184c753c0] 23          sps_temporal_id_nesting_flag     
                           1 = 1

[trace_headers @ 0000023184c753c0] 24          general_profile_space            
                          00 = 0

[trace_headers @ 0000023184c753c0] 26          general_tier_flag                
                           0 = 0

[trace_headers @ 0000023184c753c0] 27          general_profile_idc              
                       00010 = 2

[trace_headers @ 0000023184c753c0] 32          
general_profile_compatibility_flag[0]                       0 = 0

[trace_headers @ 0000023184c753c0] 33          
general_profile_compatibility_flag[1]                       0 = 0

[trace_headers @ 0000023184c753c0] 34          
general_profile_compatibility_flag[2]                       1 = 1

[trace_headers @ 0000023184c753c0] 35          
general_profile_compatibility_flag[3]                       0 = 0

[trace_headers @ 0000023184c753c0] 36          
general_profile_compatibility_flag[4]                       0 = 0

[trace_headers @ 0000023184c753c0] 37          
general_profile_compatibility_flag[5]                       0 = 0

[trace_headers @ 0000023184c753c0] 38          
general_profile_compatibility_flag[6]                       0 = 0

[trace_headers @ 0000023184c753c0] 39          
general_profile_compatibility_flag[7]                       0 = 0

[trace_headers @ 0000023184c753c0] 40          
general_profile_compatibility_flag[8]                       0 = 0

[trace_headers @ 0000023184c753c0] 41          
general_profile_compatibility_flag[9]                       0 = 0

[trace_headers @ 0000023184c753c0] 42          
general_profile_compatibility_flag[10]                      0 = 0

[trace_headers @ 0000023184c753c0] 43          
general_profile_compatibility_flag[11]                      0 = 0

[trace_headers @ 0000023184c753c0] 44          
general_profile_compatibility_flag[12]                      0 = 0

[trace_headers @ 0000023184c753c0] 45          
general_profile_compatibility_flag[13]                      0 = 0

[trace_headers @ 0000023184c753c0] 46          
general_profile_compatibility_flag[14]                      0 = 0

[trace_headers @ 0000023184c753c0] 47          
general_profile_compatibility_flag[15]                      0 = 0

[trace_headers @ 0000023184c753c0] 48          
general_profile_compatibility_flag[16]                      0 = 0

[trace_headers @ 0000023184c753c0] 49          
general_profile_compatibility_flag[17]                      0 = 0

[trace_headers @ 0000023184c753c0] 50          
general_profile_compatibility_flag[18]                      0 = 0

[trace_headers @ 0000023184c753c0] 51          
general_profile_compatibility_flag[19]                      0 = 0

[trace_headers @ 0000023184c753c0] 52          
general_profile_compatibility_flag[20]                      0 = 0

[trace_headers @ 0000023184c753c0] 53          
general_profile_compatibility_flag[21]                      0 = 0

[trace_headers @ 0000023184c753c0] 54          
general_profile_compatibility_flag[22]                      0 = 0

[trace_headers @ 0000023184c753c0] 55          
general_profile_compatibility_flag[23]                      0 = 0

[trace_headers @ 0000023184c753c0] 56          
general_profile_compatibility_flag[24]                      0 = 0

[trace_headers @ 0000023184c753c0] 57          
general_profile_compatibility_flag[25]                      0 = 0

[trace_headers @ 0000023184c753c0] 58          
general_profile_compatibility_flag[26]                      0 = 0

[trace_headers @ 0000023184c753c0] 59          
general_profile_compatibility_flag[27]                      0 = 0

[trace_headers @ 0000023184c753c0] 60          
general_profile_compatibility_flag[28]                      0 = 0

[trace_headers @ 0000023184c753c0] 61          
general_profile_compatibility_flag[29]                      0 = 0

[trace_headers @ 0000023184c753c0] 62          
general_profile_compatibility_flag[30]                      0 = 0

[trace_headers @ 0000023184c753c0] 63          
general_profile_compatibility_flag[31]                      0 = 0

[trace_headers @ 0000023184c753c0] 64          general_progressive_source_flag  
                           1 = 1

[trace_headers @ 0000023184c753c0] 65          general_interlaced_source_flag   
                           0 = 0

[trace_headers @ 0000023184c753c0] 66          
general_non_packed_constraint_flag                          1 = 1

[trace_headers @ 0000023184c753c0] 67          
general_frame_only_constraint_flag                          1 = 1

[trace_headers @ 0000023184c753c0] 68          general_reserved_zero_7bits      
                     0000000 = 0

[trace_headers @ 0000023184c753c0] 75          
general_one_picture_only_constraint_flag                    0 = 0

[trace_headers @ 0000023184c753c0] 76          general_reserved_zero_35bits     
    000000000000000000000000 = 0

[trace_headers @ 0000023184c753c0] 100         general_reserved_zero_35bits     
                 00000000000 = 0

[trace_headers @ 0000023184c753c0] 111         general_inbld_flag               
                           0 = 0

[trace_headers @ 0000023184c753c0] 112         general_level_idc                
                    10111010 = 186

[trace_headers @ 0000023184c753c0] 120         sps_seq_parameter_set_id         
                           1 = 0

[trace_headers @ 0000023184c753c0] 121         chroma_format_idc                
                         010 = 1

[trace_headers @ 0000023184c753c0] 124         pic_width_in_luma_samples        
     00000000000111100000001 = 3840

[trace_headers @ 0000023184c753c0] 147         pic_height_in_luma_samples       
     00000000000100001110001 = 2160

[trace_headers @ 0000023184c753c0] 170         conformance_window_flag          
                           0 = 0

[trace_headers @ 0000023184c753c0] 171         bit_depth_luma_minus8            
                         011 = 2

[trace_headers @ 0000023184c753c0] 174         bit_depth_chroma_minus8          
                         011 = 2

[trace_headers @ 0000023184c753c0] 177         
log2_max_pic_order_cnt_lsb_minus4                           1 = 0

[trace_headers @ 0000023184c753c0] 178         
sps_sub_layer_ordering_info_present_flag                    0 = 0

[trace_headers @ 0000023184c753c0] 179         
sps_max_dec_pic_buffering_minus1[0]                       010 = 1

[trace_headers @ 0000023184c753c0] 182         sps_max_num_reorder_pics[0]      
                           1 = 0

[trace_headers @ 0000023184c753c0] 183         
sps_max_latency_increase_plus1[0]                           1 = 0

[trace_headers @ 0000023184c753c0] 184         
log2_min_luma_coding_block_size_minus3                      1 = 0

[trace_headers @ 0000023184c753c0] 185         
log2_diff_max_min_luma_coding_block_size                00100 = 3

[trace_headers @ 0000023184c753c0] 190         
log2_min_luma_transform_block_size_minus2                   1 = 0

[trace_headers @ 0000023184c753c0] 191         
log2_diff_max_min_luma_transform_block_size             00100 = 3

[trace_headers @ 0000023184c753c0] 196         
max_transform_hierarchy_depth_inter                     00101 = 4

[trace_headers @ 0000023184c753c0] 201         
max_transform_hierarchy_depth_intra                     00101 = 4

[trace_headers @ 0000023184c753c0] 206         scaling_list_enabled_flag        
                           0 = 0

[trace_headers @ 0000023184c753c0] 207         amp_enabled_flag                 
                           1 = 1

[trace_headers @ 0000023184c753c0] 208         
sample_adaptive_offset_enabled_flag                         1 = 1

[trace_headers @ 0000023184c753c0] 209         pcm_enabled_flag                 
                           0 = 0

[trace_headers @ 0000023184c753c0] 210         num_short_term_ref_pic_sets      
                         010 = 1

[trace_headers @ 0000023184c753c0] 213         num_negative_pics                
                         010 = 1

[trace_headers @ 0000023184c753c0] 216         num_positive_pics                
                           1 = 0

[trace_headers @ 0000023184c753c0] 217         delta_poc_s0_minus1[0]           
                           1 = 0

[trace_headers @ 0000023184c753c0] 218         used_by_curr_pic_s0_flag[0]      
                           1 = 1

[trace_headers @ 0000023184c753c0] 219         long_term_ref_pics_present_flag  
                           0 = 0

[trace_headers @ 0000023184c753c0] 220         sps_temporal_mvp_enabled_flag    
                           0 = 0

[trace_headers @ 0000023184c753c0] 221         
strong_intra_smoothing_enabled_flag                         0 = 0

[trace_headers @ 0000023184c753c0] 222         vui_parameters_present_flag      
                           0 = 0

[trace_headers @ 0000023184c753c0] 223         sps_extension_present_flag       
                           0 = 0

[trace_headers @ 0000023184c753c0] 224         rbsp_stop_one_bit                
                           1 = 1

[trace_headers @ 0000023184c753c0] 225         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 226         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 227         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 228         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 229         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 230         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 231         rbsp_alignment_zero_bit          
                           0 = 0


[trace_headers @ 0000023184c753c0] Packet: 2039 bytes, key frame, pts 0, dts 0.

...
[trace_headers @ 0000023184c753c0] Sequence Parameter Set

[trace_headers @ 0000023184c753c0] 0           forbidden_zero_bit               
                           0 = 0

[trace_headers @ 0000023184c753c0] 1           nal_unit_type                    
                      100001 = 33

[trace_headers @ 0000023184c753c0] 7           nuh_layer_id                     
                      000000 = 0

[trace_headers @ 0000023184c753c0] 13          nuh_temporal_id_plus1            
                         001 = 1

[trace_headers @ 0000023184c753c0] 16          sps_video_parameter_set_id       
                        0000 = 0

[trace_headers @ 0000023184c753c0] 20          sps_max_sub_layers_minus1        
                         000 = 0

[trace_headers @ 0000023184c753c0] 23          sps_temporal_id_nesting_flag     
                           1 = 1

[trace_headers @ 0000023184c753c0] 24          general_profile_space            
                          00 = 0

[trace_headers @ 0000023184c753c0] 26          general_tier_flag                
                           0 = 0

[trace_headers @ 0000023184c753c0] 27          general_profile_idc              
                       00010 = 2

[trace_headers @ 0000023184c753c0] 32          
general_profile_compatibility_flag[0]                       0 = 0

[trace_headers @ 0000023184c753c0] 33          
general_profile_compatibility_flag[1]                       0 = 0

[trace_headers @ 0000023184c753c0] 34          
general_profile_compatibility_flag[2]                       1 = 1

[trace_headers @ 0000023184c753c0] 35          
general_profile_compatibility_flag[3]                       0 = 0

[trace_headers @ 0000023184c753c0] 36          
general_profile_compatibility_flag[4]                       0 = 0

[trace_headers @ 0000023184c753c0] 37          
general_profile_compatibility_flag[5]                       0 = 0

[trace_headers @ 0000023184c753c0] 38          
general_profile_compatibility_flag[6]                       0 = 0

[trace_headers @ 0000023184c753c0] 39          
general_profile_compatibility_flag[7]                       0 = 0

[trace_headers @ 0000023184c753c0] 40          
general_profile_compatibility_flag[8]                       0 = 0

[trace_headers @ 0000023184c753c0] 41          
general_profile_compatibility_flag[9]                       0 = 0

[trace_headers @ 0000023184c753c0] 42          
general_profile_compatibility_flag[10]                      0 = 0

[trace_headers @ 0000023184c753c0] 43          
general_profile_compatibility_flag[11]                      0 = 0

[trace_headers @ 0000023184c753c0] 44          
general_profile_compatibility_flag[12]                      0 = 0

[trace_headers @ 0000023184c753c0] 45          
general_profile_compatibility_flag[13]                      0 = 0

[trace_headers @ 0000023184c753c0] 46          
general_profile_compatibility_flag[14]                      0 = 0

[trace_headers @ 0000023184c753c0] 47          
general_profile_compatibility_flag[15]                      0 = 0

[trace_headers @ 0000023184c753c0] 48          
general_profile_compatibility_flag[16]                      0 = 0

[trace_headers @ 0000023184c753c0] 49          
general_profile_compatibility_flag[17]                      0 = 0

[trace_headers @ 0000023184c753c0] 50          
general_profile_compatibility_flag[18]                      0 = 0

[trace_headers @ 0000023184c753c0] 51          
general_profile_compatibility_flag[19]                      0 = 0

[trace_headers @ 0000023184c753c0] 52          
general_profile_compatibility_flag[20]                      0 = 0

[trace_headers @ 0000023184c753c0] 53          
general_profile_compatibility_flag[21]                      0 = 0

[trace_headers @ 0000023184c753c0] 54          
general_profile_compatibility_flag[22]                      0 = 0

[trace_headers @ 0000023184c753c0] 55          
general_profile_compatibility_flag[23]                      0 = 0

[trace_headers @ 0000023184c753c0] 56          
general_profile_compatibility_flag[24]                      0 = 0

[trace_headers @ 0000023184c753c0] 57          
general_profile_compatibility_flag[25]                      0 = 0

[trace_headers @ 0000023184c753c0] 58          
general_profile_compatibility_flag[26]                      0 = 0

[trace_headers @ 0000023184c753c0] 59          
general_profile_compatibility_flag[27]                      0 = 0

[trace_headers @ 0000023184c753c0] 60          
general_profile_compatibility_flag[28]                      0 = 0

[trace_headers @ 0000023184c753c0] 61          
general_profile_compatibility_flag[29]                      0 = 0

[trace_headers @ 0000023184c753c0] 62          
general_profile_compatibility_flag[30]                      0 = 0

[trace_headers @ 0000023184c753c0] 63          
general_profile_compatibility_flag[31]                      0 = 0

[trace_headers @ 0000023184c753c0] 64          general_progressive_source_flag  
                           1 = 1

[trace_headers @ 0000023184c753c0] 65          general_interlaced_source_flag   
                           0 = 0

[trace_headers @ 0000023184c753c0] 66          
general_non_packed_constraint_flag                          1 = 1

[trace_headers @ 0000023184c753c0] 67          
general_frame_only_constraint_flag                          1 = 1

[trace_headers @ 0000023184c753c0] 68          general_reserved_zero_7bits      
                     0000000 = 0

[trace_headers @ 0000023184c753c0] 75          
general_one_picture_only_constraint_flag                    0 = 0

[trace_headers @ 0000023184c753c0] 76          general_reserved_zero_35bits     
    000000000000000000000000 = 0

[trace_headers @ 0000023184c753c0] 100         general_reserved_zero_35bits     
                 00000000000 = 0

[trace_headers @ 0000023184c753c0] 111         general_inbld_flag               
                           0 = 0

[trace_headers @ 0000023184c753c0] 112         general_level_idc                
                    10111010 = 186

[trace_headers @ 0000023184c753c0] 120         sps_seq_parameter_set_id         
                           1 = 0

[trace_headers @ 0000023184c753c0] 121         chroma_format_idc                
                         010 = 1

[trace_headers @ 0000023184c753c0] 124         pic_width_in_luma_samples        
     00000000000111100000001 = 3840

[trace_headers @ 0000023184c753c0] 147         pic_height_in_luma_samples       
     00000000000100001110001 = 2160

[trace_headers @ 0000023184c753c0] 170         conformance_window_flag          
                           0 = 0

[trace_headers @ 0000023184c753c0] 171         bit_depth_luma_minus8            
                         011 = 2

[trace_headers @ 0000023184c753c0] 174         bit_depth_chroma_minus8          
                         011 = 2

[trace_headers @ 0000023184c753c0] 177         
log2_max_pic_order_cnt_lsb_minus4                           1 = 0

[trace_headers @ 0000023184c753c0] 178         
sps_sub_layer_ordering_info_present_flag                    0 = 0

[trace_headers @ 0000023184c753c0] 179         
sps_max_dec_pic_buffering_minus1[0]                       010 = 1

[trace_headers @ 0000023184c753c0] 182         sps_max_num_reorder_pics[0]      
                           1 = 0

[trace_headers @ 0000023184c753c0] 183         
sps_max_latency_increase_plus1[0]                           1 = 0

[trace_headers @ 0000023184c753c0] 184         
log2_min_luma_coding_block_size_minus3                      1 = 0

[trace_headers @ 0000023184c753c0] 185         
log2_diff_max_min_luma_coding_block_size                00100 = 3

[trace_headers @ 0000023184c753c0] 190         
log2_min_luma_transform_block_size_minus2                   1 = 0

[trace_headers @ 0000023184c753c0] 191         
log2_diff_max_min_luma_transform_block_size             00100 = 3

[trace_headers @ 0000023184c753c0] 196         
max_transform_hierarchy_depth_inter                     00101 = 4

[trace_headers @ 0000023184c753c0] 201         
max_transform_hierarchy_depth_intra                     00101 = 4

[trace_headers @ 0000023184c753c0] 206         scaling_list_enabled_flag        
                           0 = 0

[trace_headers @ 0000023184c753c0] 207         amp_enabled_flag                 
                           1 = 1

[trace_headers @ 0000023184c753c0] 208         
sample_adaptive_offset_enabled_flag                         1 = 1

[trace_headers @ 0000023184c753c0] 209         pcm_enabled_flag                 
                           0 = 0

[trace_headers @ 0000023184c753c0] 210         num_short_term_ref_pic_sets      
                         010 = 1

[trace_headers @ 0000023184c753c0] 213         num_negative_pics                
                         010 = 1

[trace_headers @ 0000023184c753c0] 216         num_positive_pics                
                           1 = 0

[trace_headers @ 0000023184c753c0] 217         delta_poc_s0_minus1[0]           
                           1 = 0

[trace_headers @ 0000023184c753c0] 218         used_by_curr_pic_s0_flag[0]      
                           1 = 1

[trace_headers @ 0000023184c753c0] 219         long_term_ref_pics_present_flag  
                           0 = 0

[trace_headers @ 0000023184c753c0] 220         sps_temporal_mvp_enabled_flag    
                           0 = 0

[trace_headers @ 0000023184c753c0] 221         
strong_intra_smoothing_enabled_flag                         0 = 0

[trace_headers @ 0000023184c753c0] 222         vui_parameters_present_flag      
                           1 = 1

[trace_headers @ 0000023184c753c0] 223         aspect_ratio_info_present_flag   
                           1 = 1

[trace_headers @ 0000023184c753c0] 224         aspect_ratio_idc                 
                    11111111 = 255

[trace_headers @ 0000023184c753c0] 232         sar_width                        
            0000000000000001 = 1

[trace_headers @ 0000023184c753c0] 248         sar_height                       
            0000000000000001 = 1

[trace_headers @ 0000023184c753c0] 264         overscan_info_present_flag       
                           0 = 0

[trace_headers @ 0000023184c753c0] 265         video_signal_type_present_flag   
                           1 = 1

[trace_headers @ 0000023184c753c0] 266         video_format                     
                         101 = 5

[trace_headers @ 0000023184c753c0] 269         video_full_range_flag            
                           0 = 0

[trace_headers @ 0000023184c753c0] 270         colour_description_present_flag  
                           1 = 1

[trace_headers @ 0000023184c753c0] 271         colour_primaries                 
                    00001001 = 9

[trace_headers @ 0000023184c753c0] 279         transfer_characteristics         
                    00010000 = 16

[trace_headers @ 0000023184c753c0] 287         matrix_coefficients              
                    00001001 = 9

[trace_headers @ 0000023184c753c0] 295         chroma_loc_info_present_flag     
                           0 = 0

[trace_headers @ 0000023184c753c0] 296         neutral_chroma_indication_flag   
                           0 = 0

[trace_headers @ 0000023184c753c0] 297         field_seq_flag                   
                           0 = 0

[trace_headers @ 0000023184c753c0] 298         frame_field_info_present_flag    
                           0 = 0

[trace_headers @ 0000023184c753c0] 299         default_display_window_flag      
                           0 = 0

[trace_headers @ 0000023184c753c0] 300         vui_timing_info_present_flag     
                           1 = 1

[trace_headers @ 0000023184c753c0] 301         vui_num_units_in_tick        
00000000000000000000001111101001 = 1001

[trace_headers @ 0000023184c753c0] 333         vui_time_scale               
00000000000000001110101001100000 = 60000

[trace_headers @ 0000023184c753c0] 365         
vui_poc_proportional_to_timing_flag                         1 = 1

[trace_headers @ 0000023184c753c0] 366         
vui_num_ticks_poc_diff_one_minus1                           1 = 0

[trace_headers @ 0000023184c753c0] 367         vui_hrd_parameters_present_flag  
                           0 = 0

[trace_headers @ 0000023184c753c0] 368         bitstream_restriction_flag       
                           0 = 0

[trace_headers @ 0000023184c753c0] 369         sps_extension_present_flag       
                           0 = 0

[trace_headers @ 0000023184c753c0] 370         rbsp_stop_one_bit                
                           1 = 1

[trace_headers @ 0000023184c753c0] 371         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 372         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 373         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 374         rbsp_alignment_zero_bit          
                           0 = 0

[trace_headers @ 0000023184c753c0] 375         rbsp_alignment_zero_bit          
                           0 = 0


(Note also that the extradata has the VPS at the end (after the SPS which 
refers to it), while the first packet has them in the right order.)
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to