GPU decoding of H.264?
GPU decoding of H.264?
What's the status of using the GPU for faster decoding of h.264 recordings? Or is there another trick I can use?
Re: GPU decoding of H.264?
Busy implementing
Re: GPU decoding of H.264?
That's great news! Will it work both with AMD and Nvidia?
Re: GPU decoding of H.264?
DXVA2 based
Re: GPU decoding of H.264?
I released build 0.81.077 today with HW decoding for donators
Add the following line to your comskip.ini to enable HW decoding
hardware_decode=1
It should work on DXVA2 compatible HW and h.264 video, possible MPEG2
Don't bother about HW decoding if you have a very fast CPU and slow graphics (like intel HD3000 grahics)
Please test and report back:
- type of CPU
- Type of Graphics HW
- Speed with/ without HW decoding
- Any detection quality differences
Add the following line to your comskip.ini to enable HW decoding
hardware_decode=1
It should work on DXVA2 compatible HW and h.264 video, possible MPEG2
Don't bother about HW decoding if you have a very fast CPU and slow graphics (like intel HD3000 grahics)
Please test and report back:
- type of CPU
- Type of Graphics HW
- Speed with/ without HW decoding
- Any detection quality differences
Re: GPU decoding of H.264?
Dont try 0.81.077, there is a bug that can cause a crash.
Re: GPU decoding of H.264?
I hope you can get it fixed. My media server is over 8 years old so to say the processor is weak by today's standards is an understatement. Throwing in a new video card and offloading some of the workload of processing h.264 files to the GPU would really free up the CPU on my machine.
Re: GPU decoding of H.264?
Bug fixed.
WARNING: Still very experimental
Feel free to test hardware decoding in donator build of 0.81.077 and report back with your findings, in particular:
- type of CPU
- Type of Graphics HW
- Speed with/ without HW decoding
- Any detection quality differences
WARNING: Still very experimental
Feel free to test hardware decoding in donator build of 0.81.077 and report back with your findings, in particular:
- type of CPU
- Type of Graphics HW
- Speed with/ without HW decoding
- Any detection quality differences
Re: GPU decoding of H.264?
Seems this is not for my hardware. I got very slow GPU decoding compared to CPU decoding.erik wrote:Bug fixed.
WARNING: Still very experimental
Feel free to test hardware decoding in donator build of 0.81.077 and report back with your findings, in particular:
- type of CPU
- Type of Graphics HW
- Speed with/ without HW decoding
- Any detection quality differences
- Intel Core i7-2600K 3.40 GHz
- AMD Radeon HD 7900 Series
- MPEG-2 with HW decoding= 368 fps
- MPEG-2 without HW decoding= 2140 fps
- H.264 with HW decoding= 160 fps
- H.264 without HW decoding= 700 fps
- Any detection quality differences - don't know yet
Re: GPU decoding of H.264?
I know this is ancient hardware, but I guess the few of us with stuff this old are the ones most likely to benefit.
Using 0.81.077
Opteron 165 @ 1.8 ghz (dual core)
Radeon HD 4650 PCI-e card (RV730)
H.264 with HW decoding (using a thread count of 2) = 93.54 fps
H.264 without HW decoding (using a thread count of 2) = 71.80 fps
Out of curiosity I bumped the thread count up to 24 just to see what would happen:
H.264 with HW decoding (using a thread count of 24) = 117.13 fps
When I tried processing MPEG-2 with HW decoding comskip crashed and I got the following message in the log file:
Assertion frame->format == AV_PIX_FMT_DXVA2_VLD failed at C:\work\x\avcomskip\src\ffmpeg_dxva2.c:211
Using 0.81.077
Opteron 165 @ 1.8 ghz (dual core)
Radeon HD 4650 PCI-e card (RV730)
H.264 with HW decoding (using a thread count of 2) = 93.54 fps
H.264 without HW decoding (using a thread count of 2) = 71.80 fps
Out of curiosity I bumped the thread count up to 24 just to see what would happen:
H.264 with HW decoding (using a thread count of 24) = 117.13 fps
When I tried processing MPEG-2 with HW decoding comskip crashed and I got the following message in the log file:
Assertion frame->format == AV_PIX_FMT_DXVA2_VLD failed at C:\work\x\avcomskip\src\ffmpeg_dxva2.c:211
Last edited by blade on Tue Jun 02, 2015 3:34 am, edited 1 time in total.
Re: GPU decoding of H.264?
Using 0.81.077
Opteron 175 overclocked to 2.75 ghz (dual core)
Radeon HD 3450 PCI-e card (RV620)
H.264 with HW decoding (using a thread count of 2) - during the early part of detection I was getting 6.19 fps so I didn't let comskip finish processing
H.264 without HW decoding (using a thread count of 2) = 133.66 fps
When I tried processing MPEG-2 with HW decoding comskip crashed and I got the following message in the log file:
Assertion frame->format == AV_PIX_FMT_DXVA2_VLD failed at C:\work\x\avcomskip\src\ffmpeg_dxva2.c:211
Opteron 175 overclocked to 2.75 ghz (dual core)
Radeon HD 3450 PCI-e card (RV620)
H.264 with HW decoding (using a thread count of 2) - during the early part of detection I was getting 6.19 fps so I didn't let comskip finish processing
H.264 without HW decoding (using a thread count of 2) = 133.66 fps
When I tried processing MPEG-2 with HW decoding comskip crashed and I got the following message in the log file:
Assertion frame->format == AV_PIX_FMT_DXVA2_VLD failed at C:\work\x\avcomskip\src\ffmpeg_dxva2.c:211
Re: GPU decoding of H.264?
I removed build 0.81.078 because of bug