Thanks for responses. That explains problems I had.
The player I use (mpv) doesn't seem to have a problem with an "in-band" method.
Of course, it's desirable to have an exactly matching video.
I found options that seem to work for some settings (used x264 for tests):
Code:
Stream:
Slices = 4 (--slices 4)
IDR every 72 frame (--keyint 72)
No B-frames (--bframes 0)
Framerate = 24 (--fps 24000/1000)
Video Format = YUV420 (--output-csp i420)
SPS:
profile_idc = 100 (--profile high)
max_num_ref_frames = 1 (--ref 1)
PPS:
weighted_pred_flag = 0 (--weightp 0)
pic_init_qp_minus26 = 0 (--qp 26)
chroma_qp_index_offset = 0 (--subme 1 or 2)
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?
Quote:
Originally Posted by Selur
Code:
as reported by ffprobe and MediaInfo
best use raw streams and h264_parse and compare it's output
|
This one by drmpeg? (
https://forum.doom9.org/showthread.php?t=167170)