• FFMPEG errors upon the transcoding. Shows this in the Media Asset GUI:

    [aac @ 00000000005c3ba0] Qavg: 530.463

    Running on IIS v7.5. Note if you go to the local folder, the video was transcoded and playable. Thinking the latest FFMPEG has changed options?

    FFMPEG test command:

    `
    C:\webtools\ffmpeg\bin/ffmpeg -y -i “C:\inetpub\wwwroot\wp-content\plugins\video-embed-thumbnail-generator/images/sample-video-h264.mp4” -i “C:\inetpub\wwwroot/wp-content/uploads/2016/01/Ch2-US_Flag.jpg” -acodec aac -strict experimental -b:a 160k -s 720×1280 -vcodec libx264 -movflags faststart -profile:v main -pix_fmt yuv420p -level:v 30 -crf 23 -vf “transpose=1” -metadata:s:v:0 rotate=0 -threads 1 -filter_complex “[1:v]scale=96:-1[watermark];[0:v][watermark]overlay=main_w-overlay_w-main_w*0.06:main_h-overlay_h-main_w*0.05” “C:\inetpub\wwwroot/wp-content/uploads/2016/01/sample-video-h264-720.mp4″`

    Here is the output:

    `ffmpeg version N-77782-g42c54d4 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 5.2.0 (GCC)
    configuration: –enable-gpl –enable-version3 –disable-w32threads –enable-avisynth –enable-bzlib –enable-fontconfig –enable-frei0r –enable-gnutls –enable-iconv –enable-libass –enable-libbluray –enable-libbs2b –enable-libcaca –enable-libdcadec –enable-libfreetype –enable-libgme –enable-libgsm –enable-libilbc –enable-libmodplug –enable-libmp3lame –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libopenjpeg –enable-libopus –enable-librtmp –enable-libschroedinger –enable-libsoxr –enable-libspeex –enable-libtheora –enable-libtwolame –enable-libvidstab –enable-libvo-aacenc –enable-libvo-amrwbenc –enable-libvorbis –enable-libvpx –enable-libwavpack –enable-libwebp –enable-libx264 –enable-libx265 –enable-libxavs –enable-libxvid –enable-libzimg –enable-lzma –enable-decklink –enable-zlib
    libavutil 55. 13.100 / 55. 13.100
    libavcodec 57. 22.100 / 57. 22.100
    libavformat 57. 21.101 / 57. 21.101
    libavdevice 57. 0.100 / 57. 0.100
    libavfilter 6. 23.100 / 6. 23.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘C:\inetpub\wwwroot\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.021333, bitrate: 123 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920×1080 [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
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
    Metadata:
    handler_name : SoundHandler
    [mjpeg @ 00000000000fdd00] Changing bps to 8
    Input #1, image2, from ‘C:\inetpub\wwwroot/wp-content/uploads/2016/01/Ch2-US_Flag.jpg’:
    Duration: 00:00:00.04, start: 0.000000, bitrate: 1134 kb/s
    Stream #1:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 180×180 [SAR 1:1 DAR 1:1], 25 tbr, 25 tbn, 25 tbc
    Filtergraph ‘transpose=1’ was specified through the -vf/-af/-filter option for output stream 0:0, which is fed from a complex filtergraph.
    -vf/-af/-filter and -filter_complex cannot be used together for the same stream.`

    https://ww.wp.xz.cn/plugins/video-embed-thumbnail-generator/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    So the last line is related to the AAC encoder. That does seem new. Thanks for bringing this to my attention. Looks like I need to do some testing with a newer version of FFMPEG now.

    The error you’re getting in the test encode is a different problem another user pointed out last week. I got to the bottom of that one already and it will be fixed in the next release.

    Thread Starter kingsam01

    (@kingsam01)

    In the meantime, should I hunt for a certain release version of FFMPEG to get going?

    Plugin Author Kyle Gilman

    (@kylegilman)

    Can you do me a favor and temporarily remove the watermark from the FFMPEG settings tab? Once you’ve done that you should get a different output in the sample FFMPEG encode. Post that output and I’ll have a better idea what’s changed.

    Thread Starter kingsam01

    (@kingsam01)

    C:\webtools\ffmpeg\bin/ffmpeg -y -i “C:\inetpub\wwwroot\wp-content\plugins\video-embed-thumbnail-generator/images/sample-video-h264.mp4” -acodec aac -strict experimental -b:a 160k -s 720×1280 -vcodec libx264 -movflags faststart -profile:v main -pix_fmt yuv420p -level:v 30 -crf 23 -vf “transpose=1” -metadata:s:v:0 rotate=0 -threads 1 “C:\inetpub\wwwroot/wp-content/uploads/2016/01/sample-video-h264-720.mp4”

    Output:

    ffmpeg version N-77782-g42c54d4 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 5.2.0 (GCC)
    configuration: –enable-gpl –enable-version3 –disable-w32threads –enable-avisynth –enable-bzlib –enable-fontconfig –enable-frei0r –enable-gnutls –enable-iconv –enable-libass –enable-libbluray –enable-libbs2b –enable-libcaca –enable-libdcadec –enable-libfreetype –enable-libgme –enable-libgsm –enable-libilbc –enable-libmodplug –enable-libmp3lame –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-libopenjpeg –enable-libopus –enable-librtmp –enable-libschroedinger –enable-libsoxr –enable-libspeex –enable-libtheora –enable-libtwolame –enable-libvidstab –enable-libvo-aacenc –enable-libvo-amrwbenc –enable-libvorbis –enable-libvpx –enable-libwavpack –enable-libwebp –enable-libx264 –enable-libx265 –enable-libxavs –enable-libxvid –enable-libzimg –enable-lzma –enable-decklink –enable-zlib
    libavutil 55. 13.100 / 55. 13.100
    libavcodec 57. 22.100 / 57. 22.100
    libavformat 57. 21.101 / 57. 21.101
    libavdevice 57. 0.100 / 57. 0.100
    libavfilter 6. 23.100 / 6. 23.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ‘C:\inetpub\wwwroot\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.021333, bitrate: 123 kb/s
    Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 1920×1080 [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
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 2 kb/s (default)
    Metadata:
    handler_name : SoundHandler
    [libx264 @ 000000000035d100] using SAR=1/1
    [libx264 @ 000000000035d100] frame MB size (45×80) > level limit (1620)
    [libx264 @ 000000000035d100] DPB size (4 frames, 14400 mbs) > level limit (2 frames, 8100 mbs)
    [libx264 @ 000000000035d100] MB rate (86313) > level limit (40500)
    [libx264 @ 000000000035d100] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
    [libx264 @ 000000000035d100] profile Main, level 3.0
    [libx264 @ 000000000035d100] 264 – core 148 r2638 7599210 – H.264/MPEG-4 AVC codec – Copyleft 2003-2015 – http://www.videolan.org/x264.html – options: cabac=1 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=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 ‘C:\inetpub\wwwroot/wp-content/uploads/2016/01/sample-video-h264-720.mp4’:
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf57.21.101
    Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720×1280 [SAR 1:1 DAR 9:16], q=-1–1, 23.98 fps, 11988 tbn, 23.98 tbc (default)
    Metadata:
    handler_name : VideoHandler
    rotate : 0
    encoder : Lavc57.22.100 libx264
    Side data:
    unknown side data type 10 (24 bytes)
    Stream #0:1(eng): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 160 kb/s (default)
    Metadata:
    handler_name : SoundHandler
    encoder : Lavc57.22.100 aac
    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
    [mp4 @ 000000000035c6a0] Starting second pass: moving the moov atom to the beginning of the file
    frame= 25 fps=0.0 q=28.0 Lsize= 8kB time=00:00:01.02 bitrate= 65.9kbits/s dup=1 drop=0 speed=1.47x
    video:6kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 31.867960%
    [libx264 @ 000000000035d100] frame I:1 Avg QP: 9.46 size: 4149
    [libx264 @ 000000000035d100] frame P:6 Avg QP:13.48 size: 84
    [libx264 @ 000000000035d100] frame B:18 Avg QP:12.67 size: 41
    [libx264 @ 000000000035d100] consecutive B-frames: 4.0% 0.0% 0.0% 96.0%
    [libx264 @ 000000000035d100] mb I I16..4: 96.6% 0.0% 3.4%
    [libx264 @ 000000000035d100] 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 @ 000000000035d100] 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:13.8% L1:86.2% BI: 0.0%
    [libx264 @ 000000000035d100] coded y,uvDC,uvAC intra: 2.1% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
    [libx264 @ 000000000035d100] i16 v,h,dc,p: 98% 0% 1% 0%
    [libx264 @ 000000000035d100] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 26% 24% 4% 3% 3% 7% 2% 7%
    [libx264 @ 000000000035d100] i8c dc,h,v,p: 100% 0% 0% 0%
    [libx264 @ 000000000035d100] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 000000000035d100] ref B L0: 25.0% 75.0%
    [libx264 @ 000000000035d100] kb/s:41.37
    [aac @ 00000000003fe9c0] Qavg: 65536.000

    Plugin Author Kyle Gilman

    (@kylegilman)

    I don’t think you need an older version now. The built-in AAC encoder is slipping in that final line that the plugin doesn’t expect. I’m going to look for that in the next release, but if you can compile FFMPEG with libfdk_aac or libfaac enabled you might see this problem go away.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘FFMPEG Error – its current version not liking options given?’ is closed to new replies.