I have no encoded my uploaded test file (.webm) trough the media library “replace original with 720p”. It encoded it but leave the original file in place, and sourced both files (webm and mp4) in the <video> tag.
Now it shows in media library “<label for=”attachments-57802-kgflashmediaplayer-encodewebm”>WEBM VP8</label> <span id=”attachments-57802-kgflashmediaplayer-metawebm” class=”kgvid_format_meta”> Encoded</span>” as if it was encoded it is the original file as it seems, at least it has the original resolution.
Thanks, I’m looking into this. I’m able to replicate the problem on my end, and I’ll try to come up with a solution this weekend.
I just released version 4.10.1 which should fix these problems. Let me know if you need anything else.
<span _d-id=”88170″ class=”–l –r sentence_highlight”>Thank you. I have already tested the new update, but now I have the problem that the video is not converted at all after the upload. I didn’t see anything in the debug log either. I took a .webm again for testing, it should have been replaced by .mp4 720p.</span><span _d-id=”88180″ class=”–r sentence_highlight”></span><span _d-id=”88182″ class=”–l –r sentence_highlight”>When I opened it in the media library and converted it there, it worked as intended, it was converted to 720p h264. </span>
Hmmm, I can’t replicate that problem. Are you able to create thumbnails or convert to other formats automatically on upload? It might take a minute for the event to be triggered, so it’s a good idea to wait a bit and then load the Videopack Encode Queue page to see if anything is scheduled. Videopack uses WP-Cron to schedule automatic conversions when a new attachment is created. Can you verify that WP-Cron is working? I recommend WP Control to check event scheduling. The event when a new video is uploaded is kgvid_cron_new_attachment
Nice, this time it worked! I just tested again. I don’t know how long it should took to trigger the process, I have set cron to run every minute. Maybe I waited not long enough.
I checked with WP Crontrol, but I see only kgvid_cleanup_queue and kgvid_cleanup_generated_thumbnails
Great! Cron and WP Cron have similar names but aren’t connected unless you’ve manually set cron to run WP Cron. On most sites, WP Cron only runs when a page on your WordPress site is loaded. On a test site with no traffic that means it doesn’t run unless you manually load a page. The encoding event is scheduled to run several seconds after the attachment is uploaded to avoid overcrowding when a large number of videos are added simultaneously. It shouldn’t take more than a minute. If you don’t see the kgvid_cron_new_attachment event in WP Cron that’s probably because it already executed, so that’s a good sign.