v2.8 CLI: --aq-mode 0 leads to set up --aq-strength to 0
Issue #411
closed
Thanks for ability to report an issues with no register and login process! I remember 2 years ago it was need to register first.
Trace "AQ: mode / str" encoder output and CLI parameters.
Terminal output (and output file header has this params also):
[m@pc Desktop]$ nice -n 19 vspipe --y4m World_Cup_2018_vs.py - | nice -n 19 x265 --y4m - --preset veryslow --crf 20 --output test.hevc --output-depth 12 --pools '2' --wpp --no-pme --no-pmode --frame-threads 1 --lookahead-slices 0 --lookahead-threads 0 --b-adapt 2 --b-intra --b-pyramid --bframes 16 --copy-pic --crf-max 51 --crf-min 0 --limit-refs 0 --limit-tu 0 --max-merge 5 --no-amp --no-limit-modes --psnr --qcomp 0.5 --qpstep 100 --rd 4 --ref 6 --rskip --ssim --subme 7 --tu-inter-depth 4 --tu-intra-depth 4 --vbv-bufsize 2000000 --vbv-init 0.99 --vbv-maxrate 50000 --weightb --weightp --rc-lookahead 25
y4m [info]: 1920x1080 fps 50/1 i420p10 unknown frame count
raw [info]: output file: test.hevc
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Linux][GCC 8.1.0][64 bit] 12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: --psnr used with psy on: results will be invalid!
x265 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x265 [info]: Main 12 profile, Level-5 (High tier)
x265 [info]: Thread pool created using 2 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 1 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 4 inter / 4 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 7 / 5
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 16 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 6 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.50
x265 [info]: VBV/HRD buffer / max-rate / init : 2000000 / 50000 / 0.990
x265 [info]: tools: rect rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip signhide
x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock sao
Output 28 frames in 3.84 seconds (7.29 fps)
x265 [info]: frame I: 1, Avg QP:21.11 kb/s: 50290.00 PSNR Mean: Y:44.621 U:45.343 V:46.373 SSIM Mean: 0.987129 (18.904dB)
x265 [info]: frame P: 6, Avg QP:23.20 kb/s: 10138.33 PSNR Mean: Y:44.617 U:45.403 V:46.686 SSIM Mean: 0.987076 (18.886dB)
x265 [info]: frame B: 21, Avg QP:30.91 kb/s: 1201.85 PSNR Mean: Y:44.569 U:45.443 V:46.761 SSIM Mean: 0.987526 (19.040dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: Weighted B-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 14.3% 0.0% 0.0% 57.1% 14.3% 14.3% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
encoded 28 frames in 84.48s (0.33 fps), 4869.96 kb/s, Avg QP:28.91, Global PSNR: 44.956, SSIM Mean Y: 0.9874154 (19.002 dB)
[m@pc Desktop]$ nice -n 19 vspipe --y4m World_Cup_2018_vs.py - | nice -n 19 x265 --y4m - --preset veryslow --aq-strength 0 --crf 20 --output test.hevc --output-depth 12 --pools '2' --wpp --no-pme --no-pmode --frame-threads 1 --lookahead-slices 0 --lookahead-threads 0 --b-adapt 2 --b-intra --b-pyramid --bframes 16 --copy-pic --crf-max 51 --crf-min 0 --limit-refs 0 --limit-tu 0 --max-merge 5 --no-amp --no-limit-modes --psnr --qcomp 0.5 --qpstep 100 --rd 4 --ref 6 --rskip --ssim --subme 7 --tu-inter-depth 4 --tu-intra-depth 4 --vbv-bufsize 2000000 --vbv-init 0.99 --vbv-maxrate 50000 --weightb --weightp --rc-lookahead 25
y4m [info]: 1920x1080 fps 50/1 i420p10 unknown frame count
raw [info]: output file: test.hevc
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Linux][GCC 8.1.0][64 bit] 12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: --psnr used with psy on: results will be invalid!
x265 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x265 [info]: Main 12 profile, Level-5 (High tier)
x265 [info]: Thread pool created using 2 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 1 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 4 inter / 4 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 7 / 5
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 16 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 6 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.50
x265 [info]: VBV/HRD buffer / max-rate / init : 2000000 / 50000 / 0.990
x265 [info]: tools: rect rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip signhide
x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock sao
Output 28 frames in 3.74 seconds (7.49 fps)
x265 [info]: frame I: 1, Avg QP:23.67 kb/s: 43854.40 PSNR Mean: Y:44.505 U:45.242 V:46.869 SSIM Mean: 0.983127 (17.728dB)
x265 [info]: frame P: 6, Avg QP:25.60 kb/s: 9058.40 PSNR Mean: Y:44.491 U:45.254 V:47.041 SSIM Mean: 0.984181 (18.008dB)
x265 [info]: frame B: 21, Avg QP:31.19 kb/s: 1170.02 PSNR Mean: Y:44.494 U:45.272 V:47.100 SSIM Mean: 0.984697 (18.152dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: Weighted B-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 14.3% 0.0% 0.0% 57.1% 14.3% 14.3% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
encoded 28 frames in 80.24s (0.35 fps), 4384.83 kb/s, Avg QP:29.72, Global PSNR: 44.913, SSIM Mean Y: 0.9845306 (18.105 dB)
[m@pc Desktop]$ nice -n 19 vspipe --y4m World_Cup_2018_vs.py - | nice -n 19 x265 --y4m - --preset veryslow --aq-mode 0 --crf 20 --output test.hevc --output-depth 12 --pools '2' --wpp --no-pme --no-pmode --frame-threads 1 --lookahead-slices 0 --lookahead-threads 0 --b-adapt 2 --b-intra --b-pyramid --bframes 16 --copy-pic --crf-max 51 --crf-min 0 --limit-refs 0 --limit-tu 0 --max-merge 5 --no-amp --no-limit-modes --psnr --qcomp 0.5 --qpstep 100 --rd 4 --ref 6 --rskip --ssim --subme 7 --tu-inter-depth 4 --tu-intra-depth 4 --vbv-bufsize 2000000 --vbv-init 0.99 --vbv-maxrate 50000 --weightb --weightp --rc-lookahead 25
y4m [info]: 1920x1080 fps 50/1 i420p10 unknown frame count
raw [info]: output file: test.hevc
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Linux][GCC 8.1.0][64 bit] 12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: --psnr used with psy on: results will be invalid!
x265 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x265 [info]: Main 12 profile, Level-5 (High tier)
x265 [info]: Thread pool created using 2 threads
x265 [info]: Slices : 1
x265 [info]: frame threads / pool features : 1 / wpp(17 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 4 inter / 4 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 7 / 5
x265 [info]: Keyframe min / max / scenecut / bias: 25 / 250 / 40 / 5.00
x265 [info]: Lookahead / bframes / badapt : 25 / 16 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 6 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress : CRF-20.0 / 0.50
x265 [info]: VBV/HRD buffer / max-rate / init : 2000000 / 50000 / 0.990
x265 [info]: tools: rect rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 rskip signhide
x265 [info]: tools: tmvp b-intra strong-intra-smoothing deblock sao
Output 28 frames in 3.69 seconds (7.59 fps)
x265 [info]: frame I: 1, Avg QP:23.67 kb/s: 43854.40 PSNR Mean: Y:44.505 U:45.242 V:46.869 SSIM Mean: 0.983127 (17.728dB)
x265 [info]: frame P: 6, Avg QP:25.60 kb/s: 9058.40 PSNR Mean: Y:44.491 U:45.254 V:47.041 SSIM Mean: 0.984181 (18.008dB)
x265 [info]: frame B: 21, Avg QP:31.19 kb/s: 1170.02 PSNR Mean: Y:44.494 U:45.272 V:47.100 SSIM Mean: 0.984697 (18.152dB)
x265 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
x265 [info]: Weighted B-Frames: Y:0.0% UV:0.0%
x265 [info]: consecutive B-frames: 14.3% 0.0% 0.0% 57.1% 14.3% 14.3% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0%
encoded 28 frames in 84.62s (0.33 fps), 4384.83 kb/s, Avg QP:29.72, Global PSNR: 44.913, SSIM Mean Y: 0.9845306 (18.105 dB)
[m@pc Desktop]$ x265 -V
x265 [info]: HEVC encoder version 2.8
x265 [info]: build info [Linux][GCC 8.1.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[m@pc Desktop]$
Environment:
GNU/Linux: Manjaro. Octopi info:
x265
Open Source H265/HEVC video encoder
URL
https://bitbucket.org/multicoreware/x265
Version
2.8-1
Licences
GPL
Provides
libx265.so=160-64
Depends On
gcc-libs
Required By
ffmpeg
Optional For
vlc
Download Size
0.00 Bytes
Installed Size
19.09 MiB
Packager
Maxime Gauduin <alucryd@archlinux.org>
Architecture
x86_64
Build Date
Fri - 25/05/2018 13:26:16
Install Reason
Installed as a dependency for another package
I have 10bit 2160p50 source video
and VapourSynth script:
from vapoursynth import core
video = core.ffms2.Source(source='1.mkv')
video = core.std.Trim(video, first=(50*(0*60*60 + 20*60 + 20)) + 7910 + 2150, length=28)
video = core.resize.Bicubic(clip=video, width=1920, height=1080)
video = core.text.FrameNum(video, alignment=7)
video.set_output()
Need any additional info?
If not:
Is it the issue?
Can you reproduce it?
Thanks!
Comments (2)
-
-
- changed status to closed
- Log in to comment
I am able to reproduce it, nothing wrong in it. By default aq-mode is 1 and aq-strength is 1.f. It makes sense to reset aq-strength when you are setting aq-mode to zero. Because of that reason your last two runs produce same result.