What are the best settings for speed vs quality in HEVC?

Dartman

Member
My board is on the release 4010, but not the beta bios that is available. 32 gig of ddr4 and the M2 1 terabyte boot drive. All of the drivers seem to be up to date from the few I double checked.
I usually try to just shrink whatever comes in to save space and HEVC seems to save the most space and still have great quality. My one HDTV card and software usually makes mpg files and the prime works with media center so they are wtv files I recode to HEVC. Sometimes most things are left as is, sometimes I try deinterlace Bob as originally it made the playback less jittery and smoother. If I do a mpg conversion it's really fast but not as small but that seems to vary depending on what it's doing as I had some that went from 2k or so to 8-900 meg and it still looks decent, then the next one might be 1 to 2k or bigger for a similar file.
 

jmc

Well-known member
Seeing "100%" on all 12 cores is a thrill, but running 2 simultaneous encodes will generate some serious heat in the Ryzen 3900X. Without some overclocking tweaks and serious cooling the Ryzen will initiate thermal throttle-down somewhere around 76C. To keep from overheating, the CPU will drop clock speeds until the heat load balances the cooling capacity of whatever CPU cooler you have.
If you do not need the AMD single core boosting function...turn it off in the bios.
That setting jumps the voltages, speeds and heat way up.

In my testing I got more FPS with that single core boost setting turned off and the "all core" speeds increased.
All at lower temps and lower voltage. (41.50 Ghz, 1.24375 V) 20% faster then the base 3.5Ghz, 0.94 Volts

One other thing I've mentioned here is minimize the encode program.
I don't know why it happens but I get more fps and lower temps.

If you look at the Ryzen Master>System Monitor>Show Histogram.
You will see a colored ribbon for each core.
The span of all the ribbons will shrink when you minimize VRD. (Top moves down bottom moves up)

The few fastest cores will drop several hundred Mhz from the top...Dropping temps a lot.
BUT all the many slower cores will INCREASE in speed (3950x 16 cores).

The end result is more fps and lower temps.
A win, win.

I noticed this because my fans would slow way down when I minimized VRD.
Bring VRD back into focus to check on something and all the fans spin back up.
I thought, well, I'm losing performance here...checked it and fps had gone up not down.
------------------------------


Now I've got to finish setting up W10 on my 5950x and go through all this again...
Wish I was 20.
W10 on my 3950x will no longer update at ALL so moving to something better.
Have NEVER been able to get an upgrade to work.
Clean install required every time (W7 or W10) hate that.
 
Last edited:

Otter

Member
Now I've got to finish setting up W10 on my 5950x and go through all this again...
Wish I was 20.
W10 on my 3950x will no longer update at ALL so moving to something better.
Have NEVER been able to get an upgrade to work.
Clean install required every time (W7 or W10) hate that.
Strange...must be something else you are doing or program you are running.
I have 5 desktops in the house and all are regularly being rebuilt and parts swapped down to less critical boxes. My main system started with Win7 and a Phenom2. Upgrade to 1800X/x370 got a clean install of Win10 v2016. Since have moved to 2700X, then 3900X and now 5900X. Changed MB to x470, now x570. Changed video several times.
Cloned and recloned the boot from HDD to SSD and then to NVME. Along the way have Upgraded Win10 thru each biannual version. Never had any BSOD or had any upgrade bork.
Same with wife' s machine (where my old x470 and 3900X now live) - just pulled her old x370/1800X and popped my stuff in, then booted from the her existing SSD with no problems. Since have upgraded her from 20-H2 to 21-H1 again with no problems.
Same with 2 more desktops and 3 micro HTPCs - all have been thru many Win10 upgrade cycles with never a hiccup.

Are you "Upgrading" thru the automatic Win 10 Settings app? Because I have so many units to upgrade, I always download the ISO from MS support and put it on bootable USB3 and SDXC that I can move around and also use for upgrading friend&family computers.

Win10 has built-in troubleshooters - one is for Update issues - usually doesn't fix things, but worth a try. Would highly recommend "Windows Repair" from Tweaking.com. It is a VERY comprehensive tool and free for personal use.
 

Dartman

Member
Well I'm getting ideas for settings in the bios that might help me too from the back and forth that has started. I've run about 20 test recode and decided lower size with decent playback is more important than speed. I have som videos that start out as 4gig mpg and I have it down to about 1300 and over 200fps recoding to HEVC which always says it's going to be a major encode required so considering maybe it's not really out of line.
 

Dartman

Member
I just did some recodes through the batch tool and it does it non interactive mode and I'm getting over 800fps so running non interactive certainly does speed things up a lot. It's getting errors in some recodes so might have to play with that but it's also making smaller files too so it helps a few ways like was said here recently. Much happier but still a work in progress.
 

Danr

