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.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 7th March 2017, 13:18   #1  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
New advanced Benchmark

Here the source:
http://jfl1974.free.fr/Benchmark/Benchmark.zip

1) x264 1080p 8 bits bt.709 with BD FHD H264 source
2) x265 2160p 10 bits HDR bt.2020 with ~BD UHD HEVC HDR source
3) decoding benchmark with libavcodec and ~BD UHD HEVC HDR source
4) Advanced x265 test for complete SIMD MMX, SSE, SSE2, SSE3, SSE4, AVX, FMA3, AVX2, FMA4, XOP

Update:
-14/04/2017: new automatic benchmark

try and report your result:

Code:
|----------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
|  CPU (Ghz)     |   x264  |   x265  |   LAVC  |   auto  |   MMX2  |    SSE  |   SSE2  |   SSE3  |   SSE4  |    AVX  |   AVX2  |    All  |
|----------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| i5-3550@3.50   |   7.12  |   1.04  |   48.0  |   0.84  |   0.35  |   0.35  |   0.54  |   0.58  |   0.86  |   0.86  |   N/A   |   N/A   |
| i7-5960X@4.40  |  24.03  |   4.38  |  150.0  |   3.50  |   1.01  |   1.01  |   1.64  |   1.78  |   2.78  |   2.80  |   3.43  |   N/A   |
| R7 1700@3.75   |  21.66  |   3.45  |  110.0  |   2.74  |   1.00  |   1.01  |   1.67  |   1.87  |   2.61  |   2.60  |   2.67  |   N/A   |
| x5670@4.00     |  11.33  |   1.58  |   69.0  |   1.32  |   0.56  |   0.56  |   0.88  |   0.94  |   N/A   |    N/A  |   N/A   |   N/A   |
| i7-4770K@4.50  |  10.89  |   2.11  |   72.0  |   1.75  |   0.49  |   0.49  |   0.80  |   0.86  |   1.34  |   1.37  |   1.62  |   N/A   |
| i7-2600K@4.20  |   9.27  |   1.33  |   58.0  |   1.10  |   0.44  |   0.44  |   0.70  |   0.75  |   1.10  |   1.11  |   N/A   |   N/A   |
| i5-2500K@4.50  |   6.95  |   1.15  |   52.0  |   0.98  |   0.41  |   0.41  |   0.61  |   0.66  |   0.96  |   0.95  |   N/A   |   N/A   |
|----------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| R7 1700@stock  |  18.51  |   2.98  |  103.0  |   2.32  |   0.96  |   0.95  |   1.41  |   1.54  |   2.11  |   2.05  |   2.08  |   N/A   |
| R7 1700X@stock |  20.61  |         |         |         |         |         |         |         |         |         |         |         |
| R7 1800X@stock |  21.28  |   3.42  |  118.0  |   2.72  |   1.13  |   1.13  |   1.71  |   1.83  |   2.52  |   2.53  |   2.65  |   N/A   |
| i7-6700K@stock |  11.95  |   2.28  |   82.0  |   1.89  |   0.56  |   0.55  |   0.88  |   0.97  |   1.47  |   1.50  |   1.85  |   N/A   |
| i7-7700K@stock |  14.02  |         |         |         |         |         |         |         |         |         |         |         |
| i7-5960X@stock |  18.18  |   3.30  |  116.0  |   2.66  |   0.76  |   0.76  |   1.23  |   1.33  |   2.09  |   2.09  |   2.58  |   N/A   |
| i7-6900K@stock |  19.83  |         |         |         |         |         |         |         |         |         |         |         |
| i7-6950K@stock |  22.10  |         |         |         |         |         |         |         |         |         |         |         |
| i7-4770@stock  |  10.30  |   1.89  |   67.0  |   1.55  |   0.43  |   0.44  |   0.71  |   0.76  |   1.21  |   1.21  |   1.51  |   N/A   |
| E5-2670@stock  |  12.64  |   1.80  |   79.0  |   1.50  |   0.62  |   0.62  |   0.94  |   1.02  |   1.46  |   1.50  |    N/A  |   N/A   | 
|----------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
x265 is new benchmark; You can find result for x264 here:

__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 19th April 2017 at 17:12.
Sagittaire is offline   Reply With Quote
Old 3rd April 2017, 00:30   #2  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
update
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 3rd April 2017, 11:15   #3  |  Link
Brazil2
Registered User
 
Join Date: Jul 2008
Posts: 479
The archive is broken.

Benchmark.zip.007 is only 20 MB and with 7-zip the archive test fails at 225 files 88%: Data error: Benchmark\Sample\Sample1080p.ts

And once extracted Sample1080p.ts is only 22 882 817 bytes large (199 159 304 expected).
Brazil2 is offline   Reply With Quote
Old 3rd April 2017, 22:02   #4  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
I see that ... I (re)upload next weekend.
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 8th April 2017, 17:26   #5  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
Update ...

Try and report your result please ...
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 12th April 2017, 13:44   #6  |  Link
Danielcz
Registered User
 
Join Date: May 2015
Posts: 2
some error did not complete:
Attached Images
 
