Large Video Conversion - Time Out
Using Jamroom
Ken_Rich:
Quote:01/26/15 07:41:06PM 157.55.39.97 deleted video_conversions queue entry running for 3666 seconds - 3rd time failing
This is a MP4 video file 314 MB in size and about 36 minutes long. The client is in one of my paid quotas, so I want to allow this, he's paying for the server resources.
I have conversion set to the highest level with 1 worker.
1) With 2 workers will it cut the time in half, or just allow 2 files to be processed at once? (Should server upgrade be faster processor or more processors).
It won't cut the time in half, but will allow 2 conversions going on at once.
Quote:2) Where can I increase the 3666 second time cap, so that it doesn't keep giving up. It tried 3 times which means 3 hours of processing 1 hour each. All wasted. If it was set to 3 hours to start with it, it might have finished and not been wasted resources.
It looks like the video worker is using the "default" timeout - we'll need to set that higher in the module - probably set it to 4 hours - if it takes longer than that , the server is too slow or the video too big.
Quote:3) Did it delete the file for real, or just from the queue? I see it (or at least a record of it) in the datastore. However, I see no way of adding it back to the queue.
It gave up on it - the video will need to be deleted and re-uploaded for it to create the queue entry again.
Quote:4) My host says he has a media conversion package on the server that converts videos really quickly. He's wondering why it's so slow through the script?
Jamroom uses ffmpeg which is pretty much the "standard" for video and audio conversion. If your hosting provider has some super charged version of it, you can modify your data/config/config.php file and add:
$_conf['jrCore_ffmpeg_binary'] = '/usr/local/bin/ffmpeg';
change /usr/local/bin/ffmpeg to the location of your custom ffmpeg. I don't think it will be a lot faster though.