HW Acceleration for Comskip?

I’ve been messing around with Comskip on the command line - after some experimentation, it looks like the --hwassist and --dxva2 seem to speed up comskip pretty dramatically. Does MCEBuddy do that optimization as well? Is there an ability to add that in the profiles?

Thanks! Will.

Good question, in our testing with intel cards it found it to be inconsistent hence we didn’t auto enable it but it can be done.

What’s your setup like? Can you test with and without the dxva because that‘s a particularly tricky option which we found slows down decoding on older GPU’s.

I’ve got a pretty beefy machine – 10 physical cores, RTX 2080 Super, 64 gigs of ram.

I found that using the dxva2 was the fastest, followed by –cuvid (~10% slower). I didn’t try vdpau.

If I didn’t specify a dxva or any of the other switches, it was roughly ~60% slower using just the –hwassist

Thanks for looking at this! Will.

Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10

Have you tried settings the hardware_decode option in comskip.ini?

hardware_decode=0 ; Set to 1 to enable hardware accelerated video decoding, only available in donator version

You can use the Comkip INI Editor, under the CPU Load Reduction tab, included in the comskip folder to do it using a GUI interface.

I have tried that – I found that when I do so, I get audio sync errors. I’m not sure how that happens, but when I uncheck it, they go away. Oddly enough, if I jump forward or back in Plex, the audio resyncs, but I don’t see that behavior
when I don’t have the HW Acceleration box checked…

IIRC, I saw something about that in the comskip forums.

Thanks! Will.

Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10

Separately, can you tell me what the behavior is when MCEBuddy finds an EDL file for a given recording and comskip is selected? Does it ignore that EDL file, or does it just use it instead of running comskip again? Thanks!

It’ll use the EDL (or EDLP or any other recognized commercial markers like in PlayOn) it finds before it detects a commercial using comskip or showanalyzer

Hey Goose,

Hope you and your family are safe and healthy.

Thanks! Will.

Mail](https://go.microsoft.com/fwlink/?LinkId=550986) for Windows 10

1 Like