Danielcz is offline   Reply With Quote
Old 12th April 2017, 22:07   #7  |  Link
Motenai Yoda
Registered User
 
Motenai Yoda's Avatar
 
Join Date: Jan 2010
Posts: 701
Can you capture fps values and put them into a txt file?
also maybe adding -v quite to ffmpeg cli can help.
__________________
powered by Google Translator
Motenai Yoda is offline   Reply With Quote
Old 14th April 2017, 12:35   #8  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,905
using a R7 1800X@stock I got the same problem as Danilecz -> https://pastebin.com/xEd81pxZ
Code:
ffmpeg\ffmpeg.exe -i Sample\Exodus_UHD_HDR_Exodus_draft.mp4 -an -f rawvideo -   | x265\x265.exe --input-res 3840x2160 --fps 23.976 - -o Output\x265_2160p.265 --input-depth 10 --output-depth 10 --crf 24 --preset medium --tune grain --ssim --psnr --asm AVX,FMA3,FMA4,LZCNT,BMI1,BMI2,AVX2 --frames 100
aborts with:
Code:
frame=  105 fps=3.3 q=-0.0 size= 2551500kB time=00:00:04.37 bitrate=4777574.4kbiError writing trailer of pipe:: Broken pipe
frame=  105 fps=2.5 q=-0.0 Lsize= 2551500kB time=00:00:04.37 bitrate=4777574.4kbits/s speed=0.104x
video:2551500kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Conversion failed!
Cu Selur
__________________
Hybrid here in the forum, homepage
Notice: Since email notifications do not work here any more, it might take me quite some time to notice a reply to a thread,..
Selur is offline   Reply With Quote
Old 14th April 2017, 14:41   #9  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
broken pipe with ffmpeg is normal because i use --frames 100 for SIMD test with x265.

benchmark work well with R7 1700@stock and R7 1700@3.75 ghz for 2 samples here in France.

I make new automatised benchmark: downlaod, retry and report your result. Thanks.
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9

Last edited by Sagittaire; 14th April 2017 at 14:52.
Sagittaire is offline   Reply With Quote
Old 14th April 2017, 16:41   #10  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,905
I'm still getting the:
Code:
av_interleaved_write_frame(): Invalid argument
Error writing trailer of pipe:: Invalid argument
but this time a results.log was created:
Code:
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
|     CPU             |   x264  |   x265  |   LAVC  |   auto  |   MMX2  |    SSE  |   SSE2  |   SSE3  |   SSE4  |    AVX  |   AVX2  |    All  | 
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------| 
|  Ryzen 7 1800X Eight-Core Processor          |  21.28  |   3.42  |   118  |   2.72  |   1.13  |    1.13  |   1.71  |   1.83  |   2.52  |    2.53  |   2.65  |    N/A  |
(I ran the Benchmark_auto.bat)

---

also ran Bechmark.bat an it runs through without a problem now
__________________
Hybrid here in the forum, homepage
Notice: Since email notifications do not work here any more, it might take me quite some time to notice a reply to a thread,..

Last edited by Selur; 14th April 2017 at 18:11.
Selur is offline   Reply With Quote
Old 14th April 2017, 18:46   #11  |  Link
Danielcz
Registered User
 
Join Date: May 2015
Posts: 2
i7 4770 stock (non-K), R9 290X, 32GB RAM, Win 7 utimate x64

Code:
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
|     CPU             |   x264  |   x265  |   LAVC  |   auto  |   MMX2  |    SSE  |   SSE2  |   SSE3  |   SSE4  |    AVX  |   AVX2  |    All  | 
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
|  Core i7-4770       |  10.30  |   1.89  |    67   |   1.55  |   0.43  |   0.44  |   0.71  |   0.76  |   1.21  |    1.21 |   1.51  |    N/A  |
Danielcz is offline   Reply With Quote
Old 14th April 2017, 21:22   #12  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
Quote:
Originally Posted by Selur View Post
I'm still getting the:
Code:
av_interleaved_write_frame(): Invalid argument
Error writing trailer of pipe:: Invalid argument
but this time a results.log was created:
Code:
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
|     CPU             |   x264  |   x265  |   LAVC  |   auto  |   MMX2  |    SSE  |   SSE2  |   SSE3  |   SSE4  |    AVX  |   AVX2  |    All  | 
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------| 
|  Ryzen 7 1800X Eight-Core Processor          |  21.28  |   3.42  |   118  |   2.72  |   1.13  |    1.13  |   1.71  |   1.83  |   2.52  |    2.53  |   2.65  |    N/A  |
(I ran the Benchmark_auto.bat)

---

also ran Bechmark.bat an it runs through without a problem now
yes ... really powerfull CPU this Rysen 7.
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 15th April 2017, 00:03   #13  |  Link
Ma
Registered User
 
Join Date: Feb 2015
Posts: 325
On my i5 3450S (with enhanced turbo) x265 4K encoding speed was 1.06.
For curiosity I changed x265 to VS 2017 AVX version and the speed was 1.11. Then I used VS 2017 AVX PGO version and the speed was 1.15 (I added only '-v warning' to ffmpeg part to cleaner output).

