Closed shanka12 closed 4 years ago
Are 4CPU dedicated or shared. That makes a huge difference.
ffmpeg actually requires lot of CPU power. I use Digitalocean dedicated CPU-Optimized droplet ($80/mo) and it takes me 30min to convert 2gb video to different hls representations using this library.
Are 4CPU dedicated or shared. That makes a huge difference.
Dedicated CPU on cloud server.
ffmpeg actually requires lot of CPU power. I use Digitalocean dedicated CPU-Optimized droplet ($80/mo) and it takes me 30min to convert 2gb video to different hls representations using this library.
Thank you @aumkarthakur . Do you think, Dedicated server will solve this issue? (AMD EPYC 7502P 32 Core, 128GB RAM (https://www.hetzner.com/dedicated-rootserver/ax161)
one more question if you don't mind. How many videos we can convert at the same time with AMD 32-Core dedicated server?
The code is ok. Besides FFmpeg takes the time to package your media. The time of the packaging process depends on you how much you want to spend money and what is your priority.
As @aumkarthakur mentioned, FFmpeg uses a lot of CPU resources, and of course how much your CPU is fast, the packaging process will be faster.
Thank you for the Great library :) This is not a Bug.
I tried to convert 389.4 MB, 30 Minutes mp4 file to hls on production server. It is take more than 1 hour to convert.
Is that issue with server or code? I use 4vCPU, 16GB RAM Cloud server. Is there any recommended specification for the server?