2024-05-17, 03:50 AM
(This post was last modified: 2024-05-17, 03:55 AM by Efficient_Good_5784. Edited 3 times in total.)
(2024-05-16, 02:43 PM)gnattu Wrote: ...and is also a very fast format for CPU(modern CPUs can outperform common hardware encoders in Intel GPUs).I decided to see how much time I would save with encoding a trickplay file by switching to HWA, so I used the logs to see how much time it took to generate one for a single 24min long 1080p video.
My Jellyfin server is using a Ryzen 7 5750G, so my server doesn't support the 2nd option for HWA in the settings where it accelerates MJPEG encoding. Only the hardware decode option works on it.
The results:
- CPU: ~55 seconds
- Hardware Decode Only: ~2.3 minutes
I'm surprised using the GPU in this case took a bit more than twice as long as the CPU.
The GPU-generated trickplay file was a few hundred KBs larger, and the picture quality for it was worse too when I compared the thumbnails produced by both it and the CPU using the same settings. I think the bad quality could just be me using an AMD gpu which are known to not be good encoders in terms of quality as compared to Intel or Nvidia GPUs.
I didn't save any time, rather, I lost time with the 1st HWA option.
The only thing that I gained was lower CPU utilization throughout the creation and a lower server wattage usage.