Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
18th January 2021, 11:31 | #1 | Link |
Registered User
Join Date: Jan 2021
Posts: 3
|
Bad macro block when using cavlc encoding
When using x264 do intra encoding with tune fastdecode, we found some frames got wrong outputs.
When using command line: x264 -o x264_test_sample_2.264 --input-fmt raw --input-res 3840x2160 --fps 50 --input-depth 10 --input-csp i422 --output-depth 10 --output-csp i422 --preset ultrafast --tune fastdecode --qp 12 --keyint 1 --slices 8 --no-cabac --threads 1 x264_test_sample_2.yuvWe got this:When using command line: x264 -o x264_test_sample_2.264 --input-fmt raw --input-res 3840x2160 --fps 50 --input-depth 10 --input-csp i422 --output-depth 10 --output-csp i422 --preset ultrafast --tune fastdecode --qp 11 --keyint 1 --slices 8 --no-cabac --threads 1 x264_test_sample_2.yuvWe got this:It seems the first micro block of slice 6 is corrupt encoded. The gray bar will disappear if we modify the Y value of pixel (0, 1344) from 721 to 711. The source YUV file: https://drive.google.com/file/d/1Wx3...ew?usp=sharing Hope somebody can help us to fix this problem. Thanks. |
21st January 2021, 11:34 | #2 | Link |
Registered User
Join Date: Jan 2021
Posts: 3
|
Below is the differences between qp 11 and qp 12:
Dequantized for qp 11: Dequantized for qp 12: Transform for qp 11: Transform for qp 12: Residual for qp 11: Residual for qp 12: Decoded for qp 11: Decoded for qp 12: Hope these can help to solve the problem. |
23rd January 2021, 23:34 | #5 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
|
Good find !
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
|
|