Replies: 5 comments 11 replies
-
Was hoping to find an answer to that, and just find your question. It's not only matter of I'm trying some combinations. Without luck. Here's a sample of the logs:
|
Beta Was this translation helpful? Give feedback.
-
Hi, any updates? I bought an Nvidia Tesla P40. However, seems I couldn't benefit from it for running MediaCMS. Any solution to use hardware accelerated encoding? |
Beta Was this translation helpful? Give feedback.
-
Hey guys, here you go: Rename it to helpers.py This is working with my the NVidia RTX 3070IT Super. you will see it tests if the media should be hardware encoded and if so, it has filters for h.264 and h265
Sorry, I don't know anything about github, just thought I would share this with you. Let me know if you have any improvements. |
Beta Was this translation helpful? Give feedback.
-
How to make this work in the docker-compose image? |
Beta Was this translation helpful? Give feedback.
-
I've successfully added hardware encoding for Rockchip RK3588S arm64's, which is similar in modifications. I was however interested in thoughts on how to abstract the encoding profiles to make it a little easier to support different hardware encoders. For my purposes, I had a custom build version of ffmpeg, bento4, and pass through transcoding hardware into the worker containers. If you're using a container deployment, make sure you pass through the devices into your docker-compose file. For instance, on RK3588s, you have to add the following devices to celery_worker:
If you're using Nvidia or other hardware encoders, the devices will be different but will probably still be required... It's also worth mentioning that when you are testing encoding profiles, grabbing the exact ffmpeg command being run is extremely important because a permissions problem on your devices usually ends up with a Segmentation Fault and basically no usable error messages in any of the logs. |
Beta Was this translation helpful? Give feedback.
-
Has anyone successfully configured ffmpeg with Quick Sync or Nvenc to use hardware acceleration for encoding the different quality copies?
I presume it's just a matter changing the ffmpeg commands on tasks.py and adequately compiling ffmpeg, but was wondering if someone has done this before.
Beta Was this translation helpful? Give feedback.
All reactions