text:
FFmpeg loop filter doesn't work
This is a follow-up from my previous question here. Basically, I'm trying to use FFmpeg's loop filter to freeze some frames and insert black frames. It's very weird; I swear it was working a few days ago, but now only the blackframe insertion works, the freezing frames doesn't work. So just no frozen frames inside. I don't know what's going wrong?!
Here is my command. I also updated my ffmpeg to the latest version just now:
fn="sample.mp4"

#
ffmpeg -y -i "${fn}" -ss 00:00:05 -to 00:00:06 -r 1/1 _05.png
ffmpeg -y -i "${fn}" -ss 00:00:10 -to 00:00:11 -r 1/1 _10.png
ffmpeg -y -i "${fn}" -ss 00:00:15 -to 00:00:16 -r 1/1 _15.png
ffmpeg -y -i "${fn}" -ss 00:00:20 -to 00:00:21 -r 1/1 _20.png
ffmpeg -y -i "${fn}" -ss 00:00:25 -to 00:00:26 -r 1/1 _25.png
ffmpeg -y -i "${fn}" -ss 00:00:30 -to 00:00:31 -r 1/1 _30.png
ffmpeg -y -i "${fn}" -ss 00:00:35 -to 00:00:36 -r 1/1 _35.png

#
ffmpeg -y -i "${fn}" \
-i _05.png \
-i _10.png \
-i _15.png \
-i _20.png \
-i _25.png \
-i _30.png \
-i _35.png \
-filter_complex "
[0:v]trim=0:5,setpts=PTS-STARTPTS[0v_1];
[1:v]loop=loop=25*3:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=2:d=1[pause1];
[0:v]trim=5:10,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_2];
[2:v]loop=loop=25*4:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=3:d=1[pause2];
[0:v]trim=10:15,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_3];
[3:v]loop=loop=25*5:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=3:d=2[pause3];
[0:v]trim=15:20,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_4];
[4:v]loop=loop=25*6:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=3:d=3[pause4];
[0:v]trim=20:25,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_5];
[5:v]loop=loop=25*7:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=3:d=4[pause5];
[0:v]trim=25:30,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_6];
[6:v]loop=loop=25*5:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=3:d=2[pause6];
[0:v]trim=30:35,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_7];
[7:v]loop=loop=25*3:size=2
,drawtext='fontsize=40:fontcolor=0x0000FF@0.7
:text=pause -> fade-out':x=920:y=20:shadowcolor=black@0.7:shadowx=1:shadowy=1
,fade=t=out:st=2:d=1[pause7];
[0:v]trim=35,setpts=PTS-STARTPTS
,fade=t=in:d=1[0v_8];

[0v_1][pause1]
[0v_2][pause2]
[0v_3][pause3]
[0v_4][pause4]
[0v_5][pause5]
[0v_6][pause6]
[0v_7][pause7]
[0v_8]
concat=n=15:a=0:v=1[v]
" -map '[v]' -an "freeze.mp4"

And here is the whole log (truncating some initial logs for PNG saving due to size limit):
ffmpeg version N-48722-gac551c54b1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:00:45.02, start: 0.000000, bitrate: 1242 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 1105 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to '_25.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0(und): Video: png, rgb24, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
      encoder         : Lavc58.52.100 png
frame=    1 fps=0.8 q=-0.0 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=0.817x
video:663kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
ffmpeg version N-48722-gac551c54b1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:00:45.02, start: 0.000000, bitrate: 1242 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 1105 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to '_30.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0(und): Video: png, rgb24, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
      encoder         : Lavc58.52.100 png
frame=    1 fps=0.7 q=-0.0 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=0.715x
video:503kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
ffmpeg version N-48722-gac551c54b1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:00:45.02, start: 0.000000, bitrate: 1242 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 1105 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> png (native))
Press [q] to stop, [?] for help
Output #0, image2, to '_35.png':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0(und): Video: png, rgb24, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 1 fps, 1 tbn, 1 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
      encoder         : Lavc58.52.100 png
frame=    1 fps=0.6 q=-0.0 Lsize=N/A time=00:00:01.00 bitrate=N/A speed=0.637x
video:539kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
ffmpeg version N-48722-gac551c54b1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 26.100 / 56. 26.100
  libavcodec     58. 52.100 / 58. 52.100
  libavformat    58. 27.103 / 58. 27.103
  libavdevice    58.  7.100 / 58.  7.100
  libavfilter     7. 50.100 /  7. 50.100
  libswscale      5.  4.100 /  5.  4.100
  libswresample   3.  4.100 /  3.  4.100
  libpostproc    55.  4.100 / 55.  4.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'sample.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
  Duration: 00:00:45.02, start: 0.000000, bitrate: 1242 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 1105 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      handler_name    : VideoHandler
      timecode        : 00:59:55:12
Input #1, png_pipe, from '_05.png':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #2, png_pipe, from '_10.png':
  Duration: N/A, bitrate: N/A
    Stream #2:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #3, png_pipe, from '_15.png':
  Duration: N/A, bitrate: N/A
    Stream #3:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #4, png_pipe, from '_20.png':
  Duration: N/A, bitrate: N/A
    Stream #4:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #5, png_pipe, from '_25.png':
  Duration: N/A, bitrate: N/A
    Stream #5:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #6, png_pipe, from '_30.png':
  Duration: N/A, bitrate: N/A
    Stream #6:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Input #7, png_pipe, from '_35.png':
  Duration: N/A, bitrate: N/A
    Stream #7:0: Video: png, rgb24(pc), 720x480 [SAR 8:9 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
[Parsed_drawtext_3 @ 0x6b53ec0] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_9 @ 0x6b5de40] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_15 @ 0x6a1a780] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_21 @ 0x6a11940] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_27 @ 0x6b59f40] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_33 @ 0x6a12880] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_39 @ 0x698d740] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
Stream mapping:
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #0:0 (h264) -> trim
  Stream #1:0 (png) -> loop
  Stream #2:0 (png) -> loop
  Stream #3:0 (png) -> loop
  Stream #4:0 (png) -> loop
  Stream #5:0 (png) -> loop
  Stream #6:0 (png) -> loop
  Stream #7:0 (png) -> loop
  concat -> Stream #0:0 (libx264)
Press [q] to stop, [?] for help
[Parsed_drawtext_3 @ 0x6f3e480] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_9 @ 0x6f4ec00] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_15 @ 0x6f57e00] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_21 @ 0x6f65600] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_27 @ 0x6f6ed00] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_33 @ 0x6f79c40] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[Parsed_drawtext_39 @ 0x6f84dc0] Using "/usr/share/fonts/dejavu/DejaVuSans.ttf"
[libx264 @ 0x68fb900] using SAR=8/9
[libx264 @ 0x68fb900] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x68fb900] profile Progressive High, level 3.0, 4:2:0, 8-bit
[libx264 @ 0x68fb900] 264 - core 157 r2969 d4099dd - H.264/MPEG-4 AVC codec - Copyleft 2003-2019 - http://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=12 lookahead_threads=2 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=25 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 'freeze.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.27.103
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=-1--1, 29.97 fps, 30k tbn, 29.97 tbc (default)
    Metadata:
      encoder         : Lavc58.52.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
frame= 1351 fps= 75 q=-1.0 Lsize=    5080kB time=00:00:44.97 bitrate= 925.2kbits/s dup=0 drop=5 speed=2.49x
video:5064kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.321138%
[libx264 @ 0x68fb900] frame I:19    Avg QP:18.75  size: 30579
[libx264 @ 0x68fb900] frame P:424   Avg QP:22.86  size:  7793
[libx264 @ 0x68fb900] frame B:908   Avg QP:26.77  size:  1431
[libx264 @ 0x68fb900] consecutive B-frames:  5.8% 11.5%  6.2% 76.4%
[libx264 @ 0x68fb900] mb I  I16..4: 11.1% 63.3% 25.6%
[libx264 @ 0x68fb900] mb P  I16..4:  1.6%  6.2%  1.0%  P16..4: 45.2% 16.3%  8.6%  0.0%  0.0%    skip:21.0%
[libx264 @ 0x68fb900] mb B  I16..4:  0.3%  0.5%  0.1%  B16..8: 33.2%  3.4%  0.6%  direct: 1.3%  skip:60.6%  L0:47.5% L1:46.2% BI: 6.3%
[libx264 @ 0x68fb900] 8x8 transform intra:66.7% inter:72.0%
[libx264 @ 0x68fb900] coded y,uvDC,uvAC intra: 52.5% 70.2% 34.8% inter: 11.4% 19.5% 0.9%
[libx264 @ 0x68fb900] i16 v,h,dc,p: 55% 14% 10% 22%
[libx264 @ 0x68fb900] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 13% 22%  5%  6%  8%  6%  7%  5%
[libx264 @ 0x68fb900] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 14% 12%  7% 10% 10%  8%  8%  7%
[libx264 @ 0x68fb900] i8c dc,h,v,p: 52% 15% 26%  7%
[libx264 @ 0x68fb900] Weighted P-Frames: Y:23.3% UV:21.0%
[libx264 @ 0x68fb900] ref P L0: 67.4% 15.6% 13.4%  3.5%  0.2%
[libx264 @ 0x68fb900] ref B L0: 92.2%  6.5%  1.3%
[libx264 @ 0x68fb900] ref B L1: 98.2%  1.8%
[libx264 @ 0x68fb900] kb/s:920.11

