protovision
9th May 2016, 22:44
I tried to compress my blu ray of Twister, but ended up with a lot of artifacts, especially when there are flashes of lightning (attached).
Here's the output while doing a test compress of the attached scene, any ideas what param I should change?
(2-pass):
set prefs1="-filter:v crop=1920:800 -f yuv4mpegpipe -pix_fmt yuv420p10le -strict -1 -loglevel error"
set prefs2="--preset slower --tune grain --profile main10 --output-depth 10 --bitrate 1800 --colormatrix bt709 --colorprim bt709 --transfer bt709"
ffmpeg.exe -t 15 -ss 00:01:50 -i orig.mkv %prefs1:"=% - | x265.exe %prefs2:"=% --pass 1 --stats r:\newstats.stats --y4m --output "r:\sample1.h265" -
ffmpeg.exe -t 15 -ss 00:01:50 -i orig.mkv %prefs1:"=% - | x265.exe %prefs2:"=% --pass 2 --stats r:\newstats.stats --y4m --output "r:\sample1.h265" -
y4m [info]: 1920x800 fps 24000/1001 i420p10 sar 1:1 unknown frame count
x265 [info]: HEVC encoder version 1.9+150-00ea3784bd36
x265 [info]: build info [Windows][GCC 4.8.2][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: Rc Grain removes qp fluctuations caused by aq/cutree, Disabling aq,cu-tree
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Lookahead / bframes / badapt : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 1 / on / off
x265 [info]: Rate Control / qCompress : ABR-1800 kbps / 0.60
x265 [info]: tools: limit-modes rd=2 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: early-skip signhide tmvp b-intra fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao stats-write
x265 [info]: frame I: 7, Avg QP:26.57 kb/s: 3620.24
x265 [info]: frame P: 77, Avg QP:26.79 kb/s: 3032.93
x265 [info]: frame B: 277, Avg QP:26.73 kb/s: 1220.70
x265 [info]: Weighted P-Frames: Y:15.6% UV:11.7%
x265 [info]: Weighted B-Frames: Y:14.4% UV:11.2%
x265 [info]: consecutive B-frames: 22.6% 7.1% 10.7% 13.1% 7.1% 20.2% 6.0% 8.3% 4.8%
encoded 361 frames in 65.72s (5.49 fps), 1653.77 kb/s, Avg QP:26.74
y4m [info]: 1920x800 fps 24000/1001 i420p10 sar 1:1 unknown frame count
x265 [info]: HEVC encoder version 1.9+150-00ea3784bd36
x265 [info]: build info [Windows][GCC 4.8.2][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: Rc Grain removes qp fluctuations caused by aq/cutree, Disabling aq,cu-tree
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Lookahead / bframes / badapt : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 4 / on / off
x265 [info]: Rate Control / qCompress : ABR-1800 kbps / 0.60
x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: signhide tmvp b-intra strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao stats-read
x265 [info]: frame I: 7, Avg QP:24.00 kb/s: 4719.52
x265 [info]: frame P: 77, Avg QP:26.06 kb/s: 2852.03
x265 [info]: frame B: 277, Avg QP:25.85 kb/s: 1394.18
x265 [info]: Weighted P-Frames: Y:16.9% UV:13.0%
x265 [info]: Weighted B-Frames: Y:14.8% UV:11.2%
x265 [info]: consecutive B-frames: 22.6% 7.1% 10.7% 13.1% 7.1% 20.2% 6.0% 8.3% 4.8%
encoded 361 frames in 357.72s (1.01 fps), 1769.62 kb/s, Avg QP:25.86
Press any key to continue . . .
Here's the output while doing a test compress of the attached scene, any ideas what param I should change?
(2-pass):
set prefs1="-filter:v crop=1920:800 -f yuv4mpegpipe -pix_fmt yuv420p10le -strict -1 -loglevel error"
set prefs2="--preset slower --tune grain --profile main10 --output-depth 10 --bitrate 1800 --colormatrix bt709 --colorprim bt709 --transfer bt709"
ffmpeg.exe -t 15 -ss 00:01:50 -i orig.mkv %prefs1:"=% - | x265.exe %prefs2:"=% --pass 1 --stats r:\newstats.stats --y4m --output "r:\sample1.h265" -
ffmpeg.exe -t 15 -ss 00:01:50 -i orig.mkv %prefs1:"=% - | x265.exe %prefs2:"=% --pass 2 --stats r:\newstats.stats --y4m --output "r:\sample1.h265" -
y4m [info]: 1920x800 fps 24000/1001 i420p10 sar 1:1 unknown frame count
x265 [info]: HEVC encoder version 1.9+150-00ea3784bd36
x265 [info]: build info [Windows][GCC 4.8.2][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: Rc Grain removes qp fluctuations caused by aq/cutree, Disabling aq,cu-tree
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge : dia / 57 / 2 / 1
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Lookahead / bframes / badapt : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 1 / on / off
x265 [info]: Rate Control / qCompress : ABR-1800 kbps / 0.60
x265 [info]: tools: limit-modes rd=2 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: early-skip signhide tmvp b-intra fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=4 deblock sao stats-write
x265 [info]: frame I: 7, Avg QP:26.57 kb/s: 3620.24
x265 [info]: frame P: 77, Avg QP:26.79 kb/s: 3032.93
x265 [info]: frame B: 277, Avg QP:26.73 kb/s: 1220.70
x265 [info]: Weighted P-Frames: Y:15.6% UV:11.7%
x265 [info]: Weighted B-Frames: Y:14.4% UV:11.2%
x265 [info]: consecutive B-frames: 22.6% 7.1% 10.7% 13.1% 7.1% 20.2% 6.0% 8.3% 4.8%
encoded 361 frames in 65.72s (5.49 fps), 1653.77 kb/s, Avg QP:26.74
y4m [info]: 1920x800 fps 24000/1001 i420p10 sar 1:1 unknown frame count
x265 [info]: HEVC encoder version 1.9+150-00ea3784bd36
x265 [info]: build info [Windows][GCC 4.8.2][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [warning]: Rc Grain removes qp fluctuations caused by aq/cutree, Disabling aq,cu-tree
x265 [info]: Main 10 profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 8 threads
x265 [info]: frame threads / pool features : 3 / wpp(13 rows)
x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 2 inter / 2 intra
x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Lookahead / bframes / badapt : 30 / 8 / 2
x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 1
x265 [info]: References / ref-limit cu / depth : 4 / on / off
x265 [info]: Rate Control / qCompress : ABR-1800 kbps / 0.60
x265 [info]: tools: rect amp limit-modes rd=6 psy-rd=2.00 rdoq=2 psy-rdoq=1.00
x265 [info]: tools: signhide tmvp b-intra strong-intra-smoothing lslices=4
x265 [info]: tools: deblock sao stats-read
x265 [info]: frame I: 7, Avg QP:24.00 kb/s: 4719.52
x265 [info]: frame P: 77, Avg QP:26.06 kb/s: 2852.03
x265 [info]: frame B: 277, Avg QP:25.85 kb/s: 1394.18
x265 [info]: Weighted P-Frames: Y:16.9% UV:13.0%
x265 [info]: Weighted B-Frames: Y:14.8% UV:11.2%
x265 [info]: consecutive B-frames: 22.6% 7.1% 10.7% 13.1% 7.1% 20.2% 6.0% 8.3% 4.8%
encoded 361 frames in 357.72s (1.01 fps), 1769.62 kb/s, Avg QP:25.86
Press any key to continue . . .