• I recently moved to a new server. i installed ffmpeg and mp4box. but im getting this error. im not sure whats causing the error.

    by the way, i installed ffmpeg 3x first, tested ok with the video convertions but no thumbnails. so i uninstalled it then installed ffmpeg 4x. and now, nothing works.

    ffmpeg version 4.4.1-3ubuntu1+18.04.sav0 Copyright (c) 2000-2021 the FFmpeg developers
      built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
      configuration: --prefix=/usr --extra-version=3ubuntu1+18.04.sav0 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
      libavutil      56. 70.100 / 56. 70.100
      libavcodec     58.134.100 / 58.134.100
      libavformat    58. 76.100 / 58. 76.100
      libavdevice    58. 13.100 / 58. 13.100
      libavfilter     7.110.100 /  7.110.100
      libswscale      5.  9.100 /  5.  9.100
      libswresample   3.  9.100 /  3.  9.100
      libpostproc    55.  9.100 / 55.  9.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf55.33.100
      Duration: 00:00:01.02, start: 0.000000, bitrate: 123 kb/s
      Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 109 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
    Input #1, png_pipe, from '/var/www/vhosts/pinaydb.tv/httpdocs/dump/Watermark_7.png':
      Duration: N/A, bitrate: N/A
      Stream #1:0: Video: png, rgba(pc), 439x166 [SAR 2835:2835 DAR 439:166], 25 fps, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
      Stream #0:0 (h264) -> overlay:main (graph 0)
      Stream #1:0 (png) -> scale (graph 0)
      overlay (graph 0) -> Stream #0:0 (libx264)
      Stream #0:1 -> #0:1 (aac (native) -> aac (native))
    Press [q] to stop, [?] for help
    [libx264 @ 0x5639c10ef200] using SAR=1/1
    [libx264 @ 0x5639c10ef200] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    x264 [error]: malloc of size 5371264 failed
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    [aac @ 0x5639c1101380] Qavg: 65536.000
    [aac @ 0x5639c1101380] 2 frames left in the queue on closing
    Conversion failed!
    Fixing moov atom for streaming
    /usr/bin/MP4Box -inter 500 /var/www/vhosts/pinaydb.tv/httpdocs/wp-content/uploads/2022/02/sample-video-h264-720.mp4 2>&1
    /usr/bin/MP4Box: symbol lookup error: /usr/bin/MP4Box: undefined symbol: gf_strdup
    • This topic was modified 2 years, 9 months ago by Metal_13.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    Do you still get that error if you clear the watermark image? The message you’re getting from FFMPEG is that it’s running out of RAM. I assume you don’t have less RAM on your new server but it seems like libx264 is somehow not getting access to enough RAM. Can you post the FFMPEG command that’s above the FFMPEG Test Output?

    You shouldn’t need mp4box if you have a modern (since late 2012) version of FFMPEG like you’re working with. You can switch the “Method to fix encoded H.264 headers for streaming” setting to “movflags faststart”

    Thread Starter Metal_13

    (@metal_13)

    i just tried removing the watermark path and it helped a litle bit. 1/8 videos got converted and others failed. i pressed “update” but they still failed.

    i think my new server has 128ram.

    the thumbnails are still not generating too. is this another problem?..

    nice /usr/bin/ffmpeg -y -i "/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4" -acodec aac -strict experimental -b:a 128k -s 1280x720 -vcodec libx264 -profile:v high444 -level:v 41 -crf 23 -threads 1 "/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/uploads/2022/02/sample-video-h264-720.mp4"

    ffmpeg version 4.4.1-3ubuntu1+18.04.sav0 Copyright (c) 2000-2021 the FFmpeg developers
      built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
      configuration: --prefix=/usr --extra-version=3ubuntu1+18.04.sav0 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
      libavutil      56. 70.100 / 56. 70.100
      libavcodec     58.134.100 / 58.134.100
      libavformat    58. 76.100 / 58. 76.100
      libavdevice    58. 13.100 / 58. 13.100
      libavfilter     7.110.100 /  7.110.100
      libswscale      5.  9.100 /  5.  9.100
      libswresample   3.  9.100 /  3.  9.100
      libpostproc    55.  9.100 / 55.  9.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf55.33.100
      Duration: 00:00:01.02, start: 0.000000, bitrate: 123 kb/s
      Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 109 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 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 @ 0x557ab6eaf540] using SAR=1280/1281
    [libx264 @ 0x557ab6eaf540] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x557ab6eaf540] profile High, level 4.1, 4:2:0, 8-bit
    [libx264 @ 0x557ab6eaf540] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - https://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 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=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/uploads/2022/02/sample-video-h264-480.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf58.76.100
      Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 854x480 [SAR 1280:1281 DAR 16:9], q=2-31, 23.98 fps, 11988 tbn (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc58.134.100 libx264
        Side data:
          cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc58.134.100 aac
    frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.57 bitrate=   0.7kbits/s speed=6.26x    
    frame=   24 fps=0.0 q=28.0 Lsize=       7kB time=00:00:00.98 bitrate=  55.6kbits/s speed=2.54x
    video:4kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 45.203148%
    [libx264 @ 0x557ab6eaf540] frame I:1     Avg QP:14.57  size:  2991
    [libx264 @ 0x557ab6eaf540] frame P:6     Avg QP:12.47  size:    48
    [libx264 @ 0x557ab6eaf540] frame B:17    Avg QP:12.71  size:    25
    [libx264 @ 0x557ab6eaf540] consecutive B-frames:  4.2%  0.0% 12.5% 83.3%
    [libx264 @ 0x557ab6eaf540] mb I  I16..4: 47.0% 47.8%  5.1%
    [libx264 @ 0x557ab6eaf540] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.8%
    [libx264 @ 0x557ab6eaf540] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0: 0.0% L1:100.0% BI: 0.0%
    [libx264 @ 0x557ab6eaf540] 8x8 transform intra:47.8% inter:0.0%
    [libx264 @ 0x557ab6eaf540] coded y,uvDC,uvAC intra: 3.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0x557ab6eaf540] i16 v,h,dc,p: 92%  1%  7%  0%
    [libx264 @ 0x557ab6eaf540] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 59% 12% 29%  0%  0%  0%  0%  0%  0%
    [libx264 @ 0x557ab6eaf540] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 19% 23%  3%  2%  6%  3%  5%  2%
    [libx264 @ 0x557ab6eaf540] i8c dc,h,v,p: 100%  0%  0%  0%
    [libx264 @ 0x557ab6eaf540] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x557ab6eaf540] ref P L0: 96.9%  3.1%
    [libx264 @ 0x557ab6eaf540] ref B L1: 91.3%  8.7%
    [libx264 @ 0x557ab6eaf540] kb/s:29.62
    [aac @ 0x557ab6ecf2c0] Qavg: 65536.000
    Fixing moov atom for streaming
    /usr/bin/MP4Box -inter 500 /var/www/vhosts/pinaydb.tv/httpdocs/wp-content/uploads/2022/02/sample-video-h264-480.mp4 2>&1
    /usr/bin/MP4Box: symbol lookup error: /usr/bin/MP4Box: undefined symbol: gf_strdup
    Thread Starter Metal_13

    (@metal_13)

    hope this helps too..

    ffmpeg -version
    ffmpeg version 4.4.1-3ubuntu1+18.04.sav0 Copyright (c) 2000-2021 the FFmpeg developers
    built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
    configuration: --prefix=/usr --extra-version=3ubuntu1+18.04.sav0 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
    libavutil      56. 70.100 / 56. 70.100
    libavcodec     58.134.100 / 58.134.100
    libavformat    58. 76.100 / 58. 76.100
    libavdevice    58. 13.100 / 58. 13.100
    libavfilter     7.110.100 /  7.110.100
    libswscale      5.  9.100 /  5.  9.100
    libswresample   3.  9.100 /  3.  9.100
    libpostproc    55.  9.100 / 55.  9.100
    Thread Starter Metal_13

    (@metal_13)

    this is the test output after changing to “movflags faststart”

    nice /usr/bin/ffmpeg -y -i "/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4" -acodec aac -strict experimental -b:a 128k -s 854x480 -vcodec libx264 -movflags faststart -profile:v high444 -level:v 41 -crf 23 -threads 1 "/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/uploads/2022/02/sample-video-h264-480.mp4"

    ffmpeg version 4.4.1-3ubuntu1+18.04.sav0 Copyright (c) 2000-2021 the FFmpeg developers
      built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
      configuration: --prefix=/usr --extra-version=3ubuntu1+18.04.sav0 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
      libavutil      56. 70.100 / 56. 70.100
      libavcodec     58.134.100 / 58.134.100
      libavformat    58. 76.100 / 58. 76.100
      libavdevice    58. 13.100 / 58. 13.100
      libavfilter     7.110.100 /  7.110.100
      libswscale      5.  9.100 /  5.  9.100
      libswresample   3.  9.100 /  3.  9.100
      libpostproc    55.  9.100 / 55.  9.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf55.33.100
      Duration: 00:00:01.02, start: 0.000000, bitrate: 123 kb/s
      Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 109 kb/s, 23.98 fps, 23.98 tbr, 11988 tbn, 47.95 tbc (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 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 @ 0x559c2257fe40] using SAR=1280/1281
    [libx264 @ 0x559c2257fe40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
    [libx264 @ 0x559c2257fe40] profile High, level 4.1, 4:2:0, 8-bit
    [libx264 @ 0x559c2257fe40] 264 - core 163 r3060 5db6aa6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - https://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 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=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/var/www/vhosts/pinaydb.tv/httpdocs/wp-content/uploads/2022/02/sample-video-h264-480.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf58.76.100
      Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p(tv, progressive), 854x480 [SAR 1280:1281 DAR 16:9], q=2-31, 23.98 fps, 11988 tbn (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc58.134.100 libx264
        Side data:
          cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
      Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc58.134.100 aac
    frame=    1 fps=0.0 q=0.0 size=       0kB time=00:00:00.57 bitrate=   0.7kbits/s speed= 6.7x    
    [mp4 @ 0x559c225812c0] Starting second pass: moving the moov atom to the beginning of the file
    frame=   24 fps=0.0 q=28.0 Lsize=       7kB time=00:00:00.98 bitrate=  55.6kbits/s speed=2.69x
    video:4kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 45.203148%
    [libx264 @ 0x559c2257fe40] frame I:1     Avg QP:14.57  size:  2991
    [libx264 @ 0x559c2257fe40] frame P:6     Avg QP:12.47  size:    48
    [libx264 @ 0x559c2257fe40] frame B:17    Avg QP:12.71  size:    25
    [libx264 @ 0x559c2257fe40] consecutive B-frames:  4.2%  0.0% 12.5% 83.3%
    [libx264 @ 0x559c2257fe40] mb I  I16..4: 47.0% 47.8%  5.1%
    [libx264 @ 0x559c2257fe40] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.8%
    [libx264 @ 0x559c2257fe40] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.1%  0.0%  0.0%  direct: 0.0%  skip:99.9%  L0: 0.0% L1:100.0% BI: 0.0%
    [libx264 @ 0x559c2257fe40] 8x8 transform intra:47.8% inter:0.0%
    [libx264 @ 0x559c2257fe40] coded y,uvDC,uvAC intra: 3.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0x559c2257fe40] i16 v,h,dc,p: 92%  1%  7%  0%
    [libx264 @ 0x559c2257fe40] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 59% 12% 29%  0%  0%  0%  0%  0%  0%
    [libx264 @ 0x559c2257fe40] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 19% 23%  3%  2%  6%  3%  5%  2%
    [libx264 @ 0x559c2257fe40] i8c dc,h,v,p: 100%  0%  0%  0%
    [libx264 @ 0x559c2257fe40] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0x559c2257fe40] ref P L0: 96.9%  3.1%
    [libx264 @ 0x559c2257fe40] ref B L1: 91.3%  8.7%
    [libx264 @ 0x559c2257fe40] kb/s:29.62
    [aac @ 0x559c225856c0] Qavg: 65536.000
    Thread Starter Metal_13

    (@metal_13)

    ffmpeg thumb seems to be working on this ssh command.
    sudo ffmpeg -ss 16 -i /var/www/vhosts/pinaydb.tv/httpdocs/test_ffmpeg.mp4 -frames:v 1 -s 320x240 //var/www/vhosts/pinaydb.tv/httpdocs/test_ffmpeg_thumb.jpg

    ffmpeg version 4.4.1-3ubuntu1+18.04.sav0 Copyright (c) 2000-2021 the FFmpeg developers
      built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
      configuration: --prefix=/usr --extra-version=3ubuntu1+18.04.sav0 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-pocketsphinx --enable-librsvg --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
      libavutil      56. 70.100 / 56. 70.100
      libavcodec     58.134.100 / 58.134.100
      libavformat    58. 76.100 / 58. 76.100
      libavdevice    58. 13.100 / 58. 13.100
      libavfilter     7.110.100 /  7.110.100
      libswscale      5.  9.100 /  5.  9.100
      libswresample   3.  9.100 /  3.  9.100
      libpostproc    55.  9.100 / 55.  9.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/var/www/vhosts/pinaydb.tv/httpdocs/test_ffmpeg.mp4':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf58.76.100
      Duration: 00:01:19.20, start: 0.000000, bitrate: 859 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 480x854 [SAR 1:1 DAR 240:427], 758 kb/s, 25 fps, 25 tbr, 16k tbn, 50 tbc (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
      Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 96 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
          vendor_id       : [0][0][0][0]
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
    Press [q] to stop, [?] for help
    [swscaler @ 0x5578555ddc00] deprecated pixel format used, make sure you did set range correctly
    Output #0, image2, to '//var/www/vhosts/pinaydb.tv/httpdocs/test_ffmpeg_thumb.jpg':
      Metadata:
        major_brand     : isom
        minor_version   : 512
        compatible_brands: isomiso2avc1mp41
        encoder         : Lavf58.76.100
      Stream #0:0(und): Video: mjpeg, yuvj420p(pc, bt709, progressive), 320x240 [SAR 180:427 DAR 240:427], q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
        Metadata:
          handler_name    : VideoHandler
          vendor_id       : [0][0][0][0]
          encoder         : Lavc58.134.100 mjpeg
        Side data:
          cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
    frame=    1 fps=0.0 q=4.8 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=0.553x   
    video:10kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
    • This reply was modified 2 years, 9 months ago by Metal_13.
    Plugin Author Kyle Gilman

    (@kylegilman)

    Your new server only has 128MB of RAM? That’s really low for what you’re doing. How much did your old one have?

    Thread Starter Metal_13

    (@metal_13)

    128GB ram.. the old one has 64 i think

    • This reply was modified 2 years, 9 months ago by Metal_13.
    Thread Starter Metal_13

    (@metal_13)

    should i reinstall the ffmpeg or downgrade to an older version maybe?

    Plugin Author Kyle Gilman

    (@kylegilman)

    I have no idea why FFMPEG is running out of RAM if you have that much available. Sorry but this is beyond my expertise.

    Thread Starter Metal_13

    (@metal_13)

    Can you recomend any type of testingto know whats causing this? And do i only need ffmpeg to run your plugin? What version should i use

    Plugin Author Kyle Gilman

    (@kylegilman)

    Any version of FFMPEG should work with Videopack going back about 15 years. I use version 4 on my own server. If you had a version that was working on your old server, try that, but I can’t stress enough that I don’t know what’s going on.

    Thread Starter Metal_13

    (@metal_13)

    ill try other versions. sorry about this and thanks for the help

    Thread Starter Metal_13

    (@metal_13)

    incase someone else gets this issue. it was “Litespeed” limiting the memory.
    just increase the memory “soft limit and hard limit” from the litespeed admin console

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Conversion fail – ffmpeg 4x’ is closed to new replies.