Why size=2? Each input is one image.

Heh thanks. That solved the problem. I got the code from somewhere else!

@Gyan do you happen to know what is the license for freezedetect filter? Can we use it from the source code?

freezedetect is LGPL 2.1. By source code, do you mean via C API?

@Gyan yes via C API.


text:
How Important is the 180 Degree Shutter Angle Rule?
I do notice that the 180 degree shutter angle look better, and I try to achieve it whenever I could. However, when shooting in bright conditions, I could not achieve it without a variable ND filter, which is too expensive for me. Even the cheap ones are expensive, but they are pretty bad.
I am also occasionally forced to use 90 degree shutter angle as I’m always shooting at 60p (not knowing whether I’ll slow it down, which means I shoot at 1/120 instead of 1/60) and display at 30p, this means that even with a VND, I’ll still shoot between 180 and 90 shutter angle.
I’ve did some videos and no one ever notices what shutter angle I use (neither did I until I started learning more, and even now, I wouldn’t be able to tell without direct comparisons). I also shoot majority of my videos during the golden hour, which means half of my videos achieves the 180 shutter angle.
Is it still necessary for me to get a variable ND filter?

It is a convention to create a broadly acceptable film look. You can break it, but your video will look different compared to the conventional look, and your viewers may not even realize what is wrong, but they will feel it... or not. I have friends who do not notice fake frames added by modern TVs into a 24fps movie, or conversely who are not distracted by stuttering racing car when a 60fps video is reduced to 30fps. So, it depends :)

I seem to notice the difference between 24p and 30p on computer screens (maybe because of the 3:2 pulldown?), but never notice the 180 shutter angle unless there is a comparison. Given that my audience is not a bunch of video guys, I want to know if people actually notices the different. Anyways, I got a variable ND filter at the end - still faces issues occasionally though, especially when it is too bright (which calls for log which has ISO 800 to protect highlights).

You do what you have to do.  If it's a bright, sunny day and you don't have an ND handy, sometimes you have to increase the shutter speed.  It doesn't look great, but it looks better than being over exposed.  I'll often increase the framerate to get faux-ND.  DaVinci Resolve can use the extra frames, plus optical flow analysis to generate motion blur; it's not perfect, but it can help bring the image back towards where it would've been with an ND.

The "180 shutter speed rule" you mention is only about setting your shutter speed at about double your camera's frame rate. It is not about actually shooting with a 180 shutter speed no matter what.
So, if I shoot at 25 fps, I'll set my shutter speed at 50 (because I like my footage to look more natural -- without the strobe-like effect that comes with high shutter speeds). If I were to shoot slow motion though, I would opt to shoot at, say, 50fps and set my shutter speed at 100 (to get crisper slow motion footage), and so on and so forth.
There is not relation between the "golden hour" and shutter speed. You can shoot during that time of day, or any time of day, with whatever shutter speed you pick, provided there is enough light.
ND filters are really used to control depth of field when using a wide iris/aperture on your lens in bright conditions (like an f2.8 or wider in the middle of the day).
This is a good, clear break down of shutter speed use in video:

I know what is shutter angle. There IS a relation between golden hour and shutter speed - when it's darker I don't need an ND filter. And yes, I want to shoot wide open occasionally.
You have not answered my question at all.

A 180º shutter isn't a hard, fast rule, as much as it's a benchmark.  It's the most common setting in film, and you can think of it as a "normal" amount of motion blur for film and broadcast.  It's the average setting, for what people are used to seeing on any random moment of film or TV, and as a camera operator, it's the simplest decision to make, when you're aiming to produce "normal" motion.
If you don't have an ND filter handy and you're shooting in bright conditions, you can use a higher framerate to darken your exposure, but it will cut the amount of blur in each frame by half.  How this affects your output depends on how you intend to display it.
Let's say you record the footage with a 180º shutter at 60FPS, then plan to play it back on your timeline at 30FPS for broadcast, by displaying every frame you recorded, sequentially. This results in "slowmo" or "off-speed recording."  In this case, the amount of blur feels natural, because it's exactly the same amount of blur an object would have if it were traveling half the speed.
On the other hand, let's say you don't want slowmo, you want the action to occur "realtime," so you use the "nearest frame" method of interpolation, which throws out every other frame.  In this case, because each frame has half the amount of blur as "normal" footage played at 100% speed, it will look stutter-y, more crisp, or less smooth, by comparison.  It will look more like the action movies which employ the technique for creative effect (Saving Private Ryan, 28 Days Later, e.g.)
But you can also blend the two frames together instead of throwing one out, and if you do it intelligently, you can re-create the natural blur you'd get by using an ND filter and a slower framerate.  Optical Flow computes a vector analysis of each pixel's movement, and can re-create the way a frame should look with natural blur.
Older optical flow algorithms use a purely mathematical approach, which struggle in certain cases, can produce artifacts, and have difficulty with regularly-repeating patterns.  Newer algorithms, like DaVinci Resolve's "Speed Warp" use machine learning based approaches, and can give better results, but are very computationally expensive, a cost which rises (literally) exponentially with resolution.
Some software will blend the two frames together for you automatically, by simply layering one frame over top of the other, with 50% opacity.  This is easy for computers to do, and produces more smooth motion than you'd get otherwise, but when you pause a frame, you'll see a ghosted image, and discerning individuals will notice a difference on playback.
Of course, most Cinematographers and hardcore pixel peepers will tell you there's no substitute for a good ND filter, but ultimately the decision to get one is between you and your pocketbook.  To make a truly informed decision, you should compare some of your own footage using the methods I mention, but be careful, or you'll become a pixel peeper, too.

The question is... is it?
Reading your question it is probably not for the projects you are making... let me explain why.
You do not mention at all the aperture if you really need a shallow DOF, and this depends also on the subject if you really have different planes that need to be blurred out. But this can be implicit, so let's think you actually use a wide aperture.
This DOF also is dependant on the focal length of the lens. A telephoto has more noticeable DOF than an angular lens, but you are also not mentioning it.
You do not mention the theme of the video. People dancing vs. a guy sitting on a chair smoking a pipe... Motion blur or the absence of it is different in both cases. Here is where you draw the line. See if the motion blur has meaning on your shot.
Your test subjects do not notice any difference.
Golden hour is relative, you probably do not need a filter at all, you do not mention if you need additional light or if it is backlighted, different scenarios.
If you know you shot at 1/120 and you would prefer shooting at 1/60 you do not need a variable ND filter, you simply need a 2x ND filter, which is cheaper. Or you can get a pack of ND filters by $15 bucks. Yes, you need a bit more time to change them, but returning to the question, if it were important to you you would spend a bit of cash on some of those.
Actually there are some scenarios where you actually need to shoot at faster shutter speed. Breaking the 180 degree shutter rule when stabilising footage
So, in reality, the question is, Is it important for this project?
Is it more important than DOF, than the focal length, than the composition, than the slight blur you get with a cheap ND filter or more important than saving some bucks?
You will then find the answer :o)

source: Stack Exchange

license: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/

sort: votes


text:
ffmpeg: VAAPI can't do nearest neighbor scaling?
I've been using ffmpeg on my laptop for some time and I could have sworn that scale_vaapi had an option to set the flags to nearest neighbor. I need nearest neighbor scaling because I'm converting low-res direct capture video game footage and need to preserve the sharpness of the pixels.
My attempted command is the following:
ffmpeg -hide_banner -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "/home/mike/Videos/CAPTURE.mp4" -n -c:v h264_vaapi -b:v 14M -vf format=nv12,hwupload,scale_vaapi=iw*3:ih*3:flags=nearest "/home/mike/Desktop/CAPTURE.converted.mp4"

