Is this the button in the FFMPEG Settings tab of the plugin settings page? I can’t reproduce this issue. Have you made any modifications to the plugin? Are there videos in the queue already when you press the “Encode videos” button? When a video finishes encoding does its status in the queue change to Encoding Complete or is there an error message? Which default video encode formats have you enabled on the settings page? What setting do you have selected for the “Method to fix encoded H.264 headers for streaming” option? In the FFMPEG test output for one of the H.264 formats do you get a complete encode or is there an error message?
Is this the button in the FFMPEG Settings tab of the plugin settings page?
-YES
Have you made any modifications to the plugin?
-NO
Are there videos in the queue already when you press the “Encode videos” button?
-YES and NO (tried both)
When a video finishes encoding does its status in the queue change to Encoding Complete or is there an error message?
-Encoding completes most of the time, but sometimes i get “Error: No log file” then the queue stops/pauses. i have to open the queue page to resume again.
Which default video encode formats have you enabled on the settings page?
-H.264
What setting do you have selected for the “Method to fix encoded H.264 headers for streaming” option?
-none.. i remember having problems when it’s enabled(months ago), forgot what the problem was.. should i try enabling it?
In the FFMPEG test output for one of the H.264 formats do you get a complete encode or is there an error message?
-NO error messages, it works fine..
H.264 includes as many as 4 different video encode formats. Which ones specifically are checked on the settings page?
Replace original
1080p H.264
720p H.264
360p H.264
WEBM
WEBM VP9
OGV
Custom
Unrelated to the problem you’re having, it’s a good idea to fix encoded H.264 headers because you’ll get better playback with long videos, but I was asking because if you had enabled one of the options it would point at a possible troubleshooting angle.
What OS is your server running?
I have these selected.
-Replace original
-360p H.264
-Custom (240p)
OS: Ubuntu 14.04.2 LTS
Plesk 12.0.18
I just found out that i didn’t have mp4box…. so i installed gpac, then enabled mp4box. Method to fix encoded H.264 no longer give errors.
Do the 360p and custom 240p videos get re-encoded or is it just doing Replace original?
its just the Replace original.. 🙁
I’ve found the problem, but unfortunately I don’t think there’s anything you can do about it right now. It’s not a server configuration issue, it’s just that I never anticipated anyone running that script more than once. I’ve created an issue on GitHub you can follow to track my progress fixing this.
i see, but i don’t want to run it more than once. whenever i use add-to-server plugin some dont make it to the queue, so i recheck them once.
my add-on script runs something like this.
-$HD = get parent (original video in post)
-$LQ = get children (lower quality videos)
--if ($HD > 240p && empty($LOW))
{
---then kgvid_cron_new_attachment_handler($HD)
---update post_meta('convert_done')
}else{
---update post_meta('convert_done')
}
the problem is, if the video is quicktime.. there’s no $LOW videos even after converting them, looks like the metas aren’t saved on $HD.
is this a “No log file” Error?
EDIT: this is my original code
http://pastebin.com/CxdJcxVk