Administrator
Staff member
I'm surprised that you're seeing a large difference between batch and interactive and would like to get more information. Can you do 3 transcodes in succession and then send me the log file?

1. Interactive, (make the output file name interactive 1).
2. Batch ( make the output file name batch 1).
3. Interactive again, (make the output file name interactive 2).

The reason for the 3 runs it to account for any caching effects of file source file by the OS.
 

Dartman

Member
I don't understand it but most of my recodes are from the batch tool and not a live interactive session but showing the progress as it does it's job must be using extra resources I would think. And who knows what win10 does with it as well. I'll have to do those here soon and send you the log, maybe it can help us all get faster better videos out of this thing and knowledge is power.
 
Last edited:

svcdmaker

Member
Dan(s),

Looking at the cpu usage shown, it appears that HEVC pretty much used just six cores. Looking at where Dan talked about running two sessions to use more cores, is this a case where a "smarter" batch manager could be implemented? Since the batch manager is just calling a non-interactive instance of VRD via COM, could a column be added for assigning projects by processing instance? You could add several files to batch 1 and several to batch 2 and the batches would run in parallel. Granted, that would pound the disk and introduce heat management issues, but that would be up to the user to manage.
 

Danr

Administrator
Staff member
I don't understand it but most f my recodes are from the batch tool and not a live interactive session but showing the progress as it does it's job must be using extra resources I would think. And who knows what win1o does with it as well. I'll have to do those here soon and send you the log, maybe it can help us all get faster better videos out of this thing and knowledge is power.
Thanks, that would be appreciated.
 

Danr

Administrator
Staff member
Dan(s),

Looking at the cpu usage shown, it appears that HEVC pretty much used just six cores. Looking at where Dan talked about running two sessions to use more cores, is this a case where a "smarter" batch manager could be implemented? Since the batch manager is just calling a non-interactive instance of VRD via COM, could a column be added for assigning projects by processing instance? You could add several files to batch 1 and several to batch 2 and the batches would run in parallel. Granted, that would pound the disk and introduce heat management issues, but that would be up to the user to manage.
We actually have a product that does exactly this, the VideoReDo Transcoder which is used by TV stations, major networks, and other professional users. It can handle really complex multiple simultaneous workflows (transcodes). If you're interested: VideoReDo Workstation Applications (videoredopro.com)

Will keep your request in mind for multiple batch jobs running at the same time.
 

jmc

Well-known member
Are you "Upgrading" thru the automatic Win 10 Settings app? Because I have so many units to upgrade, I always download the ISO from MS support and put it on bootable USB3 and SDXC that I can move around and also use for upgrading friend&family computers.

Win10 has built-in troubleshooters - one is for Update issues - usually doesn't fix things, but worth a try. Would highly recommend "Windows Repair" from Tweaking.com. It is a VERY comprehensive tool and free for personal use.
I always download the ISO and create install flashsticks.
Or just click on the ISO on the desktop.

The most recent update attempt from W10-1909 to W10-21H1 seemed to be working for the first three trys but once the installs started rebooting
It always said "Restoring" and I was back where I started. After all that, running the "Setup.exe" file would would fail in seconds (and flashstick). So saved a LOT of time. :)

Thanks for the recommendations on fixes! I'll try to look those up.

The Windows trouble shooter sees no problem with updates but Windows update itself displays an error code when it tries go to W2004 - Error 0xc0000005
I'm just thankful that Windows does not download 4 GB before it fails the update!

jmc
 
Last edited:

Otter

Member
The most recent update attempt from W10-1909 to W10-21H1 seemed to be working for the first three trys but once the installs started rebooting
It always said "Restoring" and I was back where I started. After all that, running the "Setup.exe" file would would fail in seconds (and flashstick). So saved a LOT of time. :)

Thanks for the recommendations on fixes! I'll try to look those up.

The Windows trouble shooter sees no problem with updates but Windows update itself displays an error code when it tries go to W2004 - Error 0xc0000005
I'm just thankful that Windows does not download 4 GB before it fails the update!

jmc
Like I said - the MS troubleshooters seldom do any good.
Have you tried removing any AV/Malware programs and doing the upgrade with just Defender/Win Security running?

Are you doing any overclocking of CPU, memory or fclk? If so, you can be having minor issues that do not BSOD, but still throw constant WHEAs
Back off any OC & try the upgrade - might be the issue and you can always put the pedal down again later.

Would also run Win10 utility "System File Checker" - sfc.exe to repair any corrupted kernel files.

You are doing a big jump from v1909 to v2021 - there have been many regular updates you will be missing - the upgrade process must figure out what's missing, apply in the proper order and then upgrade.
It's not uncommon to have a corrupted "Upgrade History" file not giving the right info to Upgrade.
Again I suggest running "Windows Repair Tool" - it does good things that are a pain to do manually - like deleting a corrupt Update History file and rebuilding it.
 
Top Bottom