However this ends up giving me the following error:
Parsed_scale_vaapi_2 @ 0x557e347c5500] Option 'flags' not found
[AVFilterGraph @ 0x557e34b3b780] Error initializing filter 'scale_vaapi' with args 'iw*3:ih*3:flags=nearest'
Error reinitializing filters!
Failed to inject frame into filter network: Option not found
Error while processing the decoded data for stream #0:0
[aac @ 0x557e347a7640] Qavg: 171.142
[aac @ 0x557e347a7640] 2 frames left in the queue on closing
Conversion failed!

Removing flags=nearest will allow it to run the conversion just fine but it won't force nearest neighbor scaling and I really want to avoid billinnear filtered pixels for my retro game footage without having to wait ten years for software rendering to complete. Any ideas?

The VAAPI scaler does not have a neighbor/point mode. The scale_npp filter does.

Thank you. So, to follow up: if I don't have access to my desktop machine and end up stuck with my laptop (which only has Intel integrated graphics) what are my options? If I have to use software scaling, what's the most efficient way to include it in the transcoding process?

ffmpeg's s/w scaler with flags=neighbor benches around 210 fps for me from 720p to 2160p on an old CPU -  Ivy bridge. It will likely not be the bottleneck or at least not a major one.

Thanks again for the info, that sounds good. Is it possible to use the software scaler alongside VAAPI or would it be more efficient to just do the whole thing in software if I'm scaling it on my CPU anyway?

Encoding a hi-res video certainly benefits from h/w accel provided you are satisfied with the quality.

all_licenses: Creative Commons - Attribution Share-Alike - https://creativecommons.org/licenses/by-sa/4.0/


text:
Is it possible to Append in Shotcut without losing focus from the source video's timeline?
I want to be able to play a video and hit I to set a trim-in, hit O to set a trim-out, and hit A to append that clip to a video track, but let the video continue to play so I can continue selecting clips. (I can use the rewind shortcuts if I miss where I want to trim in or out.)
But when I hit A, the view changes to that clip, so I have to switch back to the source video through the playlist then continue playing again.
Is there a way to not lose focus on appending?

Hello. Your question is quite unclear. Which NLE program are you using? By "trim in", do you mean "insert an -in point"? By "append", do you mean "place the clip at the end of a string-out of clips on some other video track"? Where are you playing your source video: in the source monitor or a timeline?

Is "Shotcut" not... a program? And all the words I'm using are literal functions in Shotcut.

My bad. I kept reading "shortcut". Carry on!

Oh, haha. Yea it does look like that.


text:
FFMPEG - Creating script to convert a video into audio file (or anything related really) + diverses questions
Good day everyone. Im making my babysteps into ffmpeg, and so far this tool has been really helpfull. Anyway.
Im currently using this line as a convertion basis :
ffmpeg -i name.mov -c:v libx264 name.wav

But while searching through the question here i've seen that :
ffmpeg -i video.mp4 -vn -ar 44100 -ac 1 -b:a 32k -f mp3 audio.mp3

Or even this (a script) :
%%f in (*.mp4) do ffmpeg -i "%%f" -vn -ar 44100 -ac 1 -b:a 32k -f mp3 "%%~nf.mp3"

So now let's dive into it. Im wondering if i can merge the two first ones like that :
ffmpeg -i name.mov -vn -ar 48000 -ac 2 -b:a 32k libx264 -f wav name.wav

And how i can modify it by making it scripted.
Also im wondering if the ffmpeg i got is good because i don't have a command prompt that directly open cmd into cd bin. As im forced to write everytime the entire path.
Thanks in advance. S'Aarum.

"As im forced to write everytime the entire path." Add ffmpeg.exe to the environment variables. See here

Looks like you've already seen that page. One of your commands is the example command there.

-vn + -c:v libx264 Does not make any sense.
This is saying "Don't encode video, but use libx264 to encode no video."
You also can not set a bitrate for wav because it's a noncompressed format.
So your command becomes:
ffmpeg -i name.mov -vn -ar 48000 -ac 2 name.wav

-vn can be omitted for wav output, but it makes no difference.


text:
kdenlive: selecting multiple nodes in a region (rotoscoping)
I'm trying to blur a region of a video through rotoscoping (using Kdenlive-16.12.2-x86_64.AppImage on Ubuntu 16.04).
This region -in my video it coincides with a face- moves in time.
I'm wondering if it is possible to select the multiple nodes defining the region, in order to move them all together when creating new keyframes.

Right now I've to move each node separately, it seems not possible to select all nodes in the same time.


text:
Automated speech to text layer subtitles in After Effects
Hi I have a video in After Effects that I want to add subtitles as text layers. Previously  I have been typing them out manually. Does anyone know of a way to either automate the subtitling process or any ways to improve the efficiency.

Updating this answer to include Premiere's very effective built-in transcription service:
Your best bet now is probably to finish your video in After Effects, then import it into Premiere, and transcribe it, then add captions, and export it.
If you still want to edit the transcribed text in After Effects, you can export the subtitles from Premiere as an .SRT file, and import them into After Effects, as explained below:
Other methods:
Assuming it's a video you are happy to make public, you could publish it through youtube and gather the subtitles from there as an .srt file.
Be aware that automatically generated subs tend to have mistakes in them.
You could manually make subtitles using a free tool like Aegisub
Or you could pay a fee to a company like 3playmedia to generate the subtitles for you.
Once you have the subs as an .srt file:
Then to apply them in After Effects as burnt-in text, you could use a tool like PT_importsubtitles to convert the .srt file to timed text layers.


text:
How to locate right anchor point location while making infinite zoom effect GIF?
I need to make something like this in After Effects. Now, it would have been easy if the zoom effect origin was in the center, but I need it on some other point, so the borders of the billboard (see my screenshots) keeps snapping to composition, and I can duplicate layer multiple times to create a never ending effect.
Since I can't find the perfect anchor point location, when I duplicate layer, the two doesn't seem smooth when intersection happens. See this, you will understand.
My question is, do I need to do some hit and trials to find the correct location of desired anchor point?
Now, another problem I faced in scale effect is this. The scale speed decreases, I don't know why, with time. This also makes someone notice that there's the intersection of multiple layers.
Here are some helpful screenshots:

I can't give you the entire solution, but here's an idea:
Your sequence seems to be the same format as the image. Create a simply Square Cross like this: X. Then put the X onto the frame. This should give you a pretty good estimate of where the point is

@TimothyLukasH. it looks like a solution. I'll try it. Any guess about speed issue?

Lo! It worked like a charm! The only issue is speed now.


text:
ffmpeg remove 1 of 2 audio tracks without video reencode
I'm trying to get rid of the 1st of two audio tracks in an mp4 file. But each time I run:
ffmpeg -i test.mp4 -map 0:0 -map 0:2 -acodec copy -vcodec copy new_file.mp4

ffmpeg seems to reencode the file.
The output says:
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
  Duration: 01:01:37.25, start: 0.-83411, bitrate: 4086 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 1280x720, 23.98 tbr, 90k tbn, 180k tbc
    Stream #0.1(deu): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.2(eng): Audio: aac, 48000 Hz, 5.1, s16
    Stream #0.3(und): Subtitle: text / 0x74786574
File 'new_file2.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'new_file2.mp4':
    Stream #0.0(und): Video: 0x0000, yuv420p, 1280x720, q=2-31, 90k tbn, 90k tbc
    Stream #0.1(eng): Audio: 0x0000, 48000 Hz, 5.1, s16
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.2 -> #0.1
Press [q] to stop encoding
frame=33700 fps=944 q=-1.0 size=  583098kB time=1405.53 bitrate=3398.5kbits/s

And this process takes quite some time, that's why I think it reencodes instead of copying.
Any idea why this is? Maybe the different frame rate between container and codec?
Thanks!

Upgrade ffmpeg first. Your version is at least 7 years old.

Will try, I’m running on a PowerPC architecture tho.

The first line of the output you provided explains the problem:

Seems stream 0 codec frame rate differs from container frame rate: 180000.00 (180000/1) -> 23.98 (24000/1001)

and then the last three values in the 4th line tell about it in detail:

    Stream #0.0(und): Video: h264, yuv420p, 1280x720, 23.98 tbr, 90k tbn, 180k tbc

which mean, in words:

I guess the frame rate 23.98 fps from the input video stream.
The time base in the input container is set to (1/90000) seconds.
The time base in its video stream is set to (1/180000) seconds.

Now, return to the the first line of your output, after the semicolon:

180000.00 (180000/1) -> 23.98 (24000/1001)

It means: Your stream's framerate is 180,000 frames per second, but I will convert it to 23.98 fps.
The same is in the mentioned 4th line, in the form 23.98 tbr. It's the FFmpeg's guessed value.
So you are right, the conversion occurs, for both selected streams (video and audio one). You may see it from other lines of your output:

Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.2 -> #0.1
Press [q] to stop encoding