Then I go to the decoding -- with included in benchmark ffmpeg the speed was 48 to 49, with Zeranoe ffmpeg 2017-04-11 it was 64, with compiled by GCC 7 today snapshot the speed was 66.

The speed difference in x265 encoding is normal, but it is surprising big difference in decoding speed.
Ma is offline   Reply With Quote
Old 15th April 2017, 09:07   #14  |  Link
RanmaCanada
Registered User
 
Join Date: May 2009
Posts: 110
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| CPU | x264 | x265 | LAVC | auto | MMX2 | SSE | SSE2 | SSE3 | SSE4 | AVX | AVX2 | All |
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| Xeon E5-2670 0 | 12.64 | 1.80 | 79 | 1.50 | 0.62 | 0.62 | 0.94 | 1.02 | 1.46 | 1.50 | N/A | N/A |
RanmaCanada is offline   Reply With Quote
Old 15th April 2017, 13:29   #15  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
Quote:
Originally Posted by Ma View Post
On my i5 3450S (with enhanced turbo) x265 4K encoding speed was 1.06.
For curiosity I changed x265 to VS 2017 AVX version and the speed was 1.11. Then I used VS 2017 AVX PGO version and the speed was 1.15 (I added only '-v warning' to ffmpeg part to cleaner output).

Then I go to the decoding -- with included in benchmark ffmpeg the speed was 48 to 49, with Zeranoe ffmpeg 2017-04-11 it was 64, with compiled by GCC 7 today snapshot the speed was 66.

The speed difference in x265 encoding is normal, but it is surprising big difference in decoding speed.
Yes i know for x265, I will try to introduce script to use best x265 compilation for each CPU ... ;-)

Anyway your ffmpeg result is really big surprise. You have link for ffmpeg 64 bit with GCC7 compilation?
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 15th April 2017, 16:31   #16  |  Link
Ma
Registered User
 
Join Date: Feb 2015
Posts: 325
ffmpeg (without any libs) compiled by GCC 7 from snapshot 2017-04-14:
www.msystem.waw.pl/x265/ffmpeg-2017-04-14.7z

The ffmpeg2.exe is the same with '-O2' optimize option instead of default '-O3 -fno-tree-vectorize'. For my i5 3450S this ffmpeg2.exe is slightly faster.

It looks like ffmpeg is faster in decoding HEVC than one month before.
Ma is offline   Reply With Quote
Old 16th April 2017, 17:31   #17  |  Link
Sagittaire
Testeur de codecs
 
Sagittaire's Avatar
 
Join Date: May 2003
Location: France
Posts: 2,419
Quote:
Originally Posted by Ma View Post
ffmpeg (without any libs) compiled by GCC 7 from snapshot 2017-04-14:
www.msystem.waw.pl/x265/ffmpeg-2017-04-14.7z

The ffmpeg2.exe is the same with '-O2' optimize option instead of default '-O3 -fno-tree-vectorize'. For my i5 3450S this ffmpeg2.exe is slightly faster.

It looks like ffmpeg is faster in decoding HEVC than one month before.
yes ... really higher speed.

THX for the ffmpeg build.
__________________
Le Sagittaire ... ;-)

1- Ateme AVC or x264
2- VP7 or RV10 only for anime
3- XviD, DivX or WMV9
Sagittaire is offline   Reply With Quote
Old 16th April 2017, 17:43   #18  |  Link
shinchiro
Registered User
 
Join Date: Feb 2012
Posts: 46
Quote:
Originally Posted by Ma View Post
It looks like ffmpeg is faster in decoding HEVC than one month before.
Yeah..lots of hevc asm landed in ffmpeg's upstream recently, like:
http://git.videolan.org/?p=ffmpeg.gi...4dad7abaf9a93f
shinchiro is offline   Reply With Quote
Old 18th April 2017, 11:31   #19  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,708
Hey,

I have made a few corrections to your "run.sh" file in order to be more consistent to what is running and what is being displayed.

For example, there is no "SSE3" instruction set tested, it's "SSSE3" and so on.

Also, the "All" setting is actually like "auto" so we don't need that.

I added also --no-asm option and I named it "No SIMD" in the final text, in order to see better the speedups of various SIMD sets compared to "No SIMD" setting

All of my changes are here:
http://txt.do/drlqm
__________________
Win 10 x64 (18363.476) - Core i3-9100F - nVidia 1660 (441.41)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 18th April 2017, 20:00   #20  |  Link
SquallMX
Special SeeD
 
Join Date: Nov 2002
Location: Mexico
Posts: 266
6700K Stock 4.0 Ghz

Code:
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|
|     CPU             |   x264  |   x265  |   LAVC  |   auto  |   MMX2  |    SSE  |   SSE2  |   SSE3  |   SSE4  |    AVX  |   AVX2  |    All  | 
|---------------------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------|---------| 
|  Core i7-6700K      |  11.95  |   2.28  |    82  |   1.89  |   0.56  |    0.55  |   0.88  |   0.97  |   1.47  |   1.50  |   1.85  |    N/A  |
SquallMX is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.