Easy Video Encoding Benchmark - Test your GPU within seconds
 
Notifications
Clear all

Easy Video Encoding Benchmark - Test your GPU within seconds  

 of  4
  RSS

OliverB
(@oliverb)
Noble Member
Joined: 3 years ago
 

Here is a screenhot from HEVC encoding with the Radeon Pro 560X of a longer video. We see 63% percentage of GPU usage and 76 FPS, which is much better than the 8% if done manually.

Handbrake 63percent

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 // Navi vs Radeon VII vs GTX 1080 Ti [build link]  


ReplyQuote
may
 may
(@may)
Eminent Member
Joined: 4 years ago
 

So I dont know about quality but HEVC combined with Intel Quicksync technology with right parameters should be the best option if you are on Kaby Lake or later...

If you have a Kaby Lake CPU, you can encode with HEVC using hevc_qsv:

[Please login to see this]

Is it worth for you? How about GPU usage and FPS in that case?

This post was modified 2 years ago

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
OliverB
(@oliverb)
Noble Member
Joined: 3 years ago
 
Posted by: may

So I dont know about quality but HEVC combined with Intel Quicksync technology with right parameters should be the best option if you are on Kaby Lake or later...

If you have a Kaby Lake CPU, you can encode with HEVC using hevc_qsv:

[Please login to see this]

Is it worth for you? How about GPU usage and FPS in that case?

Intel Quicksync won't work for my 15-inc MacBookPro 2018, as in Bootcamp this notebook is forced to use the AMD dGPU and the Intel iGPU is switched off by hardware. There is nothing you can do about it. (Actually this is one of the main issues with eGPU).

It's a pity, because I know about the strength of Intel QSV.

2018 15" MBP & 2015 13" MBP connected to RTX2080Ti GTX1080Ti GTX1080 Vega56 RX580 R9-290 GTX680

 
2018 15" MacBook Pro (RP560X) [8th,6C,H] + RX 5700 XT @ 32Gbps-TB3 (ASUS XG Station Pro) + Win10 & macOS 10.15.4 // Navi vs Radeon VII vs GTX 1080 Ti [build link]  


ReplyQuote
limozeen
(@limozeen)
Active Member
Joined: 3 years ago
 

I don't know if this is helpful for you, but I was curious about this myself so I tried the following transcodings of your file using Handbrake 1.2.2, all in macOS 10.14.3. My computer is a maxed out 2018 MacBook Pro (2.9 Ghz Core i9, 32 GB RAM, 4 TB SSD, 560X dGPU, Intel UHD 630) + Vega 64 eGPU. The eGPU appeared to do absolutely nothing in each encode, but here are my results:

  • H264 ---------------------------  71 FPS   --------  22.4 MB file --- Full CPU usage, started cool
  • H264 Videotoolbox ----------  169 FPS --------  21.8 MB file --- Used Intel 630
  • H265 --------------------------   30 FPS  --------  22.4 MB file --- Full CPU usage, started cool
  • H265 Videotoolbox ---------   157 FPS  --------  3(!) MB file  --- High CPU usage, a little 560X usage

Oh, wait. I didn't have "Prefer External GPU" selected. Let's see if it makes any difference:

  • H264 ---------------------------  95 FPS   --------  3.4 MB file --- Full CPU usage, started cool, never reached 100 degrees so cpu frequency stayed high throughout
  • H264 Videotoolbox ----------  158 FPS --------  21.8 MB file --- Used Intel 630, didn't touch the Vega 64
  • H265 --------------------------   31 FPS  --------  22.4 MB file --- Full CPU usage, started cool, hit 100 degrees fairly quickly
  • H265 Videotoolbox ---------   157 FPS  --------  3 MB file  --- High CPU usage, low 560X usage [memory clock briefly spikes in iStat; nothing changes in Activity Monitor; no eGPU usage]

Man, I would love to get that Vega 64 working on video transcoding! I also have a maxed out 2017 MacBook Pro I can try this on another time, if you're interested. Am I understanding the above to be saying that eGPU is working in bootcamp? Kinda makes me want to install Windows now...

Cheers.

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
may
 may
(@may)
Eminent Member
Joined: 4 years ago
 

Hi
How about ProRes 422 Encoding with Compressor with "Prefer External GPU" selected. Does it make any difference? Is it using eGPU ?

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Dope
 Dope
(@dope)
Eminent Member
Joined: 3 years ago
 

Can quick sync be activated and used in bootcamp with apple_set_os.efi? I don't think there would be a need to attach the igpu with the display just as long as it is activated with the latest drivers, it should be able to run the test. I would love to see how it compares to t2 transcoding. Thanks

This post was modified 1 year ago

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Dope
 Dope
(@dope)
Eminent Member
Joined: 3 years ago
 