because in the case of copying them it would be as these:

Stream mapping:
  Stream #0.0 -> #0.0 (copy)
  Stream #0.2 -> #0.1 (copy)
Press [q] to stop

The conclusion:
Your command is correct, but your input file is damaged.
You may convince yourself about it by applying the same command to other, correct input file.


text:
Simple Transition Effects for Short Video or GIF
I'm pretty new to creating GIFs and video effects so please excuse my ignorance. I searched for 2-3 hours for a simple tutorial on this but it is difficult to find.
Would anyone know how I can do this simple task: I have an image divided into 4 sections. I want each section to "fly in" from outside the screen into view, one right after the other until all 4 pieces are there. Sort of like when you make graphics "fly in" in Microsoft Word or Powerpoint.
I have the entire Adobe suite so I can use anything they have. I started creating it in Photoshop as a GIF and I assumed I could probably add the "Fly in" effect to each section of the image but it seems Photoshop doesn't have such capabilities for GIFs.

Simply go to the end of the video, set a keyframe how it should look in the end.
Then go to the beginning and move the images out of view. Add some movement speed curves if you want


text:
Create video from a series of single frames and use original audio
I am looking for some advice on how best to create a video which is comprised of a series of single frames from an original piece of 30fps footage.
I can create the effect by making a screen recording and using the right arrow key to advance the track. Visually this is what I want BUT the issue is with the audio. Because Quick Time Player screen recording uses my computers internal mic the original sound is compromised (i.e. it’s a n audio recording of an audio recoding) and it gets distorted.
Here is what I have currently: View Video
The visual is okay but you should be able to hear the audio (even when it is much slowed down) better than you can on this version.
Two questions:

Any idea how achieve the effect I am after automatically, using Premiere or After Effects.
Any fixes for using the original audio - without having to re-record.

All help and ideas much appreciated.

if it is something like "Stop-Motion Videography" that you need,
Follow 13 steps
{The keyboard shortcut are defaults of windows, for your case use that of MAC}

Target your 'PlayHead' to the position you want in 'Sequence' or 'Source Monitor'.
2.When the position you selected is the one which shows the photo you want to use as single frame or photo.
If you are in Source monitor Skip to
If you are in Sequence Panel go to "Program monitor"(shift + F4)
Use button named "Export Frame"(CTRL+Shift+E), if not available make it visible by finding in from "+" button on Right-bottom.
Choose the Image_Format, Name & the Path to save.
Check "Import into Project".
A new photo will appear in the "Project Panel".
export as many frames as you want.
Set them manually or whatever the way you want & your visual is ready.
to set the audio Right click on the audio part of the clip and 'uncheck "Enable"'.
Set the audio as you like & Re 'Enable' it.
Set the audio & image sequence in your preference & You are good to go.

Tell me if anything get confusing or I'm Wrong

If you want to record your system audio whilst doing a screen capture, you could use a tool like Soundflower to map the system audio as an input device.
That way you would get a direct recording into QuickTime.
Here's a blog post with details on how to do that: https://www.christianengvall.se/record-audio-soundflower/

That's not a good way to do it.
Download a videoeditor, like Davinci Resolve (Free).
There you can import the images with 30FPS and add the audio.

Some links are helpful here, so people don't download the wrong thing, like malware or something.


text:
Where can I sell a plug-in for Final Cut Pro or Premiere Pro?
I've created a great plug-in. Where can I sell it?

This doesn't seem to be about video production - it is about selling a product. While the visitors here may be familiar with many products in the video production space, this does not make the question on topic.

Adobe have a marketplace for plugins and scripts for all the apps across the CC range, and there's also AEnhancers for After Effects and Premiere plugins and scripts.

So far I've been able to find three major paths for selling a plug-in, at least on the Mac.
First, you can always set up your own store through something like SquareSpace or Wix. That works if, somehow, you have enough web traffic or can quickly get enough visitors through Twitter, Facebook or whatever to at least view your site and continue on to buying your plugin. This takes a lot of marketing and web site development effort, but beyond credit card processing fees and such, you get to keep all the revenue.
Second, you can publish it as part of an app on the Mac App Store. I haven't seen this done too often, but it seems to work. I don't know what it would take to get Apple to feature a plug-in sold this way, but it would be great if you can pull it off. Apple takes 30% of the sales, but it's a known entity.
Third, you can go through a store like FxFactory or CoreMelt's VFX Market. I've used plug-ins from them for a while, but never tried to sell a plug-in through them. That's where this question came from, actually. These guys all seem to also take 30% of the sales, but they're likely to reach a lot of potential customers.
The biggest problem I see with Apple, FxFactory and VFX Market is that they're Mac exclusive. You can publish plug-ins for Final Cut Pro X, Premiere Pro on Mac, After Effects on Mac and Motion. With your own store, you can publish for Windows too.
Given that I don't even know how to write a plug-in for Windows yet, those solutions work for me, but it would be awfully nice to know how to sell a Premiere Pro/After Effects plug-in for Windows, or if there are any other markets out there for plug-in developers to sell into.


text:
Is there a "Take Selector" in Premiere Pro?
Does Premiere have an equivalent to DaVinci Resolve's "Take Selector, or FCPX's "Auditions?"  If so, what's it called?  If not, are there any workarounds to quickly audition alternate takes on a PP timeline and have all of the other clips ripple responsively?

There might be a smarter method, but here's what I did:
When structuring your project, I recommend you use the bins in Premiere frequently. For example, as a structure, you could have:

Footage

psd
cam1

A001
A002
A003
A004

A1
A2
A2b
A3
B2

T1

ffsa7b2t1.mov

T2

ffsa7b2t2.mov

T3

ffsa7b2t3.mov

T4

ffsa7b2t4.mov

B3
A005

cam2
gopro

Solids
sequences

Using this structure of something similar might assure that you exchange or look at different takes without any hassle.


text:
How to add zoom transition effects using FFmpeg to a variable number of images?
How can I add add zoom transition effects using FFmpeg to a variable number of images?
I am able to create video from a variable number of images but I am not sure how to add zoom in and out transition effects between images:
 ffmpeg -framerate 1/5 -i img%03d.jpeg -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4

I found this,
https://superuser.com/questions/1189246/ffmpeg-image-slideshow-with-zoompan-and-fade-in-out/1190199
But problem is that images are hard coded in that example and I am not sure how to make it work for a variable number of images?

anybody ????????

I originally thought I could handle this one, but I'm still new to FFmpeg and don't think I can solve this for you. Below follows what I came up with. Maybe that can help you move in the right direction. Sorry I couldn't be more helpful.

I found the following in a search:

You can make a slideshow with crossfading between the pictures, by using a combination of the zoompan and framerate filters. "A" is the duration in seconds how long each picture is shown (without the crossfade duration), and "B" is the crossfade duration in seconds.

ffmpeg -i IMG_%3d.jpg -vf \
zoompan=d=(A+B)/B:fps=1/B,\
framerate=25:interp_start=0:interp_end=255:scene=100 \
-c:v mpeg4 -maxrate 5M -q:v 2 out.mp4

From the Superuser post you link we find:
-filter_complex \
"[0:v]zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125,fade=t=out:st=4:d=1[v0]; \
 [1:v]zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v1]; \
 [2:v]zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v2]; \
 [3:v]zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125,fade=t=in:st=0:d=1,fade=t=out:st=4:d=1[v3]; \
 [v0][v1][v2][v3]concat=n=4:v=1:a=0,format=yuv420p[v]" -map "[v]" -s "800x450" -t 40 ./out_fade.mp4

Looking at the syntax, it seems you'd just toss it in without the [iN]...[oN] "variables".
So try:
-filter_complex \
"zoompan=z='if(lte(zoom,1.0),1.5,max(1.001,zoom-0.0015))':d=125,fade=t=out:st=4:d=1"

+1 for trying, I am able to make it work using this - ffmpeg -i img%03d.jpeg -i 1.mp3 -vf zoompan=z='zoom+0.002':d=25*5:s=1280x800 -pix_fmt yuv420p -c:v libx264 -t 01:05:00 out12345.mp4  ............. my next job is to add random transition for images, so don't want to keep just 1 effect, add command to your answer I added and I will accept thanks, if you know how to improve it that would be great too


text:
After Effects: How to achieve this pattern effect?
I recently stumbled upon the following animation:

Now how would you try to achieve this within After Effects?


text:
Open Source Software to open .aep file?
I've an envato subscription and have access to .aep files but don't have adobe after effects.
I want to do a company video using the .aep but don't want to have to purchase AE for the edit.  Are there any open source editors that will open an aep file?

