View Full Version : how to set "seq_scaling_matrix_present_flag: 1" in x264?


alexv
24th December 2015, 18:24
I want make proper AVC-Intra with x264

MasterNobody
24th December 2015, 19:25
If you want proper AVC-Intra with x264 than use --avcintra-class <integer> option. I am dunno why you want seq_scaling_matrix_present_flag=1 param but x264 always write it to zero. For custom CQM x264 use PPS pic_scaling_matrix_present_flag not SPS seq_scaling_matrix_present_flag.

alexv
25th December 2015, 08:08
I check it (--avcintra-class) before posting!
Used software don't accept AVC-Intra from x264 (get error).
Original (Panasonic P2) AVC-Intra has seq_scaling_matrix_present_flag=1 and pic_scaling_matrix_present_flag=0!
Hard to make the switch between seq_scaling_matrix_present_flag and pic_scaling_matrix_present_flag?

LoRd_MuldeR
25th December 2015, 13:53
How do you know that "seq_scaling_matrix_present_flag" is really the particular reason why your software doesn't accept the AVC-Intra file?

Also, and even more important, what does the AVC-Intra standard say about this? As long as the stream produced by x264 is "valid" AVC-Intra, the problem would have to be fixed in the other software, not in x264.

If and only if x264 really produced "invalid" AVC-Intra, changing the current behavior of x264 would be worth considering...