• Hello!
    When I’m asking to encode my videos the get placed in the queue but nothing happens. I assume there is an error, but I wouldn’t know what. Both videos I put in Queue yesterday are still saying “Queued” after each of the formats. Worth noting is that I am able to generate thumbnails and all that.

    Running the test in the FFMPEG setting I get the following (note that I have changed the sitename with [URL] in the file paths):

    Command:
    /home/u4-bii1wzhgwa0m/www/[URL]/ffmpeg/ffmpeg -y -i "/home/customer/www/[URL]/public_html/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-rotated-h264.mp4" -ac 2 -acodec aac -strict experimental -b:a 160k -s 854x480 -vcodec libx264 -profile:v baseline -pix_fmt yuv420p -level:v 30 -crf 9 -threads 1 "/home/customer/www/[URL]/public_html/wp-content/uploads/sites/8/2022/10/sample-video-h264-480.mp4"

    Test Results

    ffmpeg version 5.1.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2022 the FFmpeg developers
      built with gcc 8 (Debian 8.3.0-6)
      configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libfribidi --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg
      libavutil      57. 28.100 / 57. 28.100
      libavcodec     59. 37.100 / 59. 37.100
      libavformat    59. 27.100 / 59. 27.100
      libavdevice    59.  7.100 / 59.  7.100
      libavfilter     8. 44.100 /  8. 44.100
      libswscale      6.  7.100 /  6.  7.100
      libswresample   4.  7.100 /  4.  7.100
      libpostproc    56.  6.100 / 56.  6.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/customer/www/[URL]/public_html/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-rotated-h264.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf57.56.100
      Duration: 00:00:00.04, start: 0.000000, bitrate: 1850 kb/s
      Stream #0:0[0x1](eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 1920x1080, 1423 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
        Side data:
          displaymatrix: rotation of -90.00 degrees
      Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 193 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
      Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0xd9d8d00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
    [libx264 @ 0xd9d8d00] profile Constrained Baseline, level 3.0, 4:2:0, 8-bit
    [libx264 @ 0xd9d8d00] 264 - core 164 r3098 7628a56 - H.264/MPEG-4 AVC codec - Copyleft 2003-2022 - https://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=9.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/home/customer/www/[URL]/public_html/wp-content/uploads/sites/8/2022/10/sample-video-h264-480.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf59.27.100
      Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709, progressive), 854x480, q=2-31, 23.98 fps, 24k tbn (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc59.37.100 libx264
        Side data:
          cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
          displaymatrix: rotation of -0.00 degrees
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc59.37.100 aac
    frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x    
    frame=    1 fps=0.0 q=14.0 Lsize=       8kB time=00:00:00.04 bitrate=1533.7kbits/s speed=0.63x
    video:7kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 21.167234%
    [libx264 @ 0xd9d8d00] frame I:1     Avg QP: 1.31  size:  6089
    [libx264 @ 0xd9d8d00] mb I  I16..4: 94.1%  0.0%  5.9%
    [libx264 @ 0xd9d8d00] coded y,uvDC,uvAC intra: 4.2% 0.1% 0.1%
    [libx264 @ 0xd9d8d00] i16 v,h,dc,p: 95%  2%  4%  0%
    [libx264 @ 0xd9d8d00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 29% 24%  2%  3%  2%  6%  2%  5%
    [libx264 @ 0xd9d8d00] i8c dc,h,v,p: 97%  3%  0%  0%
    [libx264 @ 0xd9d8d00] kb/s:1167.92
    [aac @ 0xd9bb4c0] Qavg: 65536.000

    I have made some progress and made sure our server host has installed libx264. before that I had error messages which I can’t see now. That’s at least something! ??

    Has anyone had the same problem? Is there a good way to decode these message to find an issue? Or is there a log form the Encode Queue?

    Best,
    Andreas

    Edit: Clarifying the question.

    • This topic was modified 2 years, 1 month ago by lagzer.
    • This topic was modified 2 years, 1 month ago by lagzer.
    • This topic was modified 2 years, 1 month ago by lagzer.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    Your FFMPEG test output looks good. Sometimes you’ll see this sort of problem because WP-Cron isn’t working. Try installing WP Control and see if there are any jobs in the queue that aren’t executing. Try manually executing them just to see if you can get the queue to start.

    Thread Starter lagzer

    (@lagzer)

    Thank you @kylegilman for such a prompt answer, on a weekend no less.

    I have WP Crontrol and it looks like everything is running as it should. I however, don’t see any CRON job actions from Videopack. What Videopack actions should I be looking for?

    On a side note; on the Videopack Encoding Queue page there is a play button in the top right corner, which when I click it briefly turns into a pause button before turning back to a play button. I’m not sure exactly what it’s supposed to do, but I would expect it to start the encoding, but that doesn’t seem to happen.

    Thanks again! This seems like a fantastic plugin and and would love to get it to work. ??

    Best,
    Andreas

    Thread Starter lagzer

    (@lagzer)

    Hello again,
    After doing some more digging I notice I’m having issues with the thumbnails as well. It was working but then I noticed “When possible, use the browser’s built-in video capabilities to make thumbnails instead of FFMPEG.” was checked. After I unchecked it I noticed it generates 0kb jpegs, so perhaps there’s an issue creating the files.

    I’m thinking these are related issues.

    Any directions of how to best debug these issues – or if anyone recognize these symptoms – is much appreciated!

    Best,
    Andreas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Encoding Queue not running’ is closed to new replies.