The best option you have is to use the trial version of after effects. You can create an adobe creative cloud account and try the program for 30 days free of charge there. If it's only one job and you're using a template, the trial time should be sufficient. If not, there's always the option of creating a different account with another mail and beginning the trial anew.


text:
Is a UK PAL video tape compatible with a continental Europe PAL VHS/S-VHS player in terms of video and sound
I've read that the difference between UK PAL and Continental PAL is the carrier frequency used for the audio. But is that referring to:

the (now former) analogue TV broadcasts
the encoding on the tape
or both?

I am aware of the VHS PAL I standard for the UK and the VHS PAL B/G etc standard in continental Europe.
According to these links, if the SCART output is used, then the audio is available. The links say that the difference in audio encoding is only related to the RF (Radio Frequency) signal i.e. broadcasts:

VHS tape recordings in the U.K. where else do they work?
can I convert a PAL-B/G signal to a PAL-I signal?

My use case is for using a continental video player from Germany to play UK VHS PAL tapes and convert the video and audio digitally.
Setup:

Model: JVC HR-S9600EU (not EK - UK) - one of the apparently higher quality machines, according to:

VCR Buying Guide 1
VCR Buying Guide 2 - details of model codes such as EK and EU

Canopus ADVC100 attached to computer via Firewire

PAL standard references:

http://martin.hinner.info/vga/pal.html
https://en.wikipedia.org/wiki/PAL#PAL-B/G/D/K/I

The UK PAL VHS tapes will play back in a German PAL deck. The actual method of audio recording is not related to the PAL specification. VHS records up to two linear audio tracks. HiFi capable decks record additional two HiFi tracks that are  multiplexed with the video signal. I don't remember the details.
A non-HiFi deck will ignore the HiFi tracks and use the linear tracks which should have the same content recorded.

+1 thank you. Do you know how would I find out which audio is being played back - linear or HiFi ?

Older decks may have a physical switch. Newer models will default to HiFi if present. Another way to tell is by adjusting tracking. A small change in tracking may result in sudden loss of HiFi audio.


text:
Video editing software with Audio scrubbing[Windows 10- 64bit]
I am looking for a Video editing software to do some post production work on my animated movie(mp4 file without audio).I use Blender VSE,but it lacks severely in effects like transitions ,FX  etc .
My main requirement is Audio Scrubbing since their is lipsyncing and precision trimming required in the video.I did do a web search and the only advanced software which seems to pop up is Adobe Premiere Pro.Since I am an indie animator, "Premiere Pro" is way of my budget.I also checked softwares like Camtasia,Powerdirector,Movavi,Filmora but was surprised that audio scrubbing was not available.
Sony vegas is avalable around the 300$ mark but it seems to be an overkill for just some audio scrubbing .
Are there any other softwares available around the 100$ range with the Audio scrubbing feature and some basic transition,Fx and color grading capabilites.

I'd also suggest DaVinci Resolve for your needs, though you may need the studio version ($300 one time purchase with free upgrades, so far even between major versions.)  While recent versions of Resolve include very full featured non-linear editing and fantastic sound handling with Fairlight audio, I don't believe they include effects and much in the way of transitions.  The paid "studio" version includes a good selection.
You are also getting a pretty high end node based compositing tool (Fusion) built in to the software for that price as well.  Resolve's NLE isn't quite as good as Premiere Pro, but it's very good.  I like Fusion better than After Effects (which is the partner compositor that goes with Premiere Pro.)

you can get Davinci Resolve Beta for free right now, I did, you should try it

You can use Davinci Resolve's editing environment. It's free and, considering that, very powerful. Kind of comparable to the adobe suite, yet less powerful.

thanks for the recommendation.Davinci is a great software ,surely will give it a try. Also,I have a fairly basic machine ,so the one I found to suit my needs is "VEGAS Movie Studio 16 Platinum".It does have the audio scrubbing feature and also comes with additional softwares like a music maker .It's priced fairly at ~60$ . Check it out @here


text:
How can I manually set the LFE volume in Premiere's "Audio Track Mixer" panel?
In the Audio Track Mixer panel in Premiere Pro 2019, each channel has a slider that adjusts the LFE volume. However, setting the volume this way is imprecise. How can I manually set this value?

I understand, that by saying "manually" you mean: input digits with keyboard.
There is no easy way to manipulate this exact setting that way through UI - if you want more precise control hold Ctrl while click dragging the slider your mouse left-right.
However if you really need to be on the exact number (and perhaps you will set this once for entire project) - there is a hack, that will allow you to set this value to exact number:

Make backup of your project before doing any changes this way.
Close the project in Premiere if you have it open.
Open your .prproj file with zip archive tool (like 7-Zip), inside you will find xml file representing all settings of the project.
Open it with a text editor - I recommend Atom or something with syntax highlighting.
Search for "LFE", edit appropriately (this may require some educated guesses).
Put xml file back into archive, and re-open in Premiere.

Good luck!


text:
How to shoot my whole life from first POV?
I would like to shoot whole my life (24h, 365d etc) on video, like as through my eyes.
However I came to dead end trying to match recording times of modern action cameras, the battery change hustle, the storage challenge, the convienience and the privacy concerns of my surrondings...
Does the tech advanced so far to allow that? Are there any legal limitations (like GDPR) in place to forbit me doing this?
In the end, any ideas how to do it?

Get yourself an camcorder with DC IN. position it over your head and use mirrors. The power delivery will be a bitch but you can get some heavy duty batteries and backpack DC to AC converters. If the batteries drain out. You can strategically place other batteries to the spots you walk onto.

I don't think that you really thought this through thoroughly. (what a sentence!)
On a serious note tho, it would mean that you always have to carry around batteries on you, enough for at least while you're awake, as well as storage devices which you'll want to backup, or at least have in a raid-system. All in all, it's firstly going to be very expensive.
Second, you will have to figure out a smart way to integrate a camera into your life. A simple solution could be to just strap a gopro to your head. This will be clunky, uncomfortable and not too pretty though. I believe the best option for you is to try and conceal the camera in some way, like buying glasses that have a camera in the frame or something alike.
Next, there's legality. As you already assumed, there are places and things that you are not permitted to film. There's also different laws in different states, countries and continents. If you go to europe, you (theoretically) would have to ask any person for a permit if that person is filmed in a way that he/she/it is distinguishable and doesn't get lost in a crowd. That will be a lot of work. Even in America, you will run into places and people you are not permitted to film more frequently than you might think. And: You will have to keep every document of permits you ever got, since you need the evidence in case someone asks you to show it.
And last storage. What you would want is probably a RAID-System, since it's way safer for your files which I assume will be very important to you. So, buying RAID-Servers with HDDs or SSDs for, say, 800-900tb? You usually run at about 100$ / TB with SSDs, which you'll probably need in order to write the video data fast. So the drives alone, excluding the RAID and server-systems at all, you'll run at about 100.000$ alone. That is not cheap.
Nonetheless, I am impressed with your ambition and hope you pull through, just know that it won't be a walk in the park.

Yes, the tech is advanced enough. That is not going to be the problem.
You can have a very small, low power camera - look at the ones drone racers use. They aren't high resolution, but that could work on your favour as well, as they won't use as much storage. They also cope reasonably well with differing light conditions.
You can power from a belt-mounted or rucksack battery, with hot swappable packs.
You can stream or upload continuously, assuming you are in an area with connectivity. 5G will make this very easy.

So, not a tech problem.
Regulations will cause you an issue. Some countries will require you to put very strong security in place, some may not let you film in public without permission, most won't allow filming of military establishments.
What do you intend to do with the footage? That will help determine what controls you will need, and where you will not be able to go. Surveillance laws will get you in trouble in some countries, and law enforcement may confiscate hardware at borders and demand access (possibly so they can use your footage) and what will your employer think? Will they let you run video cameras watching you logging in, working with documents, etc.
How will you deal with an attacker who gains access to your feed and decides to assault you live online? Do you upload live or use local storage and only upload intermittently?
This is a very large issue, which you need to think through - is some video (likely to be almost all boring) worth the hassle?


text:
How do I get the best parts from a video?
Status
I would like to do a gaming montage of my best moments (like this one).
Right now I have recordings with a total length of ~7h full of gameplay.
Problem
How can extract my best moments in a faster manner as watching the whole recordings without rewatching all my recordings?
Regardless if I speed up the recordings to x2 there are still >3,5 h to watch.

Racingfail did a video on how they cut the best parts of racing from other contributers:

The general idea is the same as you have, but instead of seeing it at 2x, they do it at 16x.
Personally I use Davinci Resolve to skip though the video, with skipping 1 second ahead (shift+right), I see the stuff at ~30x. But any NLE has that functionality so go ahead!
If it's a recording you created, you might want to look at the waveform of the sound, if it's loud it's worth checking out (doesn't work if you have music going at the same time though)

