Hallo,
der Tip von Kopernikus mit h264_parse war gut. Auch wenn ich per graphedit erst eine RAW-Datei draus machen mußte (wo Selur sich überall rumtreibt
)
h264 zeigt z.B. meine Encodingeinstellungen:
Code:
cabac=1 ref=6 deblock=1:1:1 analyse=0x3:0x133 me=hex subme=6 brdo=1 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 chroma_qp_offset=0 slices=1 nr=0 bframes=4 b_pyramid=1 b_adapt=1 b_bias=30 direct=2 wpredb=1 bime=1 keyint=300 keyint_min=25 scenecut=40 rc=2pass bitrate=490 ratetol=1.0 rceq='blurCplx^(1-qComp)' qcomp=0.60 qpmin=10 qpmax=51 qpstep=8 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 pb_ratio=1.30.
Dann folgen die Info's zu den einzelnen Frames:
Nal length 987 start code 4 bytes
ref 3 type 5 Coded slice of an IDR picture
first_mb_in_slice: 0
slice_type: 7 (I)
pic_parameter_set_id: 0
frame_num: 0 (10 bits)
idr_pic_id: 0
pic_order_cnt_lsb: 0
Nal length 1482 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 5 (P)
pic_parameter_set_id: 0
frame_num: 1 (10 bits)
pic_order_cnt_lsb: 10
Nal is new picture
Nal length 615 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 6 (B)
pic_parameter_set_id: 0
frame_num: 2 (10 bits)
pic_order_cnt_lsb: 6
Nal is new picture
Nal length 291 start code 4 bytes
ref 0 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 6 (B)
pic_parameter_set_id: 0
frame_num: 2 (10 bits)
pic_order_cnt_lsb: 2
Nal is new picture
Nal length 323 start code 4 bytes
ref 0 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 6 (B)
pic_parameter_set_id: 0
frame_num: 2 (10 bits)
pic_order_cnt_lsb: 4
Nal is new picture
Nal length 339 start code 4 bytes
ref 0 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 6 (B)
pic_parameter_set_id: 0
frame_num: 2 (10 bits)
pic_order_cnt_lsb: 8
Nal is new picture
Das war von, jetzt kommt ganz hinten:
Nal length 3878 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 5 (P)
pic_parameter_set_id: 0
frame_num: 2 (10 bits)
pic_order_cnt_lsb: 4
Nal is new picture
Nal length 4833 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 5 (P)
pic_parameter_set_id: 0
frame_num: 3 (10 bits)
pic_order_cnt_lsb: 6
Nal is new picture
Nal length 3753 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 5 (P)
pic_parameter_set_id: 0
frame_num: 4 (10 bits)
pic_order_cnt_lsb: 8
Nal is new picture
Nal length 2548 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 5 (P)
pic_parameter_set_id: 0
frame_num: 5 (10 bits)
pic_order_cnt_lsb: 10
Nal is new picture
Nal length 2429 start code 4 bytes
ref 2 type 1 Coded slice of non-IDR picture
first_mb_in_slice: 0
slice_type: 5 (P)
pic_parameter_set_id: 0
frame_num: 6 (10 bits)
pic_order_cnt_lsb: 12
Nal is new picture
Das Ergebnis verwirrt mich etwas. Was heißt "frame_num" und "pic_order_cnt_lsb"? Eine Duchnummerierung gibt's ja nicht, der Film hat (geschätzt) > 100000 frames.
Gruß
akapuma