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. |
23rd February 2017, 21:37 | #4802 | Link |
Registered User
Join Date: Feb 2017
Posts: 14
|
Hello guys can anyone help me? I'm trying to code in visual studios wherein I want to produce a text file that reports the changes after encoding a YUV video. The text file consists of the frame #, slice #, CTU# etc. Thank you for any help.
|
23rd February 2017, 21:50 | #4803 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
What kind of changes do you mean? Differences according to metrics like PSNR or SSIM? Absolute differences per YUV channel?
x265 can already produce a CSV log file per frame. Code:
--csv <filename> Comma separated log file, if csv-log-level > 0 frame level statistics, else one line per run --csv-log-level <integer> Level of csv logging, if csv-log-level > 0 frame level statistics, else one line per run: 0-2 |
23rd February 2017, 22:31 | #4806 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
The developers of x265 can tell us for sure if and how FMA3 is used.
Because nobody here disagrees that integer AVX2 is used a lot by x265. Usually a floating point division or some other single floating point instruction could be used in projects like x264 or x265 but nothing more than that regarding floating point support. SSEx is very fast in RyZen, it's as fast as Kabylake. AVX/AVX2 is supported, but it's about half speed.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
23rd February 2017, 23:18 | #4807 | Link | |
Registered User
Join Date: Feb 2015
Posts: 326
|
Quote:
https://bitbucket.org/multicoreware/...mc-a2.asm-1120 but the speed up is only a few CPU cycles in function that is not important for whole encoding time. It is OK to use MUL and ADD instead of one FMA. |
|
24th February 2017, 17:02 | #4808 | Link | |
Registered User
Join Date: Feb 2017
Posts: 14
|
15
Quote:
If I encoded using 10 frames it will show 10 frames etc and record the quantization parameters per CTU etc |
|
25th February 2017, 13:24 | #4809 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
So you are looking for an API that will trigger even more detailed reports than the CSV log with level 2, even a per-CTU log... I believe there is none yet, only per-file and per-frame logs (see: x265-extras.h).
|
25th February 2017, 13:32 | #4810 | Link | |
Registered User
Join Date: Feb 2017
Posts: 14
|
Quote:
And is there anything I can code in visual studios to report the per CTU log? |
|
25th February 2017, 13:46 | #4811 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,784
|
I assume you already used Mercurial to clone the whole x265 source repository? Apart from that, you can look at the source here:
https://bitbucket.org/multicoreware/x265/src / source / x265-extras.h (as well as x265-extras.cpp) |
25th February 2017, 15:04 | #4813 | Link |
Artem S. Tashkinov
Join Date: Dec 2006
Posts: 345
|
Intel got scared: http://wccftech.com/intel-amd-price-...en-processors/
Hopefully you haven't bought any Intel CPUs lately 'cause it's time to kick yourself in the balls. Lovely! |
25th February 2017, 15:58 | #4815 | Link |
Registered User
Join Date: Feb 2017
Posts: 14
|
Okay sorry. I really don't know how to start using HEVC and how to simulate a wireless video transmission between visual studios and the ns3 program. It's where my thesis will start so sorry if I got a lt oof questions. Btw, is this x265 the HM model?
|
25th February 2017, 18:02 | #4816 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 483
|
x265 v2.3+9-820f4327ddac (MSYS/MinGW, GCC 6.3.0, 32 & 64bit 8/10/12bit multilib EXEs)
x265 [info]: HEVC encoder version 2.3+9-820f4327ddac x265 [info]: build info [Windows][GCC 6.3.0][32 bit/64 bit] 8bit+10bit+12bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default Last edited by Barough; 25th February 2017 at 20:10. |
25th February 2017, 21:57 | #4817 | Link |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
No, Rysen 7 1800X 8C/16T at 500$ will be certainely on par with i7 6900K 8C/16T at 1000$ for x264/x265 encoding. You must use certainely something like O/C at 6 Ghz (nitrogen!!!) with i7 7700K (400$) or even more to have the same performance than R7 1700 (350$) at stock frequency.
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
25th February 2017, 22:01 | #4818 | Link |
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
x264 is a lot different than x265 due to AVX2 optimizations.
Yes, I agree that using x264 RyZen is going to have a party. But x265 has a lot of AVX2 optimizations and it's not possible for RyZen 7 to catch the performance of an Intel 8C/16T.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
25th February 2017, 22:23 | #4819 | Link | |
Registered User
Join Date: Jan 2010
Posts: 709
|
Quote:
Also 7700k cost now about 340€ (maybe 320/300€ with the 10/15$ prices cut), sure not 400$, and 1700x is (yep) an esacore, but with castrated avx2 and few/no compiler optimizations. 6900k is the actual not plus ultra for a consumer pc so it's baldly overvalued.
__________________
powered by Google Translator |
|
25th February 2017, 22:33 | #4820 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
Overall benchmark for x264 HB encodaging 2K, x265 HB encodaging 4K, WPrime, PovRay, Blender, 3DMax 2015/Mental Ray, Coronna Benchmark i7 6900K: 193.4 R7 3.15/3.3/3.5 Ghz: 168.7 i7 6800K: 152.5 i7 6700K: 137.3 i7 4790K: 127.7 FX-8370: 105.2 i5 6600K: 100.0 Make scaling for R7 1800X at 3.6/3.8/4.0 Ghz by yourself ... ;-)
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 Last edited by Sagittaire; 25th February 2017 at 22:37. |
|
|
|