Seems like they are very close.

http://www.macotakara.jp/blog/macintosh/entry-36442.html
(YouTube video inside link)

 

https://marco.org/2018/11/06/mac-mini-2018-review

(Extra)

https://www.fcp.co/forum/4-final-cut-pro-x-fcpx/31455-hardware-accelerated-h-264-265-de-en-coding-new-mac-pro

 

 

Both test do not however state if the test videos were 10bit nor do they state if the exports were 10bit. 

To do: Create my signature with system and expected eGPU configuration information to give context to my posts. I have no builds.

.

ReplyQuote
Massimo Franzese
(@massimo_franzese)
Trusted Member
Joined: 2 years ago
 

GPUs in Radeon cards cannot compute CABAC entropy encoding it is a hardware limitation. Only Nvidia have some support but not under OSX

If you look at ffmpeg hardware acceleration you see https://trac.ffmpeg.org/wiki/HWAccelIntro

That Open CL that is supported by Radeon is only used for filters (in ffmpeg or handbrake this has to do with decomb telecine etc etc) and that videotoolbox is hardware supported (on CPU)

You can also see there same situation about Nvidia support

 

Likewise the sharing on final cut pro made of 3 steps

1. Decode

2. Render

3. Encode

eGPU is only involved in 2 render as decode and encode use the CPU and if needed the onboard GPU for hardware acceleration. 

So in essence the bunch of benchmarks you are running here are not that meaningful as compression is a CPU job so more core more speed more fps your results confirm that

The only scenario that makes a GPU do compression is Nvidia on Windows or Linux

Mac Mini 2018 3.2 Ghz 6 cores
Razer Core X enclosure with Sapphire Vega 64 Nitro
Benq PD2720U


ReplyQuote
Megarushing
(@megarushing)
Active Member
Joined: 1 year ago
 

MacBook Pro 16” 2019

I have been trying to diagnose what is causing such a sluggish streaming on my eGPU, on a Razer Core X, it wasn't like that before so probably a driver update, altough I tried rolling back  to multiple previous versions to no avail

Core i7-9750H @ 2.6Ghz -> 111fps
ffmpeg.exe -i file_example_MP4_1920_18MG.mp4 -c:v libx264 -c:a copy -quality quality -b:v 3M -bufsize 16M -maxrate 6M outputx264Intel.mp4
> frame= 901 fps=111 q=-1.0 Lsize= 11758kB time=00:00:30.52 bitrate=3155.2kbits/s speed=3.76x

AMD RX 5700xt eGPU -> 55fps
ffmpeg.exe -i file_example_MP4_1920_18MG.mp4 -c:v h264_amf -c:a copy -quality quality -b:v 3M -bufsize 16M -maxrate 6M outputh2645700xt.mp4
> frame= 901 fps= 55 q=-0.0 Lsize= 12055kB time=00:00:30.52 bitrate=3234.8kbits/s speed=1.85x

AMD Pro 5300M dGPU -> 150fps
ffmpeg.exe -i file_example_MP4_1920_18MG.mp4 -c:v h264_amf -c:a copy -quality quality -b:v 3M -bufsize 16M -maxrate 6M outputh2645300M.mp4
> frame= 901 fps=150 q=-0.0 Lsize= 12055kB time=00:00:30.52 bitrate=3234.8kbits/s speed=5.07x

Intel UHD Graphics 630 iGPU -> 221fps
ffmpeg.exe -i file_example_MP4_1920_18MG.mp4 -c:v h264_qsv -c:a copy -quality quality -b:v 3M -bufsize 16M -maxrate 6M outIntel.mp4
> frame= 901 fps=221 q=19.0 Lsize= 11443kB time=00:00:30.52 bitrate=3070.7kbits/s speed=7.48x

to get this last one working on windows required apple_set_os boot hack but its results are impressively good for an iGPU

This post was modified 3 weeks ago

- MacBook Pro 2019 16"
- Core i7-9750H @ 2.60 Ghz
- Intel UHD 630 iGPU
- Radeon 5300M dGPU
- Radeon 5700XT eGPU on a Razer Core X (non-Chroma)
- Windows 10 Build 18362.295
- EFI Loader


ReplyQuote
cgWerks
(@cgwerks)
Trusted Member
Joined: 2 years ago
 

I'm not sure if one of those engages the T2 for h.265, but it is blazing fast. I don't know about quality comparison (and I'd be interested in hearing if someone knows), as I just use Handbrake or ScreenFlow, etc. instead of command line. But, it's good enough for what I've been using it for (YouTube, crunching videos for home use).

2018 Mac mini (i7, 16 GB RAM, 256 GB SSD) - Blackmagic eGPU (RX580)


ReplyQuote
 of  4