• Resolved andreios

    (@andreios)


    https://imgur.com/a/LVBFtG4
    I only want to encode one resolution (720p) no custom resolution. But it sets every time after saving the “custom” resolution again.
    Also it doesn’t encode anything with these settings, the .webm I uploaded should be replaced, but nothing, no new file anywhere, nothing in the debug.log.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter andreios

    (@andreios)

    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.

    Thread Starter andreios

    (@andreios)

    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.

    Plugin Author Kyle Gilman

    (@kylegilman)

    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.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I just released version 4.10.1 which should fix these problems. Let me know if you need anything else.

    Thread Starter andreios

    (@andreios)

    <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>

    Plugin Author Kyle Gilman

    (@kylegilman)

    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

    Thread Starter andreios

    (@andreios)

    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

    Plugin Author Kyle Gilman

    (@kylegilman)

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Setting not saved and video does not encode’ is closed to new replies.