Transcoding Fails on Large Files #722
-
Environment (please complete the following information):
Describe the issue I also noticed that the chunks and hls folders are empty. Additionally, when I delete the mp4, the chunks in the originals folder labeled 0x_..._.mp4.mkv do not get deleted. I initially thought this was a permission error with the NFS shares, but I don't understand why allocating more RAM can fix the error. I'm also pretty sure that my setup is enough to handle these encodings. Any help would appreciated. Logs celery_long.log
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I can confirm that issue |
Beta Was this translation helpful? Give feedback.
-
Temporary solutionA temporary workaround is disabling the https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md#12-video-transcoding
Not the best solution, just a temporary workaround. |
Beta Was this translation helpful? Give feedback.
-
The part on the above log
suggests that the specific job (or celery task more specifically) has a limit of 2hours and then fails the job, this is set as a check mechanism that a process wouldn't run for a long time. You may change this limit and restart celery_long, in this case it will take the time to complete the video encoding files/tasks.py , under EncodingTask
set soft_time_limit to something bigger than settings.CELERY_SOFT_TIME_LIMIT , which is defined on cms/settings.py ( |
Beta Was this translation helpful? Give feedback.
The part on the above log
suggests that the specific job (or celery task more specifically) has a limit of 2hours and then fails the job, this is set as a check mechanism that a process wouldn't run for a long time. You may change this limit and restart celery_long, in this case it will take the time to complete the video encoding
files/tasks.py , under EncodingTask
set soft_time_limit to something bigger than settings.CELERY_SOFT_TIME_LIMIT , which is defined on cms/setti…