Closed jsimons256 closed 1 year ago
I can confirm that issue
A temporary workaround is disabling the Encode profiles
for any profile other than 240
and 360
:
https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md#12-video-transcoding
Add / remove resolutions and profiles by modifying the database table of
Encode profiles
through https://your_installation/admin/files/encodeprofile/For example, the
Active
state of any profile can be toggled to enable or disable it.
Not the best solution, just a temporary workaround.
Environment (please complete the following information):
All h264 encodings are turned off and all vp9 encodings are turned onThis happens with all high res encodingsDescribe the issue Encodings fail on large files at high resolutions. I am running MediaCMS on a VM through TrueNas Scale with media_files and pg_dump mounted as NFS shares. I initially assigned 24 threads and 8 GB or RAM to the VM. It worked well with 1080p mp4s under 1 GB with all encodings succeeding. For 1080p encodings over 1 GB, the 720p and under encodings work while the 1080p encoding fails. I changed from allocating 8 to 12 GB or RAM and the 1080p encoding worked for ~1 GB files but failed for 2 GB files.
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