There are a few tricks, but you won't get arpund it if you want to be exact.
Best way is to keep a record of funny moments. While you record - or edit the original videos - note down funny moments so you directly know where to go. You can use the Trick Christian Lindig wrote if you haven't done that to remember what you filmed and what was funny.
Another way would be to go through the audio and search loud parts, as they might be laughing.
You can also try to watch 4 videos at the same time. This needs some good consentration though.
If you really want THE BEST parts, you'll need to watch it.

My suggestion: create a catalog of images from the video with one image per 5 minutes - this is less than 100 images. Each image represents a timestamp. Review these images to remind yourself what scenes were interesting. Then review these scenes in the video manually and extract the interesting ones. I would do all of this using ffmpeg but I'm sure it can be done in many other ways.

Create a thumbnail image every X seconds of the video


text:
What do shutter angles mean for electronic shutters?
For a mechanical rotary shutter, a shutter angle is the angle of the arc cut into the circular shutter, which is an opening to help "open" the shutter. Then what does a shutter angle correspond to for an electronic shutter which is not a physical circular shutter at all?

It just refers to the shuttet speed and FPS.
As you probably know, 360° means the entire time, the frame is exposed.
0° means it is never exposed, 180° half of the time.
With digital shutters you can just take your FPS, for example 24, and calculate the corresponding value.
For 180°, you can double it 24*2=48 so youbget a shutter speed of 1/48s.
For 360° you can justvtake the FPS 24FPS = 1/24s.
The formula for any shutter angle being:
FPS / (Shutterangle / 360)
24 / (180 / 360) = 1/48


text:
GIF video thumbnail with FFmpeg
I'm trying to generate a GIF thumbnail out of a video, similar to what youtube thumbnail works when we hover the mouse on a thumbnail as a video preview.
Is there any ways to do it with FFmpeg? Say I want to generate a 2-3 second GIF out of a video. How can I do that? Based on what I see from youtube, apparently it takes one frame out of multiple consecutive frames, not all of them.
I'm not really concerned if that GIF is a good representative of the video as that is more semantic problem to investigate.

.You want to pick every Nth frame and compose a GIF?

@Gyan That. Plus another approach can be pick multiple consecutive I-frames (or every Nth I-frame) and compose a GIF.


text:
Adding audio to picture: video too long even when using -shortest
I am trying to combine an audio (.wav) file and picture file (.png) into a video file. The video's length should be the same length as the input audio. Also, the output video should be youtube-friendly (be able to upload to YouTube).
I've tried a couple commands, but the duration of the video file produced is always way too long.
The audio file has a length 00:00:10.71.
Command 1
ffmpeg -loop 1 -framerate 1 -i 000.png -i 000.wav -c:a aac -c:v libx264 -preset slow -crf 0  -shortest out.mp4

output:
$ ffmpeg -loop 1 -framerate 1 -i 000.png -i 000.wav -c:a aac -c:v libx264 -preset slow -crf 0  -shortest out.mp4
ffmpeg version n4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20181127
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[png_pipe @ 0x561e7bc1e600] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, png_pipe, from '000.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 3937:3937 DAR 16:9], 1 tbr, 1 tbn, 1 tbc
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, wav, from '000.wav':
  Duration: 00:00:10.71, bitrate: 256 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x561e7bc6dbc0] using SAR=1/1
[libx264 @ 0x561e7bc6dbc0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x561e7bc6dbc0] profile High 4:4:4 Predictive, level 5.0, 4:4:4, 8-bit
[libx264 @ 0x561e7bc6dbc0] 264 - core 157 r2945 72db437 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=8 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=1 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 1 fps, 16384 tbn, 1 tbc
    Metadata:
      encoder         : Lavc58.35.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 69 kb/s
    Metadata:
      encoder         : Lavc58.35.100 aac
frame=   25 fps=0.0 q=-1.0 Lsize=     168kB time=00:00:24.00 bitrate=  57.3kbits/s speed=28.9x
video:63kB audio:103kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.409398%
[libx264 @ 0x561e7bc6dbc0] frame I:1     Avg QP: 0.00  size: 61676
[libx264 @ 0x561e7bc6dbc0] frame P:24    Avg QP: 0.00  size:    76
[libx264 @ 0x561e7bc6dbc0] mb I  I16..4: 88.8%  0.0% 11.2%
[libx264 @ 0x561e7bc6dbc0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[libx264 @ 0x561e7bc6dbc0] coded y,u,v intra: 8.5% 7.6% 7.5% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x561e7bc6dbc0] i16 v,h,dc,p: 97%  1%  2%  0%
[libx264 @ 0x561e7bc6dbc0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 55% 26% 11%  3%  2%  1%  1%  0%  1%
[libx264 @ 0x561e7bc6dbc0] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x561e7bc6dbc0] kb/s:20.32
[aac @ 0x561e7bc6fe80] Qavg: 10368.243

The video ends up with a length of 00:00:25.00. full ffprobe output
Command 2
ffmpeg -loop 1 -i 000.png -i 000.wav -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest out.mp4

output:
$ ffmpeg -loop 1 -i 000.png -i 000.wav -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest out.mp4
ffmpeg version n4.1.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.2.1 (GCC) 20181127
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[png_pipe @ 0x559a83ee3640] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #0, png_pipe, from '000.png':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: png, rgba(pc), 1920x1080 [SAR 3937:3937 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, wav, from '000.wav':
  Duration: 00:00:10.71, bitrate: 256 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x559a83f32480] using SAR=1/1
[libx264 @ 0x559a83f32480] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x559a83f32480] profile High 4:4:4 Predictive, level 4.0, 4:4:4, 8-bit
[libx264 @ 0x559a83f32480] 264 - core 157 r2945 72db437 - H.264/MPEG-4 AVC codec - Copyleft 2003-2018 - 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=4 threads=12 lookahead_threads=2 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=25 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
[aac @ 0x559a83f33a40] Too many bits 12288.000000 > 6144 per frame requested, clamping to max
Output #0, mp4, to 'out.mp4':
  Metadata:
    encoder         : Lavf58.20.100
    Stream #0:0: Video: h264 (libx264) (avc1 / 0x31637661), yuv444p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc58.35.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc58.35.100 aac
frame=  324 fps= 46 q=-1.0 Lsize=     230kB time=00:00:12.84 bitrate= 146.9kbits/s speed=1.83x
video:118kB audio:103kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 3.943480%
[libx264 @ 0x559a83f32480] frame I:2     Avg QP: 9.45  size: 45012
[libx264 @ 0x559a83f32480] frame P:82    Avg QP:10.08  size:   120
[libx264 @ 0x559a83f32480] frame B:240   Avg QP:12.67  size:    85
[libx264 @ 0x559a83f32480] consecutive B-frames:  1.2%  0.0%  0.0% 98.8%
[libx264 @ 0x559a83f32480] mb I  I16..4: 87.4%  0.0% 12.6%
[libx264 @ 0x559a83f32480] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.1%  0.0%  0.0%  0.0%  0.0%    skip:99.9%
[libx264 @ 0x559a83f32480] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.2%  0.0%  0.0%  direct: 0.0%  skip:99.8%  L0:61.0% L1:39.0% BI: 0.0%
[libx264 @ 0x559a83f32480] coded y,u,v intra: 8.4% 0.1% 0.1% inter: 0.0% 0.0% 0.0%
[libx264 @ 0x559a83f32480] i16 v,h,dc,p: 95%  3%  2%  0%
[libx264 @ 0x559a83f32480] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 16% 18%  4%  4%  5%  4%  3%  3%
[libx264 @ 0x559a83f32480] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x559a83f32480] ref P L0: 95.9%  2.4%  1.4%  0.4%
[libx264 @ 0x559a83f32480] ref B L0: 28.9% 71.1%
[libx264 @ 0x559a83f32480] kb/s:74.29
[aac @ 0x559a83f33a40] Qavg: 60199.988

The video ends up with length 00:00:12.96, still more than the target 00:00:10.71. Also, processing takes longer. full ffprobe output
Command 3
$ ffmpeg -framerate 1 -i 000.png -i 000.wav -c:a aac -c:v libx264 -preset fast -crf 0 out.mp4

The duration is fine for this one: 00:00:10.77. This one is a lot faster than the others to process. The output video isn't youtube-friendly though, likely because it only has 1 frame. Full ffprobe output
Why is this happening and how do I get the video to match the length of the input audio?

