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 April 2018, 19:48 | #6041 | Link | |
Registered User
Join Date: Dec 2014
Posts: 240
|
Quote:
Code:
--crf 17 --profile main10 --level-idc 5.1 --output-depth 10 --ctu 32 --amp --vbv-bufsize 160000 --vbv-maxrate 160000 --me star --max-merge 5 --rc-lookahead 40 --lookahead-slices 4 --gop-lookahead 34 --ref 5 --hdr --hdr-opt --repeat-headers --no-info --no-deblock --no-sao --no-strong-intra-smoothing --high-tier --refine-inter 3 --refine-intra 4 Warning: Code:
x265 [warning]: Intra refinement requires analysis load, analysis-reuse-level 10, scale factor. Disabling intra refine. x265 [warning]: Inter refinement requires analysis load, analysis-reuse-level 10, scale factor. Disabling inter refine. Last edited by jlpsvk; 18th April 2018 at 20:10. |
|
18th April 2018, 21:47 | #6042 | Link | |
Registered User
Join Date: Nov 2003
Location: Germany, Berlin
Posts: 48
|
So far no success for me running the avx512 option on my 7820x on Windows 10 64it. I tried
Code:
ffmpeg -i source.mkv -f yuv4mpegpipe - | x265.exe --preset slow --asm avx512 --crf 21 --y4m - -o dest.h265 I ran Code:
x265.exe -V && x265.exe --asm avx2 -V && x265.exe --asm avx512 -V Code:
x265 [info]: HEVC encoder version 2.7+340-aa9102400f24 x265 [info]: build info [Windows][MSVC 1900][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: HEVC encoder version 2.7+340-aa9102400f24 x265 [info]: build info [Windows][MSVC 1900][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: HEVC encoder version 2.7+340-aa9102400f24 x265 [info]: build info [Windows][MSVC 1900][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 Quote:
Am I missing something? Last edited by Loomes; 18th April 2018 at 22:16. |
|
18th April 2018, 22:45 | #6043 | Link | |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Quote:
__________________
madVR options explained |
|
18th April 2018, 22:57 | #6044 | Link | |
Registered User
Join Date: Nov 2003
Location: Germany, Berlin
Posts: 48
|
Quote:
|
|
18th April 2018, 23:22 | #6045 | Link | |
Registered User
Join Date: Feb 2015
Posts: 326
|
Quote:
I want to precise: x265.exe from package avx512-patch.7z gives in your OS output: x265 --asm avx512 -V x265 [info]: build info [Windows][MSVC 1900][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512 ? |
|
19th April 2018, 01:18 | #6046 | Link | |
Registered User
Join Date: Nov 2003
Location: Germany, Berlin
Posts: 48
|
Quote:
Last edited by Loomes; 19th April 2018 at 01:22. |
|
19th April 2018, 06:31 | #6047 | Link | |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
Quote:
C:\Tools\avs2pipemod.exe -y4mp=1:1 %1 | C:\Tools\x265.exe --input - --y4m -o "D:\Temp\%~n1.mkv" --asm avx512 --preset veryslow --crf 18.5 --output-depth 10 edit: "x265 --asm avx512 -V" gives: x265 [info]: HEVC encoder version 2.7+340-aa9102400f24 x265 [info]: build info [Windows][GCC 7.3.0][64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
__________________
madVR options explained Last edited by Asmodian; 19th April 2018 at 06:34. |
|
19th April 2018, 11:38 | #6048 | Link | |
Registered User
Join Date: Feb 2015
Posts: 326
|
Quote:
I've prepared some binaries to narrow this bug -- avx512-bisect2.7z. x265-0.exe -- 10-bit encoder with commented out all avx512 function pointers (it works on my i7 8700 with --asm avx512 option). It is for check if the bug is before avx512 code is running but the execution path is exactly like in avx512 case. x265-01.exe -- assigned only first 1/4 function pointers with avx512 code. x265-02.exe -- assigned only second 1/4 function pointers with avx512 code. x265-03.exe -- assigned only third 1/4 function pointers with avx512 code. x265-04.exe -- assigned only last 1/4 function pointers with avx512 code. Could you test these 5 exe's and report back which works and which not? |
|
19th April 2018, 13:56 | #6050 | Link | |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
|
Quote:
Thats really the problem with using the --asm option, it overrides the CPU/OS feature detection, a different option to enable it when present would be better.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
19th April 2018, 22:42 | #6051 | Link | |
Registered User
Join Date: Nov 2003
Location: Germany, Berlin
Posts: 48
|
Quote:
Code:
ffmpeg-2018-04-18.exe -i source.mkv -c:v libx265 -x265-params crf=21 -preset slow -pix_fmt yuv420p10le -bsf hevc_mp4toannexb -f rawvideo target.h265 Code:
ffmpeg-2018-03-24.exe -i source.mkv -f yuv4mpegpipe - | x265-0.exe --preset slow --crf 21 --y4m - -o target.h265 This is really weird. Let me know if I can provide you any more info of my system or do some more tests. Last edited by Loomes; 19th April 2018 at 23:23. |
|
20th April 2018, 00:06 | #6052 | Link |
Registered User
Join Date: Feb 2015
Posts: 326
|
Thanks for the details. It is quite a riddle.
On Win7 everything is OK, x265-0 should work (all avx512 code is not active), x265-0x should crash. On Win10 it is interesting -- in your 2 examples it is no '--asm avx512' option. It crashes without avx512 too? Is something special with your Win10, for example it works in VirtualBox? |
20th April 2018, 00:15 | #6053 | Link | ||
Registered User
Join Date: Nov 2003
Location: Germany, Berlin
Posts: 48
|
Quote:
Quote:
Is it possible that there is something special about the 7820x CPU? |
||
20th April 2018, 08:41 | #6054 | Link | |
Registered User
Join Date: Feb 2015
Posts: 326
|
Quote:
If you run this app with button 'Just Stress Testing' it should find memory/CPU problems (in file 'results.txt' should be only [date] and XXX passed! entries). There was some changes in ffmpeg, so you can test ffmpeg release 3.4.2 -- it should be different approach to thread synchronization. There was some reports about x265 hangs with pipe input from ffmpeg but it is hard to reproduce -- maybe there is bug in x265 that is not fixed yet. |
|
20th April 2018, 10:17 | #6055 | Link | |
Registered User
Join Date: Nov 2016
Posts: 4
|
Quote:
refine-inter and refine-intra features may be used with any rate control techniques including ABR, CRF and CQP. However, as indicated by the warnings, these features are enabled only for scaled save/load encodes. The "save" run will encode the content of resolution WxH (1920x1080, say) and generate an analysis.dat file. This analysis information is scaled up by the factor and used by the "load" run which works on the content of resolution 2Wx2H (3840x2160, say). Using the analysis information from a low-res encode to encode high-res content will impact the quality of the encode hence we try to minimize the repercussions by incorporating various intra and inter refinement strategies. Your CLI should be: HD encode : --crf 17 --profile main10 --level-idc 5.1 --output-depth 10 --ctu 32 --amp --vbv-bufsize 160000 --vbv-maxrate 160000 --me star --max-merge 5 --rc-lookahead 40 --lookahead-slices 4 --gop-lookahead 34 --ref 5 --hdr --hdr-opt --repeat-headers --no-info --no-deblock --no-sao --no-strong-intra-smoothing --high-tier --analysis-save <filename> --analysis-reuse-level 10 --scale-factor 2 UHD encode: -crf 17 --profile main10 --level-idc 5.1 --output-depth 10 --ctu 32 --amp --vbv-bufsize 160000 --vbv-maxrate 160000 --me star --max-merge 5 --rc-lookahead 40 --lookahead-slices 4 --gop-lookahead 34 --ref 5 --hdr --hdr-opt --repeat-headers --no-info --no-deblock --no-sao --no-strong-intra-smoothing --high-tier --analysis-load <filename> --analysis-reuse-level 10 --scale-factor 2 --refine-inter 3 --refine-intra 4 |
|
20th April 2018, 21:26 | #6056 | Link | |
Registered User
Join Date: Dec 2014
Posts: 240
|
Quote:
Last edited by jlpsvk; 20th April 2018 at 21:47. |
|
21st April 2018, 12:05 | #6057 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
When watching some x265 encoded content on my TV, I can see very, very thin greyish vertical lines in scenes that are almost or completely black. Is this due to slice boundaries?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
21st April 2018, 19:10 | #6059 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
(I did some more testing and I cannot see the strips if lookahead-slices was disabled (vertical resolution less than 720).) EDIT: tested with existing encodes - couldn't replicate this with the latest x265 using the same source.
This is how it looks on the TV and on my display, a snippet from the upper left corner (seriously exaggerated by getting the brightness real high): https://imgur.com/a/gO45OYB I recall seeing this also with x264 encoded videos. Different decoders have been used, on the computer it's the NVIDIA GPU and on the TV it's whatever is on Apple TV 4K - VideoToolBox I think. EDIT: this older clip shows the thing at the start, turn up the brightness to see it: https://drive.google.com/open?id=1ui...b7A0ob9nqtJKa2
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 21st April 2018 at 20:14. |
22nd April 2018, 19:33 | #6060 | Link |
Registered User
Join Date: Dec 2014
Posts: 240
|
just an addition to x265 AVX-512 problems...
ASRock X299 OC Formula + i9-7940X + Win10 x64 ... no crashing... AVX512 working flawlessly. Binary from here (compiled in VS2017): Code:
http://msystem.waw.pl/x265/x265-2.7+340-aa91024_vs2017.7z |
Thread Tools | Search this Thread |
Display Modes | |
|
|