View Single Post
Old 2nd May 2018, 15:55   #18  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
Quote:
Originally Posted by NailBomber View Post
I still don't know how to set some other settings.

Intra-frames:
Code:
original:
slice_type = 2
nal_ref_idc = 3
nal_unit_type = 5

generated:
slice_type = 7
nal_ref_idc = 3
nal_unit_type = 5
P-frames:
Code:
original:
slice_type = 0
nal_ref_idc = 3
nal_unit_type = 1

generated:
slice_type = 5
nal_ref_idc = 2
nal_unit_type = 1
Also original video has log2_max_frame_num_minus4 = 4.

What settings could be used to fix those?
The differences in slice_type are just a good indication that they were made by different encoders; slice_type 5-9 mean exactly the same as 0-4 except 5-9 also mean, "oh, and by the way all the other slices in this frame will have this value too." Technically they could otherwise be different, though in practice this only appears with intra-refresh. nal_ref_idc should never affect decoding, only the priority level for dropping frames by the transport layer when congested.
foxyshadis is offline   Reply With Quote