The most reliable way to ensure a desired length for an output is to specify -t X on the output.
But if you need adaptive limiting of the output duration, use
ffmpeg -loop 1 -framerate 5 -i 000.png -i 000.wav -c:v libx264 -c:a aac -b:a 192k -shortest -fflags +shortest -max_interleave_delta 500M out.mp4
The fflag is applied deeper in the processing pipeline and should be used in conjunction with the -shortest switch. The max_interleave_delta with a high value is set to avoid writing packets already queued for output.


text:
What's beneficial about temporal auto Bezier keyframes over continuous Bezier keyframes?
From what understand, a temporal auto Bezier keyframe automatically re-adjusts both of its direction handles whenever a neighboring keyframe is moved somehow and the influences of both of its incoming and outgoing velocities are always the same. Whereas a temporal continuous Bezier keyframe does not re-adjusts at all, and the influences are different. So those are the differences on how they work.
But what are the real benefits of auto Bezier keyframes over continuous Bezier keyframes? Most of the time, as far as I know, most people use Easy Ease (In/Out) keyframe assistants anyway, and end up manually adjusting the curves, which results only in continuous Bezier keyframes. What's the point of auto Bezier keyframes?


text:
Video player with motion blur or frame averaging
I here would be a good place to ask, I apologize if Im mistaken.
I am looking for a video player that can add motion blur to videos or that can insert an average frame in between two frames.
The reason I think I need this is because some videos appear stuttery on a low response time monitor. If I connect an older monitor to the exact same setup, the problem goes away. I figured it would be a good way to test this theory.

What you're looking for is a video editor or a video converter.  Would that be a solution to your question too?

VLC has a motion blur option under Tools > Effects and Filters > Video Effects > Advanced.
As a bonus, it can natively take the URL of some video sites, like YouTube.

You're looking for after effects.


text:
How can I swap a Motion Graphic Template (mogrt) in Adobe Premiere?
How can I swap a motion graphic template (essential graphics) with another one within Adobe Premiere ?
Thanks !

If Mogrt are built similarly (same text layers etc.) drag and drop new mogrt on old holding ‘alt’.
I hope that it is what you were looking for.


text:
If I delete a video from my computer after I've imported it, will it delete from the video I'm editing?
If I delete a video from my computer after I've imported it, will it delete from the video I'm editing?
I've imported many video clips into a video project I'm currently working on (I'm using Vegas Pro 16). But I want to help clear up some space on my computer, so if I deleted those clips from their original location, would they still remain for me to work with in Vegas?
Thank you!

Welcome to [video.se]!  :-) As you're new here: Please don't mark your question as [solved] but click the grey ☑ at the left of the answer that solved your issue, which means Yes, this answer is the most useful of all!  ;-)

According to the on-line manual page 57 of this commercial software this is only true if you:

have selected the Copy media with project checkbox and
Clicked the Save button

for all your projects!
If you forgot to do that with just one, the answer is:

No, deleting the original file will delete it from all of the projects where you did not click that option.

Unlike some other editing tools, Vegas does not convert imported video into its own intermediate format, but works directly with what you have. Importing means Vegas knows about these clips and has built quick-access metadata about them.
Any editing you do is non-destructive as all editing operations are stored in Vegas's own files as a series of commands, but it needs source videos to which it applies these commands.
TLDR: If you delete the source files your Vegas timeline will effectively be destroyed. Of course, videos that you've rendered will remain intact.

@VolkerSiegel I am sorry I was not completely clear. The rendered video will, of course, remain intact if the source clips are deleted. I was talking about the project and the timeline - it uses source clips and will be destroyed when the source clips are destroyed. Sorry for confusion. I will edit my reply accordingly.

Oh, now it makes perfect sense, no problem there, great! I deleted my panicked comment.


text:
Best way to cover a long video with music
I would like to edit a long (~10 min) video made out of drone footage. I intended to cover the whole video with background music but I would also like it to mantain the same "feel" all the way through. My question is, what is the best way to cover a long video with music such that the viewer doesn't give too much attention that the music has changed?
Or is it a better idea to use the same song and extend it or loop over and over?
Or maybe incorporate multiple tracks with different intensities and interleave them based on the current scene? (not even sure how that would be possible, it just popped into my mind :)

For the most part this is a stylistic choice. While I won't say it's impossible to maintain the viewers attention throughout a 10 minute Video with no narration - it's not an easy task either. I would highly recommend cutting in some B-roll and talking over it maybe, if only for a few seconds to break up the flow a bit.
However, for finding coherent music that fits the feel, I'd recommend you check out Artlist. You can filter by mood, theme, instruments, genre, etc. to find similar yet high quality music.


text:
Changing field of view for a 360 VR video in Premiere - adjusting default zoom level
I have a 360 video, and when I view it with a video player, I find the field of view too narrow. I would like to widen the field of view so that the video is a little more "zoomed out". I've spent a good chunk of time on this, but haven't been able to figure out a way to achieve this in Premiere Pro.


text:
Which microphone should I buy for filmmaking: RODE Videomicro, MOVO VXR 10 or ZOOM H1n?
I am thinking about an external mic or audio recorder. I watched tons of Youtube reviews but still have no clue which to buy. I was primarily thinking about the MOVO VXR 10 but some say that preamps on my G85 are too sensitive for this microphone. On the other hand, I was considering an all in one solution as ZOOM H1n.
Could you please help me to choose and give reasons for your choice? Thanks in advance.

Welcome! You'll need to give us more information for an informed answer. What are you going to be producing? Who or what will be your subjects? What environments will you be shooting in?

I will be primarily recording vlogs, interviews, short-films and maybe podcasts someday. So I will be recording conversations mostly, maybe ambient sounds but thats not necessary. I’m looking for an all in one solution to solve these tasks


text:
Trying to improve choppy ipad screen capture
I'm trying to improve the choppy screen capture that I'm getting on my ipad.
The screen capture plays smoothly when viewed on the ipad itself, however it is choppy when played on my pc in vlc, and even worse when played in filmora. I have tried the native screen recording function in iOS and third party screen recording software apps, some noticeably better than others.
Converting the file in handbrake improves it quite a bit, and I have experimented with various frame rates such as constant frame rate, 29.97, 60, etc, but the choppiness is still noticeable, and the speed is different than the original, and the still space between motion is truncated.
I'm looking for suggestions on how to solve this issue.

When your recording plays smoothly on one device, then the recording is unlikely to be the issue. What are the specs of your pc? Make sure that you have a powerful cpu and gpu as well as enough ram. Also, what container is the file in? Is it a quicktime (.mov) file? (at least I assume so given that you're using an ipad). If so, try loading up the footage with in the quicktime player instead of vlc. Also, try using premiere or a similar program that allows you to switch through resolutions for your preview (you can select an 8th of the original quality and see if it plays smoothly).
Once again though, when your file plays smoothly somewhere, but causes problems on your pc, it might be an issue with codecs (which I doubt since you got it to play) or with the periphery. Nothing wrong with the video though.


text:
Edit video like professional gamers
I want to make a gaming video. I have the clips and here is the layout:

Can any free PC apps help/do this?
Thanks

You can either do it with a NLE (Giving you much more capabilitys than only that) or record your clip with OBS and blend in the camera there

Here is a beginners guide to game streaming, which should contain everything you need to get started (including setting up OBS). It was I need to get up and running in less than an hour.. See Live Streaming 101 – My https://jeffreyfritz.com/2017/12/live-streaming-101-my-setup/#more-7214

There are two ways: 1) as above, set your webcam in the video in post production of 2) record the video with the webcam in, for example with OBS or SLOBS.

OBS will also give an extra ability to stream with your camera visible

Yes.
Any NLE can do this: you're simply going to insert/layer an image over another.
Here's how to do it with Premiere Pro (if you have access to that program; the same principle applies to any other NLE though)


text:
Video render size too large(Logitech c920)
On exporting a captured video via Logitech c920 webcam , the size of a 1 minute clip is approximately 60Mb .Note that this is only a webcam capture and doesn't include a screen capture.I was planning a 4hr shoot ,but with such large render size,it would be very difficult.
Render format -mp4
Render settings - 30fps(Priority- FrameRate)
Openh264(Cisco)
Video-Hd1280x720 (7400kbps)
Audio-Stereo-48Mhz (194Kbps)
White balance-60%
Image adjustment -Turned Off
Antiflicker -60Hz
Is their any way to get a render with a reduced size ,without affecting the current quality and without using a postprocessing external compression software

720p video rendered with H.264 can look quite good with as low as 2 Mbit/s rate.

60mb is already a ridiculously small size for a minute of footage. If you go even below that, your video will quickly look like one of those made with unregistered hypercam 3.0 back in 2009 youtube-era. Please don't. Hard-drives nowadays are incredibly cheap and I recommend just buying an external or internal one. You can get 1tb for about 50$. You could fit 16666 minutes of footage on there, which is over 277 hours. That sounds fair for 50 bucks. Please don't go below your bitrate, it's already barely intermediate.

