H.264 Encode Speed and Batch Manager issues

jaydear

Member
I'm not seeking support just now, I'm just sharing this here because other users having similar problems may find it helpful. I mainly encode to H.264 ts and mp4 formats which I then use to make mkv's with chapters and subtitles in MKVToolnix.

I spent a lot of time before Christmas '21 communicating directly with one of the Dans about slow encode speed, NVEnc, the cursed Batch Manager, etc. We didn't really reach any "Eureka" conclusions, so I've been battling on slowly and made some findings.

Windows 10 does not make it easy to get any high performance video editing happening. I accidentally found a useful option at 'Settings/Graphics Settings/Graphics Performance Preference' where I set VideoReDo6.exe, H264SmartEditEncoder.exe, VideoRedoEncoderx64.exe, ffmpeg_vrd.exe and VRDBatch.exe to 'High Performance'.

That has drastically improved the performance of VRD6's video scrubbing, editing and interactive encoding (which just means starting an encode without using the Batch Manager). The Batch Manager was not helped at all by the High Performance settings, but I left it set because it also wasn't making it worse, but I still won't be using it any more, see below.

I've learnt that sadly, NVEnc is very limited by being a hardware thing with minimal adjustments. It can be fast, but for reasonable filesize the resultant video has visible artifacts that remind me of poor quality DVDs and I will not use it if I can avoid it for my work, though your experience may vary. Anyway, I've set VRD6's Tools/Options/Stream Parameters/Default Encoder to 'Software' and in the Output Profiles I use I've set 'Encoder' to 'Software'.

I hate the batch manager for two reasons. Firstly, for me, it is slower than interactive encoding. Dan said it shouldn't be, but on my two PC's - one an i7 and the other an AMD Ryzen 7 - the Batch Manager is much slower. Typically, I see about 180fps in interactive mode or 60fps through the batch manager in the Ryzen PC. With the free software CPUID HWMonitor I can see the cpu in both PCs getting all cores up to 100% useage in interactive mode versus about 30% using the Batch Manager. Why is it so?

Secondly, I suffer crashes using the Batch Manager that don't happen in interactive mode. Sometimes a BM'd encode crashes at 99% which I believe is where the Moov atom is being repositioned to the start of an mp4. At other times a BM'd encode randomly freezes with all cpu activity down to 0%. It is totally untrustworthy for my purposes. Dan tells me his PC sails along happily without the issues I'm stuck with, which is nice for him and I wish him well with it. Unfortunately, software that is so hardware/OS/content sensitive is too hard to wrangle.

I also found a few interesting topics in the VRD6 forum. I lucked onto these by searching for "64bit" after trying other more specific search terms. The OP's had some of the same issues I was suffering, so I'm not 'Robinson Crusoe' which makes me feel a bit better, but also a bit sadder that VRD has 'difficulties' that make it confusing and harder to use than it should be.
 
Last edited:

jmc

Well-known member
Hmm, I'm AMD graphics so nothing for me here.

Had hoped it would fix the thumbnail lags.

A nice find tho.

Thanks,
jmc
 

jaydear

Member
Hmm, I'm AMD graphics so nothing for me here.

Had hoped it would fix the thumbnail lags.

A nice find tho.

Thanks,
jmc
Definitely fixes thumbnail lags. I have AMD gpu in the cpu and an nVidia 'card' as well. I think Win10 uses whatever is available to boost the exe's we select in this settings dialogue whether the make is intel, amd or nvidia. I might be wrong (I often am :p ) but it's working for me and the improvement in smooth operation of VRD6 makes it more enjoyable to use.
 
Last edited:

hydra3333

Member
I accidentally found a useful option at 'Settings/Graphics Settings/Graphics Performance Preference' where I set VideoReDo6.exe, H264SmartEditEncoder.exe, VideoRedoEncoderx64.exe, ffmpeg_vrd.exe and VRDBatch.exe to 'High Performance'.
Thank you for the top tip !
I've just done the same.
 
Top Bottom