If these entries have been in the transcode queue for a while, then the file has likely been removed as it has taken too long (over 24 hours). This is expected.
The main issue would be figuring out why these files are in the queue rather than being processed. If you upload new videos, do they get processed?
DifferentWas it the same 240MB file each time, or different?
Did the load stay high or did it eventually stop?
We would then be able to test it. It's possible if it's the same video that the video file itself is causing it to fall over.
What is your Transcode Limit option set to?
PHP script execution shouldn't be a factor here as we pass it off to a PHP CLI process for this reason. I've transcoded 700MB video files up to now without issue.
What is your Transcode Limit option set to? Are you attempting to transcode more than one video at a time?
Check your PHP error log in case there is anything logged there.
Does it fail even if you only have one item in the queue?
OK.
I am going to try it locally with a similarly sized video file to see if we can reproduce the problem.
What format of video is it? AVI?
php video-transcode.php <transcode_queue_id>
In the meantime, it might be worth trying to run the transcode process manually from the CLI.
You will need SSH access on your server, and you will need to run cd <your/XF/root/path>/library/XenGallery/Helper
In there you need to run a command similar to the following:
Code:php video-transcode.php <transcode_queue_id>
You will just need to replace <transcode_queue_id> with a transcode_queue_id for an item in your xengallery_transcode_queue table.
You will also need to ensure that item has a queue_state of "pending" rather than "processing". If it is "processing" already then set it to "pending". You may also want to kill any ffmpeg processes that are already running on the server.
I'm not sure if you'll see any output or not from ffmpeg, but basically keep an eye on it an see if PHP eventually throws back any errors.
In the meantime, it might be worth trying to run the transcode process manually from the CLI.
You will need SSH access on your server, and you will need to run cd <your/XF/root/path>/library/XenGallery/Helper
In there you need to run a command similar to the following:
Code:php video-transcode.php <transcode_queue_id>
You will just need to replace <transcode_queue_id> with a transcode_queue_id for an item in your xengallery_transcode_queue table.
You will also need to ensure that item has a queue_state of "pending" rather than "processing". If it is "processing" already then set it to "pending". You may also want to kill any ffmpeg processes that are already running on the server.
I'm not sure if you'll see any output or not from ffmpeg, but basically keep an eye on it an see if PHP eventually throws back any errors.
In the meantime, it might be worth trying to run the transcode process manually from the CLI.
You will need SSH access on your server, and you will need to run cd <your/XF/root/path>/library/XenGallery/Helper
In there you need to run a command similar to the following:
Code:php video-transcode.php <transcode_queue_id>
You will just need to replace <transcode_queue_id> with a transcode_queue_id for an item in your xengallery_transcode_queue table.
You will also need to ensure that item has a queue_state of "pending" rather than "processing". If it is "processing" already then set it to "pending". You may also want to kill any ffmpeg processes that are already running on the server.
I'm not sure if you'll see any output or not from ffmpeg, but basically keep an eye on it an see if PHP eventually throws back any errors.
1.1.6By the way, what version of XFMG are you running?
We check for the required encoders when you set the FFmpeg path in the options, so as long as you don't get any errors there it should be ok.
ffmpeg -y -i test.avi -vcodec libx264 -acodec aac -ar 48000 -ac 2 -movflags faststart output.mp4
$config['debug'] = true;
In the meantime, it might be worth trying to run the transcode process manually from the CLI.
You will need SSH access on your server, and you will need to run cd <your/XF/root/path>/library/XenGallery/Helper
In there you need to run a command similar to the following:
Code:php video-transcode.php <transcode_queue_id>
You will just need to replace <transcode_queue_id> with a transcode_queue_id for an item in your xengallery_transcode_queue table.
You will also need to ensure that item has a queue_state of "pending" rather than "processing". If it is "processing" already then set it to "pending". You may also want to kill any ffmpeg processes that are already running on the server.
I'm not sure if you'll see any output or not from ffmpeg, but basically keep an eye on it an see if PHP eventually throws back any errors.
We use essential cookies to make this site work, and optional cookies to enhance your experience.