Not sure if my question was understood properly , 60mb for a 1 minute video ~14400 mb (14Gb) for a 4 hour recording.Compressing a 14Gb video takes a hell of a lot of time (also disk space ).If the rendered output from the webcam was a managable (small) size it would be such a time saver!

14Gb does not take a hell lot of time to compress. Using ffmpeg to half the size of a 13.89 GB file I had, it took me about 4 minutes compressing it. Given that this filesize would equal 4 hours worth of recording in your time, I think this is very manageable. If you try to compress your file into an even smaller bitrate or resolution, you will suffer great loss in quality. But if you still want to do so instead of buying a very cheap hard-drive, try using handbrake of ffmpeg or the adobe media encoder. Using it, you can compress many files in a queue which should safe some time.

The length of the video file is going to depend on resolution and amount of visual changes multiplied by time.  Many codecs support a type of static (minimal change) encoding, sometimes referred to as "desktop capture" as it's ideal for capturing a computer desktop because very little changes.  If you want small file sizes you don't include video of yourself, but if you do, make it very small, like only a postage stamp or two in the corner and better yet even turn it on & off as needed.
If you look at various desktop tutorials it's common to see a 45min video only be like 75MB because the desktop changes so little that the video file doesn't need to store a lot of information.  Also record/export your audio in mono, stereo is a waste of information for talking.  It won't make much of a difference but it will make a tiny one.
As far as I know Mpeg4 doesn't offer anything optimized for desktop capture, you might want to look into a different capturing codec.  I know .WMV had explicit support for it but that's not a very popular format these days.

Yeah , you make some very good points, but mp4 is a well known standard supported by most other softwares and on social media .It even exceeds .mov in that regard .Will definitely experiment with the size of the screen and audio .

Yes it's a popular motion format, perfect for motion, it's abysmal (no exaggeration) for desktop capture, in fact it can't do it at all unless you want massive files.  This is why pros have used niche formats or stuck with WMV years later their popularity waning.


text:
After effects: Adding visual callouts of currently playing audio files with a source text script
I'm working on a short film, and I've got AE CS 6 as my editor. I have a friend who is an audio engineer, who will perform the Protools final audio mixing and editing. I've got some sound effects in my AE file that I like, and I'd love a good way to add visual text callouts about which audio file is currently playing. That way, he can save time by not having to search thru my big shared audio library to find the exact sound (.wav) that's currently playing.
  It seems like it would be a text layer with an expression on the Source text, and a for loop, but I can't imagine how to write the expression.
  I hope this makes sense.
Thanks in advance!
Geoff

You are making your and your friend's job much harder than it would have to be. Try exporting an xml (if it's possible to read audio-xlms in protools) or, which would be much easier, your friend switches over to audition. That way you can simply load your audio-timeline into audition and it's all there. Trying to recreate your mix is a terrible idea as you will risk damaging the synced audio of dialogue etc.
Alternatively, if none of that works, assign each audio channel a role (such as vox, ambient, wind, punches, etc.) and export each track on its own. He could then import every track which will be in sync just the way you had it and slice the individual tracks up if he wants to.


text:
Keyboard shortcut to extend clip duration (without changing speed) in order to fill gap for J-Cut in Premiere
I'm trying to automate away the mouse (using Autohotkey) during the editing process. All regular edits are now keyboard-only except the J-Cut. Basically I want to fill the video gap in the following example:

I can easily do it with the mouse by extending the duration of the video on the left:

How can I do this with just the keyboard (and help of Autohotkey if needed)?

Shift-Q does it - as per the following StackExchange answer which refers to images but this applies to videos too:
Shift-Q - extend previous edit to playhead


text:
Walking Forward in Google Tour Creator
To start with, I am an amateur when it comes to computational photography. I am trying to use Google's Tour Creator to create a virtual tour of my store. It works perfectly when I am standing at a point and rotating 360 on it. But I want to create a tour where I am walking straight. Imagine a camera mounted on a cart moving through an aisle in a super-market.
Is there some way I can accomplish this? Some other website? Can I code something for this?

The simplest thing to do would be to simply shoot a video of it. Alternatively, you can use photography from inside the store to generate a photogrammetry model. Simply put, a program looks at a lot of images and stitches them together to a textured 3d-model. You could then walk through the 3d-space. Since you said that you are an amateur at this field, I would highly recommend just filming the motion, or hiring someone who does. All you'd need is a steadicam and a camera, obviously. From 2 or 3 images alone you cannot accomplish such a motion.


text:
I recently bought a Rode NTG2 without much research, what else do I need to make it work well?
Since it has an option for AA battery, I don't need phantom power right?
Do absolutely need an audio interface? or can I just use an XLR to 3.5mm cable and connect it to my computer? Are there any other things I need to look at to get decent audio?
I'm really confused and haven't really found a straight forward answer online, really sorry for being dumb and thanks a lot for your help.

How do you want to use it, and what equipment do you have already?  Into a camera, into a PC or a mac etc.

Sounds like you want to use this mic as an input to your computer? This might not be the right mic for that purpose - it's a balanced, mic level signal, designed to go to a balanced mono input on a camera or mixing desk. Something like the RODE NT-USB mic is probably more suited to your purpose.
To input the NTG2 (mono, balanced) mic to a 3.5mm TRS (stereo, unbalanced) on your PC, you'd need a converter cable:
https://www.swamp.net.au/xlrf-to-3.5mm-trs-balanced-to-stereo-cable-mic-to-camera-cable
Lots of people make these, but that's what you need. If you use a straight through cable that just converts the connectors, the balanced mono audio signal will cancel itself out going into stereo, and you'll hear nothing on the input. Also, most PC inputs are line level, so the mic signal will be much LOWER (mic level), which may also impact your ability to get the volume you want out of it. See also: https://sound.stackexchange.com/questions/27539/difference-between-microphone-and-line-in-inputs
The mic is also ideally designed to be powered by the device using it (video camera, etc), the AA battery will work fine to power it, just be aware that they go flat without warning, so make sure you're monitoring what you are recording - that mic otherwise has no indicators to help you. Also be sure to remove the battery if not using the mic for an extended period, so it doesn't leak inside the mic.

Never forget that no matter how much you spend, distance is everything.  If you want the best results you'll want to boom your shotgun right above or below the person.  Camera mounting will gives you the worst results because you will always be further away than you can get it with a boom.  I would rather use a $50 mic boomed (or lapel) than a $2,000 mic camera mounted any day.


text:
Preview the sequence in Premiere
I have two workstations with the same configuration, with the same version of Premiere and the same project file.  Why on the first workstation, can I preview the sequence without needing to render while on the other workstation to be able to preview the sequence, I need to render?

Because the workstations most likely don't have the same specs? From what I understand I assume that the other workspace runs slowly in preview or required you to pre-render the sequence in order to play it smoothly. In that case, check your ram, cpu and gpu and upgrade it accordingly. If that is not the problem at hand, please clarify what it is.

the two workstations are identical in every way

please specify, what do you mean when you say you "need to render". Can you see anything in the preview? Is it simply not playing smoothly or not at all? What are your premiere settings? Are you using CUDA?

We focus our attention on the colored rendering bars in the time ruler of a sequence.  On the first workstation the color is yellow.  If I make changes to the sequence, I can instantly preview the changes.  On the other workstation, after making changes to the sequence, the color of the bar changes to red and in order to have the preview, the software starts the rendering process.  After rendering, the bar turns green.

Now we're getting somewhere. Is the sequence you opened the exact same? Are there any differences in the footage, its scaling, proxy or applied effects? Those would be my first guesses...

Yes, I did a test, opening the same project and applying the same effects

@florian-claaßenthere is one thing that naively I had not yet verified. the video card drivers are not the same on the two workstations. on the first, I had downloaded updated drivers while on the second I had left the initial drivers. There is only one problem. I installed the updated drivers also on the second workstation, but the color of the bar is still red.

Have you checked that both workstations are running the same background processes and the same versions of OS and all software? My guess would be one of them doing something intensive in the background or a version mismatch somewhere.


text:
Instructional video creation: "see-through glass" whiteboard effect
How is this effect achieved?
https://i.sstatic.net/tNiLz.jpg
(Original video:

)

The instructor is just standing behind glass and writing on it.

My handwriting isn't that neat when I'm in front of the writing surface, but, yeah, those look to be real dry erase markers.

Thanks for your response. If that was the case, then the writing should appear in reverse to us. So that's not what's happening.

Or the instructor is writing in reverse, so it would look ok to us