[x264-devel] Entry into Scaling List
BugMaster
BugMaster at narod.ru
Mon Jul 23 19:35:27 CEST 2012
On Mon, 23 Jul 2012 11:00:47 +0100, ST wrote:
> Post your full command line.
> x264 --profile high422 --level 4.1 -I 1 -i 1 -b 0 -r 0 --no-cabac
> --bitrate 100000 --8x8dct --partitions i8x8 --nr 100 --videoformat
> component --range pc --colorprim bt709 --colormatrix bt709
> --transfer bt709 --overscan show --tff --chroma-qp-offset 5 --cqm4ic
> 16,20,26,32,20,26,32,38,26,32,38,44,32,38,44,50 --cqm8i
> 16,19,20,23,24,26,32,42,18,19,22,24,26,32,36,42,18,20,23,24,26,32,36,63,19,20,23,26,32,36,42,63,20,22,24,26,32,36,59,63,22,23,24,26,32,36,59,68,22,23,24,26,32,42,59,68,22,23,24,26,36,42,59,72
> --nal-hrd cbr --pic-struct --aud --fps 25 -v --muxer raw -o $2 $1
> Which gives the following Picture Parameter Set:
> Nal length 25 start code 4 bytes
> ref 3 type 8 Picture parameter set
> pic_parameter_set_id: 0
> seq_parameter_set_id: 0
> entropy_coding_mode_flag: 0
> pic_order_present_flag: 1
> num_slice_groups_minus1: 0
> num_ref_idx_l0_active_minus1: 0
> num_ref_idx_l1_active_minus1: 0
> weighted_pred_flag: 0
> weighted_bipred_idc: 0
> pic_init_qp_minus26: 0
> pic_init_qs_minus26: 0
> chroma_qp_index_offset: 3
> deblocking_filter_control_present_flag: 1
> constrained_intra_pred_flag: 0
> redundant_pic_cnt_present_flag: 0
> transform_8x8_mode_flag: 1
> pic_scaling_matrix_present_flag: 1
> Pic Scaling List[0] Present Flag: 0
> Pic Scaling List[1] Present Flag: 1
> delta: 8
> scaling list[1][0]: 16
> delta: 4
> scaling list[1][1]: 20
> delta: 0
> scaling list[1][2]: 20
> delta: 6
> scaling list[1][3]: 26
> delta: 0
> scaling list[1][4]: 26
> delta: 0
> scaling list[1][5]: 26
> delta: 6
> scaling list[1][6]: 32
> delta: 0
> scaling list[1][7]: 32
> delta: 0
> scaling list[1][8]: 32
> delta: 0
> scaling list[1][9]: 32
> delta: 6
> scaling list[1][10]: 38
> delta: 0
> scaling list[1][11]: 38
> delta: 0
> scaling list[1][12]: 38
> delta: 6
> scaling list[1][13]: 44
> delta: 0
> scaling list[1][14]: 44
> delta: 6
> scaling list[1][15]: 50
> Pic Scaling List[2] Present Flag: 1
> delta: 8
> scaling list[2][0]: 16
> delta: 4
> scaling list[2][1]: 20
> delta: 0
> scaling list[2][2]: 20
> delta: 6
> scaling list[2][3]: 26
> delta: 0
> scaling list[2][4]: 26
> delta: 0
> scaling list[2][5]: 26
> delta: 6
> scaling list[2][6]: 32
> delta: 0
> scaling list[2][7]: 32
> delta: 0
> scaling list[2][8]: 32
> delta: 0
> scaling list[2][9]: 32
> delta: 6
> scaling list[2][10]: 38
> delta: 0
> scaling list[2][11]: 38
> delta: 0
> scaling list[2][12]: 38
> delta: 6
> scaling list[2][13]: 44
> delta: 0
> scaling list[2][14]: 44
> delta: 6
> scaling list[2][15]: 50
> Pic Scaling List[3] Present Flag: 0
> Pic Scaling List[4] Present Flag: 0
> Pic Scaling List[5] Present Flag: 0
> Pic Scaling List[6] Present Flag: 0
> Pic Scaling List[7] Present Flag: 0
> second_chroma_qp_index_offset: 0
Your parse output for sure doesn't correspond for this command line (it
not only have incorrect scaling lists but also have
"second_chroma_qp_index_offset: 0" which should be
"second_chroma_qp_index_offset: 3" for your command line).
So if you use sometype of GUI than make sure it doesn't add --cqmfile
or --cqm <filename> options in $2 or $1 args. Also make sure that you
use correct output file for parsing. If possible upload encoded sample.
I tried your command line with different builds (8/10-bit, build
myself or precompiled) and all of them resulted in correct output:
Nal length 65 start code 4 bytes
ref 3 type 8 Picture parameter set
pic_parameter_set_id: 0
seq_parameter_set_id: 0
entropy_coding_mode_flag: 0
pic_order_present_flag: 0
num_slice_groups_minus1: 0
num_ref_idx_l0_active_minus1: 0
num_ref_idx_l1_active_minus1: 0
weighted_pred_flag: 0
weighted_bipred_idc: 0
pic_init_qp_minus26: 0
pic_init_qs_minus26: 0
chroma_qp_index_offset: 3
deblocking_filter_control_present_flag: 1
constrained_intra_pred_flag: 0
redundant_pic_cnt_present_flag: 0
transform_8x8_mode_flag: 1
pic_scaling_matrix_present_flag: 1
Pic Scaling List[0] Present Flag: 1
delta: 8
scaling list[0][0]: 16
delta: -16
scaling list[0][1]: 16
scaling list[0][2]: 16
scaling list[0][3]: 16
scaling list[0][4]: 16
scaling list[0][5]: 16
scaling list[0][6]: 16
scaling list[0][7]: 16
scaling list[0][8]: 16
scaling list[0][9]: 16
scaling list[0][10]: 16
scaling list[0][11]: 16
scaling list[0][12]: 16
scaling list[0][13]: 16
scaling list[0][14]: 16
scaling list[0][15]: 16
Pic Scaling List[1] Present Flag: 1
delta: 8
scaling list[1][0]: 16
delta: 4
scaling list[1][1]: 20
delta: 0
scaling list[1][2]: 20
delta: 6
scaling list[1][3]: 26
delta: 0
scaling list[1][4]: 26
delta: 0
scaling list[1][5]: 26
delta: 6
scaling list[1][6]: 32
delta: 0
scaling list[1][7]: 32
delta: 0
scaling list[1][8]: 32
delta: 0
scaling list[1][9]: 32
delta: 6
scaling list[1][10]: 38
delta: 0
scaling list[1][11]: 38
delta: 0
scaling list[1][12]: 38
delta: 6
scaling list[1][13]: 44
delta: 0
scaling list[1][14]: 44
delta: 6
scaling list[1][15]: 50
Pic Scaling List[2] Present Flag: 0
Pic Scaling List[3] Present Flag: 1
delta: 8
scaling list[3][0]: 16
delta: -16
scaling list[3][1]: 16
scaling list[3][2]: 16
scaling list[3][3]: 16
scaling list[3][4]: 16
scaling list[3][5]: 16
scaling list[3][6]: 16
scaling list[3][7]: 16
scaling list[3][8]: 16
scaling list[3][9]: 16
scaling list[3][10]: 16
scaling list[3][11]: 16
scaling list[3][12]: 16
scaling list[3][13]: 16
scaling list[3][14]: 16
scaling list[3][15]: 16
Pic Scaling List[4] Present Flag: 0
Pic Scaling List[5] Present Flag: 0
Pic Scaling List[6] Present Flag: 1
delta: 8
scaling list[6][0]: 16
delta: 3
scaling list[6][1]: 19
delta: -1
scaling list[6][2]: 18
delta: 0
scaling list[6][3]: 18
delta: 1
scaling list[6][4]: 19
delta: 1
scaling list[6][5]: 20
delta: 3
scaling list[6][6]: 23
delta: -1
scaling list[6][7]: 22
delta: -2
scaling list[6][8]: 20
delta: -1
scaling list[6][9]: 19
delta: 1
scaling list[6][10]: 20
delta: 0
scaling list[6][11]: 20
delta: 3
scaling list[6][12]: 23
delta: 1
scaling list[6][13]: 24
delta: 0
scaling list[6][14]: 24
delta: 2
scaling list[6][15]: 26
delta: 0
scaling list[6][16]: 26
delta: -2
scaling list[6][17]: 24
delta: -1
scaling list[6][18]: 23
delta: -1
scaling list[6][19]: 22
delta: 0
scaling list[6][20]: 22
delta: 0
scaling list[6][21]: 22
delta: 1
scaling list[6][22]: 23
delta: 1
scaling list[6][23]: 24
delta: 2
scaling list[6][24]: 26
delta: 0
scaling list[6][25]: 26
delta: 6
scaling list[6][26]: 32
delta: 0
scaling list[6][27]: 32
delta: 10
scaling list[6][28]: 42
delta: -6
scaling list[6][29]: 36
delta: -4
scaling list[6][30]: 32
delta: 0
scaling list[6][31]: 32
delta: -6
scaling list[6][32]: 26
delta: -2
scaling list[6][33]: 24
delta: -1
scaling list[6][34]: 23
delta: -1
scaling list[6][35]: 22
delta: 1
scaling list[6][36]: 23
delta: 1
scaling list[6][37]: 24
delta: 2
scaling list[6][38]: 26
delta: 6
scaling list[6][39]: 32
delta: 4
scaling list[6][40]: 36
delta: 0
scaling list[6][41]: 36
delta: 6
scaling list[6][42]: 42
delta: 21
scaling list[6][43]: 63
delta: -21
scaling list[6][44]: 42
delta: -6
scaling list[6][45]: 36
delta: -4
scaling list[6][46]: 32
delta: -6
scaling list[6][47]: 26
delta: -2
scaling list[6][48]: 24
delta: 2
scaling list[6][49]: 26
delta: 6
scaling list[6][50]: 32
delta: 4
scaling list[6][51]: 36
delta: 23
scaling list[6][52]: 59
delta: 4
scaling list[6][53]: 63
delta: 0
scaling list[6][54]: 63
delta: -4
scaling list[6][55]: 59
delta: -17
scaling list[6][56]: 42
delta: -6
scaling list[6][57]: 36
delta: 6
scaling list[6][58]: 42
delta: 17
scaling list[6][59]: 59
delta: 9
scaling list[6][60]: 68
delta: 0
scaling list[6][61]: 68
delta: -9
scaling list[6][62]: 59
delta: 13
scaling list[6][63]: 72
Pic Scaling List[7] Present Flag: 1
delta: 8
scaling list[7][0]: 16
delta: -16
scaling list[7][1]: 16
scaling list[7][2]: 16
scaling list[7][3]: 16
scaling list[7][4]: 16
scaling list[7][5]: 16
scaling list[7][6]: 16
scaling list[7][7]: 16
scaling list[7][8]: 16
scaling list[7][9]: 16
scaling list[7][10]: 16
scaling list[7][11]: 16
scaling list[7][12]: 16
scaling list[7][13]: 16
scaling list[7][14]: 16
scaling list[7][15]: 16
scaling list[7][16]: 16
scaling list[7][17]: 16
scaling list[7][18]: 16
scaling list[7][19]: 16
scaling list[7][20]: 16
scaling list[7][21]: 16
scaling list[7][22]: 16
scaling list[7][23]: 16
scaling list[7][24]: 16
scaling list[7][25]: 16
scaling list[7][26]: 16
scaling list[7][27]: 16
scaling list[7][28]: 16
scaling list[7][29]: 16
scaling list[7][30]: 16
scaling list[7][31]: 16
scaling list[7][32]: 16
scaling list[7][33]: 16
scaling list[7][34]: 16
scaling list[7][35]: 16
scaling list[7][36]: 16
scaling list[7][37]: 16
scaling list[7][38]: 16
scaling list[7][39]: 16
scaling list[7][40]: 16
scaling list[7][41]: 16
scaling list[7][42]: 16
scaling list[7][43]: 16
scaling list[7][44]: 16
scaling list[7][45]: 16
scaling list[7][46]: 16
scaling list[7][47]: 16
scaling list[7][48]: 16
scaling list[7][49]: 16
scaling list[7][50]: 16
scaling list[7][51]: 16
scaling list[7][52]: 16
scaling list[7][53]: 16
scaling list[7][54]: 16
scaling list[7][55]: 16
scaling list[7][56]: 16
scaling list[7][57]: 16
scaling list[7][58]: 16
scaling list[7][59]: 16
scaling list[7][60]: 16
scaling list[7][61]: 16
scaling list[7][62]: 16
scaling list[7][63]: 16
second_chroma_qp_index_offset: 3
More information about the x264-devel
mailing list