text:
FFmpeg Throws Errors When Converting 7.1 TrueHD (Blu-ray Audio) To PCM Or FLAC
I have attempted to convert a TrueHD stream to PCM as well as FLAC. Throughout the encoding process, errors occur: "lossless check failed" and others. The same set of errors occurred when converting to FLAC as well. Here's my full output:
C:\Users\henry>ffmpeg -i "D:\Movies\SELF-RIPPED MOVIES [1080p]\Hacksaw Ridge (2016) [TO COMPRESS]\Hacksaw Ri dge.mkv" -map 0:1 -c:a pcm_s24le "D:\Movies\SELF-RIPPED MOVIES [1080p]\Hacksaw Ridge (2016) [TO COMPRESS]\Hacksaw Ridge (soundtrack).mka"
ffmpeg version 4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.1 (GCC) 20190414
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
  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
[matroska,webm @ 000001f055828c80] Could not find codec parameters for stream 5 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, matroska,webm, from 'D:\Movies\SELF-RIPPED MOVIES [1080p]\Hacksaw Ridge (2016) [TO COMPRESS]\Hacksaw Ri dge.mkv':
  Metadata:
    title           : Hacksaw Ridge
    encoder         : libmakemkv v1.14.3 (1.3.5/1.4.7) win(x64-release)
    creation_time   : 2019-06-06T19:54:18.000000Z
  Duration: 02:19:19.42, start: 0.000000, bitrate: 30771 kb/s
    Chapter #0:0: start 0.000000, end 558.766542
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 558.766542, end 1121.995875
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1121.995875, end 1594.509583
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1594.509583, end 1980.561917
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1980.561917, end 2404.151750
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2404.151750, end 3007.212542
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3007.212542, end 3421.543125
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3421.543125, end 3861.649458
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 3861.649458, end 4670.207208
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4670.207208, end 5038.700333
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 5038.700333, end 5481.726250
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5481.726250, end 5942.811875
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5942.811875, end 6367.569542
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 6367.569542, end 7188.306125
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 7188.306125, end 7633.292333
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 7633.292333, end 8359.424000
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
    Metadata:
      BPS-eng         : 25437577
      DURATION-eng    : 02:19:19.392708333
      NUMBER_OF_FRAMES-eng: 200425
      NUMBER_OF_BYTES-eng: 26580335044
      SOURCE_ID-eng   : 001011
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:1(eng): Audio: truehd, 48000 Hz, 7.1, s32 (24 bit) (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4198137
      DURATION-eng    : 02:19:19.394166666
      NUMBER_OF_FRAMES-eng: 10031273
      NUMBER_OF_BYTES-eng: 4386735194
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 640 kb/s
    Metadata:
      title           : Surround 5.1
      BPS-eng         : 640000
      DURATION-eng    : 02:19:19.424000000
      NUMBER_OF_FRAMES-eng: 261232
      NUMBER_OF_BYTES-eng: 668753920
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 224000
      DURATION-eng    : 02:19:19.456000000
      NUMBER_OF_FRAMES-eng: 261233
      NUMBER_OF_BYTES-eng: 234064768
      SOURCE_ID-eng   : 001102
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:4(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
    Metadata:
      title           : Stereo
      BPS-eng         : 224000
      DURATION-eng    : 02:19:19.456000000
      NUMBER_OF_FRAMES-eng: 261233
      NUMBER_OF_BYTES-eng: 234064768
      SOURCE_ID-eng   : 001103
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
    Stream #0:5(eng): Subtitle: hdmv_pgs_subtitle
    Metadata:
      BPS-eng         : 34867
      DURATION-eng    : 02:09:48.843562500
      NUMBER_OF_FRAMES-eng: 3316
      NUMBER_OF_BYTES-eng: 33947630
      SOURCE_ID-eng   : 001200
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
Stream mapping:
  Stream #0:1 -> #0:0 (truehd (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
Output #0, matroska, to 'D:\Movies\SELF-RIPPED MOVIES [1080p]\Hacksaw Ridge (2016) [TO COMPRESS]\Hacksaw Ridge (soundtrack).mka':
  Metadata:
    title           : Hacksaw Ridge
    encoder         : Lavf58.20.100
    Chapter #0:0: start 0.000000, end 558.766542
    Metadata:
      title           : Chapter 01
    Chapter #0:1: start 558.766542, end 1121.995875
    Metadata:
      title           : Chapter 02
    Chapter #0:2: start 1121.995875, end 1594.509583
    Metadata:
      title           : Chapter 03
    Chapter #0:3: start 1594.509583, end 1980.561917
    Metadata:
      title           : Chapter 04
    Chapter #0:4: start 1980.561917, end 2404.151750
    Metadata:
      title           : Chapter 05
    Chapter #0:5: start 2404.151750, end 3007.212542
    Metadata:
      title           : Chapter 06
    Chapter #0:6: start 3007.212542, end 3421.543125
    Metadata:
      title           : Chapter 07
    Chapter #0:7: start 3421.543125, end 3861.649458
    Metadata:
      title           : Chapter 08
    Chapter #0:8: start 3861.649458, end 4670.207208
    Metadata:
      title           : Chapter 09
    Chapter #0:9: start 4670.207208, end 5038.700333
    Metadata:
      title           : Chapter 10
    Chapter #0:10: start 5038.700333, end 5481.726250
    Metadata:
      title           : Chapter 11
    Chapter #0:11: start 5481.726250, end 5942.811875
    Metadata:
      title           : Chapter 12
    Chapter #0:12: start 5942.811875, end 6367.569542
    Metadata:
      title           : Chapter 13
    Chapter #0:13: start 6367.569542, end 7188.306125
    Metadata:
      title           : Chapter 14
    Chapter #0:14: start 7188.306125, end 7633.292333
    Metadata:
      title           : Chapter 15
    Chapter #0:15: start 7633.292333, end 8359.424000
    Metadata:
      title           : Chapter 16
    Stream #0:0(eng): Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 7.1, s32 (24 bit), 9216 kb/s (default)
    Metadata:
      title           : Surround 7.1
      BPS-eng         : 4198137
      DURATION-eng    : 02:19:19.394166666
      NUMBER_OF_FRAMES-eng: 10031273
      NUMBER_OF_BYTES-eng: 4386735194
      SOURCE_ID-eng   : 001100
      _STATISTICS_WRITING_APP-eng: MakeMKV v1.14.3 win(x64-release)
      _STATISTICS_WRITING_DATE_UTC-eng: 2019-06-06 19:54:18
      _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES SOURCE_ID
      encoder         : Lavc58.35.100 pcm_s24le
[truehd @ 000001f057a93c00] Lossless check failed - expected 00, calculated a5.
[truehd @ 000001f057a93c00] Lossless check failed - expected 27, calculated fa.
[truehd @ 000001f057a93c00] Lossless check failed - expected 26, calculated d4.
[truehd @ 000001f057a93c00] Lossless check failed - expected ff, calculated 64.
[truehd @ 000001f057a93c00] Lossless check failed - expected 29, calculated 50.
[truehd @ 000001f057a93c00] Lossless check failed - expected 53, calculated 2e.
[truehd @ 000001f057a93c00] Lossless check failed - expected 44, calculated 7e.
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1b5e)
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1418)
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1b5c)
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x09c6)
[truehd @ 000001f057a93c00] substream 2 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x184d)
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x19d1)
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] Invalid channel 14 specified as output from matrix.
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] Invalid channel 9 specified as output from matrix.
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x07a2)
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] Number of primitive matrices cannot be greater than 8.
    Last message repeated 1 times
[truehd @ 000001f057a93c00] substream 2 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 6 times
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] Number of primitive matrices cannot be greater than 8.
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x15e9)
[truehd @ 000001f057a93c00] substream 2 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 4 times
[truehd @ 000001f057a93c00] Invalid huff_lsbs.
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1cbf)
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x03a7)
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] Lossless check failed - expected 86, calculated ed.
[truehd @ 000001f057a93c00] Lossless check failed - expected 00, calculated 01.
[truehd @ 000001f057a93c00] Lossless check failed - expected 26, calculated 59.
[truehd @ 000001f057a93c00] Lossless check failed - expected 5b, calculated 6f.
[truehd @ 000001f057a93c00] Lossless check failed - expected 72, calculated 53.
[truehd @ 000001f057a93c00] Lossless check failed - expected 91, calculated da.
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x15b5)
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] Invalid blocksize.
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1110)
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] Invalid blocksize.
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] Invalid blocksize.
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] Invalid blocksize.
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x05aa)
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] Invalid blocksize.
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1c60)
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x10e0)
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x00e1)
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 4 times
[truehd @ 000001f057a93c00] Number of primitive matrices cannot be greater than 8.
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] Lossless check failed - expected 3d, calculated 29.
[truehd @ 000001f057a93c00] Lossless check failed - expected 00, calculated f4.
[truehd @ 000001f057a93c00] Number of primitive matrices cannot be greater than 8.
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1cec)
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1b2e)
[truehd @ 000001f057a93c00] too many audio samples in frame
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1408)
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] Invalid blocksize.
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 11 times
[truehd @ 000001f057a93c00] quant_step_size larger than huff_lsbs
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] Invalid blocksize.
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 5 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1081)
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 13 times
[truehd @ 000001f057a93c00] Invalid blocksize.
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 1 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1693)
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 3 times
[truehd @ 000001f057a93c00] Invalid channel 3 specified as output from matrix.
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 7 times
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1b09)
[truehd @ 000001f057a93c00] substream 1 length mismatch
Error while decoding stream #0:1: Invalid data found when processing input
[truehd @ 000001f057a93c00] restart header sync incorrect (got 0x1b3d)
Error while decoding stream #0:1: Invalid data found when processing input
    Last message repeated 2 times
[truehd @ 000001f057a93c00] Lossless check failed - expected af, calculated 5f.
[truehd @ 000001f057a93c00] Lossless check failed - expected 00, calculated c7.
[truehd @ 000001f057a93c00] Lossless check failed - expected 26, calculated 8d.
[truehd @ 000001f057a93c00] Lossless check failed - expected 8f, calculated 9b.
size= 9472805kB time=02:19:19.39 bitrate=9283.1kbits/s speed=15.8x
video:0kB audio:9404189kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.729632%

C:\Users\henry>

Is there anything that can be done about these errors? Is it that my TrueHD audio is corrupt? Shall I ignore the errors altogether? Any response would be very useful to me. Thank you.

Yes, the stream appears corrupt in parts. How does the output sound?

The output seems to sound fine, but I'm unsure if this encode is worth it.


text:
How to create sound wave art?
I have a sound file of my daughter laughing and I want to convert it into an image like the one attached, not just the typical line style of sound waves. Does anyone know a program that makes sound waves like this, I have illustrator and photoshop, so could always take a screen shot if I found a program. Or even better if the program would let me import it to use as a vector file would be amazing!
https://www.istockphoto.com/nz/vector/abstract-music-vector-background-with-sound-voice-audio-wave-equalizer-waveform-gm953559194-260322211

You want to ask here: https://graphicdesign.stackexchange.com/

Any sound editing program can show you the audio waveform. Audacity is a free cross-platform one, or you could use Adobe's Audition (subscription based though there is a free trial). They don't specifically export waveforms as images, but you could screenshot the waveform and beautify it with the image editor of your choice.
Alternatively you could use one of the many online visualiser pages. This one is a good example, it can export the waveform as an SVG graphic. https://www.misha.studio/waveformer/

As this is the video production forum, one answer would be Blender. If you do not know it is a free but awesome 3D modeling program, editor, compositor.
There are several options, visualizing the general beat or volume, or trying to make something more complex.
Take one dive into a search:
https://www.google.com/search?client=firefox-b-d&q=blender+waveform+visualization
If you want something static you can make a screen capture of any visualizer and draw on top of it. You can use Inkscape for that as @stib already mentioned.

I created a web application that does this (It's free!)
Other than waveform animations it also generates a subtitle if you want.
It's perfect for people that are not familiar with design/video editing.
You have to provide an audio file and create a template.
The application does the rest and notifies you when the video is ready.
Here's a link to a guide: https://vokal.co/blog/audio-waveform

source: Stack Exchange

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

sort: votes


text:
FFMPEG - Merging Video with Vignette-Only-Plate?
Hello you beautiful people. I am currently figuring out how to use ffmpeg and asked myself a question. Usually, when using a vignette on a video, I would do the following:
ffmpeg -i input.mp4 -vf vignette=PI/4 output.mp4

This will obviously re-encode the video and thus I will lose quality. I could try using a lossless codec (such as libx264 with -crf 0 and -preset veryslow) and did so, but here's what I'm curious about:
Is it possible to create a Pass that only contains the vignette, to then merge the vignette plate with the video?
I would suspect that such a thing would be much less tedious for lossless vignetting, no?

then merge the vignette plate with the video --> as in combine with original video within a new file? Not possible.

No? Aw man that's too bad :(

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


text:
Choppy and Laggy audio in Premiere Pro
My videos and audio files played fine in Premiere Pro yesterday, but today when I open the project file again, all the audio files, including those in videos, are choppy and laggy during playback. Tried opening new projects and with other audios and vids, the problem still exists. Any ideas ?

Try under Audio Hardware in Preferences, change Input to No Input. Why this had an impact on the audio in the timeline... I have no clue. But it fixed the issue when I had it.

This one helped me as well.

From my experience this can typically occur when Premiere is having either a hard time loading a buffer for the audio, or you're putting too much strain on your computer memory.
I'd clear out the Premiere cache, which you can do by going to “Preferences > Memory.”
If it's an issue that occurs through different clips, something tells me it's to do with either the amount of memory Premiere needs to process the realtime feedback for audio, or the bitrate of the clips. If your bitrate is too high, it'll DEFINITELY cause some playback issues.

Posting this in case some poor soul comes here looking for the same issue and the above doesn't solve it:
I went into my Media Cache (C:\Users[YourName]\AppData\Roaming\Adobe\Common) and deleted all the files from "Media Cache", "Media Cache Files", and "Peak Files".
Tip: Do this with Premiere closed because sometimes files won't delete since Premiere is using them. (If you leave Premiere open, you'll have to restart it anyways since it will refer to the cache files to play audio, so you'll hear nothing)

I seem to have found a solution. It seems that if you have your file in a ONE DRIVE (cloud) folder, then it might bug.
I think it is because premiere pro needs to have directly access to the file, but when it's in a "OneDrive' or other cloud system service, the connection needed is way more than what it can provide to play it well.
It can be the same on Adobe Audition, I think that if it tries to "write" the file on a "OneDrive" folder it might bug.


text:
Is there any query language or CLI tool to analyze encoded bitstream?
I'm learning codec, but most of the video analyzer tools are GUI and windows based. I'm wondering if there is a bitstream query tool to find the info I'm seeking for. Using SQL for example:
select top 5 macro_block
from video
where frame_number = 5
and frame_type = 'IDR'
and slice_number = 10

Or any CLI command tools could reach a similar goal?


text:
ffmpeg Auto Level, Auto Color etc similar to YouTubes Auto-Fix
I used to use YouTube Auto-Fix which presumably auto fixed levels, color, contrast and added a bit of vibrance (it was almost always a bit high saturated which i kinda liked).
I am looking for an alternate in ffmpeg. I tried using -vf pp=al but it only lightens the video.
Any ideas?
P.S. I can do this in Premiere/AfterEffects but am looking for a ffmpeg solution.

According to this page is not that simple...
https://trac.ffmpeg.org/wiki/colorspace

Welcome! In general, “please see this link” answers are discouraged. Can you summarize the contents of the link in case it becomes unavailable in the future?


text:
Premiere Pro audio muffled and distorted on export
I have a strange problem where my audio is very low, muffled and distored after exporting it from premiere pro. I tried a huge amount of export settings with different bitrates and and sample rates but nothing fixes it.
(Always H.264 for video and AAC for the audio)
I have to note that the problem appears not to everyone. On my mac and smartphone it sounds fine, when others play it on their devices over social media it sounds horrible. How can that be?
Filming and audio recording was done with the Sony a6300 and boom mic. Recorded audio has 2 channels at a sample rate of 48000khz.
Has someone a suggestion for this problem?

a link to a clip of the problem audio would help to confirm whether it's a phase issue or not

Might be because you are exporting a stereo audio file which has one channel phase reversed, and then it is being played back in mono.
If you have an identical signal going to the left and right channels, but one of them is phase reversed, it means the waveform is inverted (upside down). When you listen to either channel on its own, it will sound normal.  When you listen to them both in stereo (Left channel to left speaker, right channel to right speaker) you may notice it sounding odd. Some people describe it sounding like the location of the sound is "inside their head".
But when you play back a stereo recording like this in mono (left channel and right channel both mixed togther to a single mono output) the signal will completely cancel itself out.
If the two channels are almost identical, but have tiny differences, only the differences will be audible.  This often happens with lossy file formats (like mp3/mp4 files), where the mono version of the phase reversed playback sounds tinny and lacking in all bass.
To test it out, try adding a channel mixer effect to the master output of your mix, and inverting one channel. Then export again and see if it fixes it.


text:
Mjpeg in video containers use case
From time to time i'm converting mkv to mp4 using ffmpeg in order to save disk space.
Currently i noticed that in some files multiple mjpeg streams where also included. Some of them were named cover.jpg.
From the name cover.jpg i assume that it is supposed to be displayed in some cases?!? But i never heard or saw that any program, eg. vlc, used an image to display anything from the video. So what is the use case of including pictures in a video file?
The files have one normal video stream, maybe multiple audio streams, and about 4 mjpeg streams.

Post the command you used.

It is in the video file, I didn't add it there. I don't understand the use case of it

mkv, like mp4 is a container format that is able to contain many different streams, including video, audio, subtitles, metadata and images. I'd guess that cover.jpg contains a poster image for displaying on a media playback system. BTW it's not the container format that dictates the size of the file. Mp4 isn't any more space efficient than mkv.

Never saw the cover.jpg in action on any kind of player. MP4 ist web playable, thats why I use this format instead of keeping it as mkv

Kodi and other media centres use cover.jpg to show the poster image in their menus. Where did the videos come from? https://www.matroska.org/technical/cover_art/index.html


text:
What is the proper terminology for a device that can accept IP video streams and output that to RF as used by consumer televisions?
More a terminology question than anything.
As described in the headline, I want to locate a piece of hardware that can accept arbitrary IP streams (be they MPEG-TS, H264, etc - the exact input format isn't important since re-encoding is easy), and can somehow output those streams over a coaxial cable (RF) in a way that a normal, off-the-shelf TV can tune to those streams in the same way they'd tune to a regular TV channel.
This is not a hardware recommendation question. I just want to know what this class of device is properly called so I can locate it myself.

There is no special name for something that combines IP de-encapsulation and RF modulating. At least one company markets the device as a QAM modulator with IP input.


text:
More video streams in a container
Many formats (containers) have an ability to host more video streams - e. g. MP4.
Is there a practical use of this advantage?

Multiple angles, multiple languages, video description, render-less editing...

@MichaelLiebman, it's not very convincing for me (maybe I don't fully understand). There may be 3 different files for 3 different languages - what is the advantage of having them all in 1 file? Similar for multiple angles. And I didn't imagine what is the render-less editing - how to make e. g. transitions without rendering?

On top of what @Michael Liebman said, having multiple streams in one container is in general for convenience. When you play a file in say VLC, you can change "angles" or said streams on the fly. There would be no need to open another file and remember timestamps to get to the same point of a video. The same with audio or subtitles.


text:
Automate video production with After Effects CC
I am tasked to produce ~100 videos of 10 minutes in After Effects. The videos will later be commented by voice, and I am tasked only to make the "motion" part.
Each video use:

about 30 "image" scenes (5s): an image is being slowly zoomed in
about 50 "footage" scenes (10s): a footage is being shown for 10s
A few other misc. animations (intro and conclusion with logo)

In each new video, I need to change:

The 30 images
The 50 footages (I will be given links from Youtube along with the timestamp like "0:16 to 0:26")
A limited amount of text, here and there

I plan to make the template first, and I was wondering if you guys knew a smart way to program each video (ie auto-replace the 30 images, the 50 footages and the predefined text, then build and go on to the next), a bit like "mass-mailing" for instance.
They say in programming, "if you have to do it more than 3 times, program it"... I think 100 applies! However, being unfamiliar with After Effects, I do not know where to begin! Guidance will be much appreciated.

You could achieve a certain automation by creating precomps for each clip. Then, drag every alternative file into each precomp and just stack them on top of each other. Now, apply the motion effect (the zooms etc.) to the precomps instead of the footage directly. That way, you can just hide the top layer to that the next image is visible, on which the animation will automatically be applied since it sits in the same precomp you animated before. Alternatively, to make the process even easier, you could script an expression that looks at the index of each layer in your precomp and hides every first layer for every comp, or every first and second, etc. etc. When it comes to the scripting of it though I must admit that this would require a few hours of thinking on my own, so maybe someone smarter can help you with that :D

Thanks a ton for your answer, Florian! Here's a low-tech solution that I've been thinking of,:

For video 1, I create a well-organized folder with 2 subfolders named "raw footage" and "image"
"Raw footage" has all my video files, of the right duration (10s), named 1.mp4, 2.mp4... 50.mp4. Image has 1.jpeg ... 30.jpeg.
I create video-1.aep making sure it uses directly the source files.
Then for video-2, I copy-paste the whole folder, replace all the XX.mp4 and XX.jpeg by the second set of assets named the same way. Then I manually replace the text (no big deal). Does that seem stupid?


text:
Convert a non-supported/obscure codec to a supported codec
I currently work with a team of researchers and we are obtaining data from videos that are encoded with SMB8, they are AVI files. We couldn't find anything on the SMB8 codec online unfortunately. We would like to convert these raw AVI videos with SMB8 to H.265 HEVC videos using a converter such as FFMPEG or into another readable codec. Our current issue is that our new software does not read SMB8 files.
I apologise for any inaccuracies or typos, I'm not an expert on video production and I typed this question on mobile.
Thanks!

Share the output of ffmpeg -report -i file.

@Gyan https://pastebin.com/x8VvspnK

I found a reference to this codec perhaps being used by the SIMI motion capture software; chances are it's uncompressed (if a high bit rate?) or lightly compressed AVI with additional data streams. Perhaps some stupid bitstream obfuscation... Less likely, but perhaps just a commodity codec like ASF/WMV in an AVI container?
Discussion of SIMI software found on http://birdz.sk/forum/avi-nevie-pehrat-ziaden-prehravac/138108-tema.html/ . Perhaps contacting the software developer is worth a shot.
If not, I'd try experimenting with the FOURCC changer (https://www.fourcc.org/changer/) and see if you can get WMP, VLC or mplayer to accept this file without baulking at any ancillary data.
Maybe ffmpeg could be forced to demux just the video assuming a format, allowing you to reencode? Have you got a clip available to post for analysis?

Hey, I'll try to use the FourCC Changer and see what the results are.

So I found that converting the FOURCC from "SMB8" to "MRLE" (Microsoft RLE) allows me to convert the video with FFMPEG to a playable .mp4, however, the color is in B & W.


text:
FFMPEG No such File or Directory Problem
Help I always get this I dont know why]1

Your file is in E:\ffmpeg\bin. So, after opening command prompt. Type E: Press , then type cd \ffmpeg\bin, then use your command.

Instead of
-i "video.av"i

use
-i "video.avi"

or simply
-i video.avi

God spot there on the typo :-)

I suspect all these answers are correct, but also watch out for spaces in the filenames and or path.
For example my batch file was failing due to have a space  .../VSCode Workspace/... in my path.

To be fair, this isn't actually anything to do with ffmpeg. You're using Windows cmd incorrectly. When you call up another executable in cmd, you have tell Windows where to find it. One way is by navigating to the correct folder in cmd before you run the commands. That would be the cd command that changes the working folder. The other way is to map the folder in the system paths, so that you can be in any working folder to use the executable.
In addition to your typo fixes, I strongly recommend mapping a system path to your ffmpeg bin. In other words, actually install ffmpeg. This will allow you to run ffmpeg commands from any working folder displayed in cmd. But your commands will still have to point to the correct folders and files. The only reason I wouldn't bother installing ffmpeg as instructed below is if I'm only temporarily using the system to run a few commands. If I know I'm likely to run future ffmpeg commands on that system, I take the extra few minutes to map the system path and install it.
From How do I set up and use ffmpeg in Windows?

Before you can use ffmpeg.exe in cmd you have to tell your computer where it can find it. You need to add a new system path.
  First, right click This PC (Windows 10) or Computer (Windows 7) then
  click Properties > Advanced System Settings > Advanced tab >
  Environment Variables.
In the Environment Variables window, click the "Path" row under the "Variable" column, then click Edit
The "Edit environment variable" window looks different for Windows 10 and 7. In Windows 10 click New then paste the path to the folder
  that you created earlier where ffmpeg.exe is saved. For this
  example, that is C:\Program Files\ffmpeg\bin\   In Windows 7 all the variables are listed in
  a single string, separated by a semicolon. Simply go the the end of
  the string, type a semicolon (;), then paste in the path.
Click Ok on all the windows we just opened up.

ffmpeg is now "installed". The Command Prompt will now recognize
  ffmpeg commands and will attempt to run them.

what has path got to do with anything. He is able to run ffmpeg

@barlop This answer's not only for the OP, whose error was apparently only a typo. New command line users get a similar message for a different reason that this answer solves.

Just look at the question he asked. The OP's question shows ffmpeg running, you are not answering the question he asked. If you want to answer a different question of A) ffmpeg isn't running and B) They get the different error of "'sdfs' is not recognized as an internal or external command, operable program or batch file."    Then your answer would perhaps apply. Right now your "answer", or the bulk of it, is for a different question and a different error


text:
FFMPEG single input file, crop to multiple streams, then overlay back into one output file?
I'm currently using a couple commands to 1- output two files with cropped regions, and 2- overlay the 2 files back into a single file.
I would like to be able to merge this all into out command and have a single output if this would speed up the process.
Here are my current commands (I'm using this inside a batch file, please excuse the variables):
1.This takes the input file and creates 2 output files cropped at different regions.
ffmpeg -i %input% -filter_complex "[0:v]crop=%size%:%position%[out1];[0:v]crop=200:110:6558:106[out2]" -map "[out1]" -f mp4 -ss %startTime% -t %duration% -rtbufsize 100M -framerate 8 -c:v libx264 -qmin 35 -qmax 35 -b:v 50k -preset ultrafast -movflags +faststart tmp -map "[out2]" -f mp4 -ss %startTime% -t %duration% -rtbufsize 100M -framerate 8 -c:v libx264 -qmin 35 -qmax 35 -b:v 50k -preset ultrafast -movflags +faststart tmpclock

2.This takes the two ouput files from the previous command and overlays them into the final file.
ffmpeg -i tmp -i tmpclock -filter_complex "[0:v][1:v]overlay=%pixFrmLeft%:%pixFrmTop%" -rtbufsize 100M -framerate 8 -c:v libx264 -qmin 35 -qmax 35 -b:v 50k -preset ultrafast -movflags +faststart -f mp4 %input%_Converted.mp4

Use
ffmpeg -ss %startTime% -t %duration% -i %input% -filter_complex "[0:v]split=2[c1][c2];[c1]crop=%size%:%position%[c1];[c2]crop=200:110:6558:106[c2];[c1][c2]overlay=%pixFrmLeft%:%pixFrmTop%" {your encoding options} %input%_Converted.mp4
Note that -framerate 8 is an input option for certain file formats. For an output at 8 fps, use -r 8.

Thank you, that worked great.  I did have to modify it slightly by putting -ss %startTime% -t %duration% at the end with my encoding options.  If I didn't do this, it seems like it was doing unnecessary work, or taking a very long time. I cleaning it all up by making %encopts% and included the time options there as well.

Share the log. It's the precise opposite - -ss before input skips unnecessary processing.

Ok, here are two logs. -ss before: link and -ss after: link

This is due to the pixel format of the input and a quirk in how ffmpeg processes it when input seek is set. Upgrade to latest ffmpeg and check.

I'd like to offer a version similar to Gyan's, but makes things easier to think about and makes the individual ffmpeg command more readable.
You have a single file, but want to use ffmpeg to crop one part of it differently from another part of it. I find the easiest way to do multiple things on a single file is to mark them as different inputs.
set input1=yourFile.mp4
set input2=yourFile.mp4

ffmpeg -ss %startTime1% -t %duration1% -i %input1% \
       -ss %startTime2% -t %duration2% -i %input2% \
          filter_complex "[0]crop=%size1%[v1];[1]crop%size2%[v2];\
          [v1][v2]overlay=%pixFrmLeft%:%pixFrmTop%" \
       %commands% %input%_Converted.mp4

Gyan does this with the [0:v]split=2[c1][c2] filter, which may be easy to track for now, but in instances where you have more files and want to process more than 2 parts each, creating the list of your inputs (though some are actually the same file) ahead of time is probably the best place to start to help keep you organized and on track.


text:
Is there a way to screen record with 1000fps?
I'm looking for software that can screen record (windows 10) at 1000fps. I will record a game and want to take timings and I need 1000fps at least. I don't care if the game doesn't reach that 1000fps i want the software. Don't say "uhh u cant record a game with 1000fps and not be laggy", shutup i dont care i only need the software

Can you explain why you want 1000fps, when the fastest gaming monitors have a refresh rate of 240Hz...

@DrMayhemYou are the dissapointment i mentioned..

You don't have to be mad, we're only helping :D
Yes, there is software out there that does that. Try:

Open Broadcast (obs)
Fraps (although I personally hate it)
Streamlabs (basically obs but in a different color)

If you want to have absolute and full control over what you're recording and encoding without having to juggle 3rd party software, you could try using ffmpeg and recording the screen via commands. A very helpful and valuable guide can be found here:
https://trac.ffmpeg.org/wiki/Capture/Desktop

yea sorry for being mad but i am tired of seeing useless comments like "uh u cant record in more fps than ur in game fps" yea but u actually helped so thank you. Can you tell me where i can set it up to record with more fps ?

Sure thing, that would depend on the program you're using. I believe it's a good idea if you look into the documentation for the program of your choice, as you should also consider bitrate, progressive vs. interlaces, color spaces, etc. when dealing with such a high framerate (mostly due to filesize). May I ask what you're planning to do?

I want to record a game so i can translate the frames of the video to milliseconds, and i want to record with 1000fps because it will be easier for me to make this happen. I will most likely capture it in 144p or something low so it doesnt eat my storage i just need the high framerate not the quality its not gonna be public or somehing

I doubt that this will work properly. In order to translate frames to milliseconds, the game would have to be running at 1000 fps as well. Just capturing 1000fps of some 250fps gameplay will give you many frames that contain the same still-image. Maybe it will work if you set the resolution of the game to something ridiculously low as well, but even then I am not optimistic. Which game are you trying to do this for? I assume it has something to do with precise measurements of some sort?


text:
What tools can I use for animating maps?
I know this is not the optimal type of question. Sorry for that. However I think it can be answered by listing some alternatives.
So I want to make videos about travel and I am looking for a tool for making animated maps.
I use Magix Video Pro X8 for editing my videos. It has a "travel animation feature" included, however I think it is too cumbersome to use, some of the features seem to be no longer working and it does not allow me to do more fancy animations (like just showing the shape of a country and the main cities)
I also tried to use QGIS with OSM data, but again it seems that there has to be an easier way.
I found the geolayers plugin for Adobe After Effects, but it is just too expensive for video editing being just my hobby. Also After Effects is only distibuted as a monthly subscription which I don't like because I only do video editing once a month.
I think the following videos show approximately what I want to achieve, especially the third one:

What tools could I use to achieve similar results?
(I am using windows)

In my opinion, you need two programs to achieve that. It is quite simple btw.
First, a program to prepare the assets, let's say, you already have a map, but you now need to prepare the "road" over the map.
For this part, you can use for example Inkscape (to make the roads as a vector line), then you need to export the two versions of the map, one clean, and the other with the road.
And second... Any video editor that has transitions!
If you pay attention, you can simulate the road being drawn with a simple wipe. The first example can be done with a wipe from left to right (or the other way around, depending on the trip)
The third video can be done using a radial wipe, or even just a dissolve.
There are several free programs that can do this and more refined effects. Blender, Davinci Resolve, Hit Film.
One interesting option is Open Shot, which is also free, but you can have "personalized transitions. It uses grayscale images to define where the transition is coming and going, so you can make a more acurate animation of the path.

If you can start from a GPX file, Google Earth Pro is an alternative as proposed above. I found that there were several small details to learn in the process. I was creating an inset map based on a track recorded in a GPS. (GPX file.)
If you didn't have that input you can manually create a track in Google Earth Pro.
I made a video covering some Tips and Tricks from my process. See:

If you don't have any budget, then building maps like this is going to take longer than using a tool like GeoLayers in After Effects.  Google Earth Studio is brilliant, and free, but it's better for aerial satellite views rather than vector maps.
Otherwise, you're down to looking for nice vector maps (maybe from Open Streetmap?), and overlaying them in Illustrator with satellite views to give texture.  (That's why people use dedicated tools like QGIS for this type of thing)

I have recently started using Google Earth Pro for Windows (free app).
It has the ability to export a recording, using the "Movie Maker" tool (under the tools menu). This will record your actions.
Strangely it cut off "Google Earth at the bottom right ("Google Ea"), I wasn't sure if this would cause them to complain about attribution.
I tried Google Earth with the Screen Recorder in PowerDirector, this works well and I am not limited by Google's speeds. (And the attribution was not clipped).
I find I fight with small things and can't quite get things just the way I want. However, it is free, and it does work.

My big issue with Google Earth is that I cannot style it the way I like. I could also take a screenshot from OpenStreetMap or something like that, but this is all very limited.
Right now I don't have much time for the project, but when I have again I might find a better solution.


text:
How do I insert a transition between two clips in Vegas?
I have opened an old-ish video project of mine that I've been creating in Sony Vegas Pro 14. I have some transitions between clips that I notice overlap evenly between the clips' associated audio tracks:

And for a better indication of what I mean (i.e. this is what it looks like when you drag the clip that is transitioned into away from its preceding clip):

The problem is I have forgotten how I applied the transition like this and every time I try to apply a transition to a new clip, it just overlaps the preceding one.
Could someone please explain how to apply a transition as has been done here? Thank you.

Not sure if I understand the question correctly. You're talking about transitions on the audio track, but in the screenshot there are only transitions on the video. Are you asking how to add the video transition? Generally you just make the two clips overlap and then drag a transition from the transitions window onto the overlap.

@nwsp Yes, that is what I mean.


text:
Recreating this animated mockup effect
I'm trying to recreate this effect in Ae using a box mock-up.
I'm only interested in the animated background covering the box.
Iv structured my Comp so that the design is below the box mock-up and I'm using the box as a track matte.
the main issue I'm running with is maintaining the details of the box and eliminating the fact that the effect resembles a clipping mask in Photoshop more than a mock-up.
would love to hear different approaches or tips, cheers.
mock-up used
my result

Go back to your reference and look closely. Although the pattern moves across the paper continuously around the edges, it still respects the 3D geometry of the scene. So the paper on top is on a different plane to the paper at the sides and the front. In fact that reference is totally possible to do with stop motion.

With that in mind you have to use AE's 3d capabilities. make a subcomp with your paper pattern. Now in the containing comp make a rectangle mask on the subcomp with the same proportions as the side of the box. Click the 3D icon on that layer, and angle it so that it matches the perspective of your reference. Now using another copy of the precomp add a mask that matches the proportions of the top of the box (use the width of the first mask so that the two edges match). Make this layer 3d and make the first layer its parent. Set its orientation to 90, 0, 0 (don't have AE on this machine so I'm guessing, it could be 270, 0, 0). It should now be at right angles to the side and horizontal. You have to move it so that it meets the side at the top of the box (use 0 as the x coordinate, half the height of the side as it's y coordinate and half the width of the top as the z coordinate). I'll let you work out how to add the end (hint, do the same thing but change the orientation to rotate around the y axis, not the x axis). Imagine you were making the box out of cardboard and think about how you'd rotate and move each piece to make the box.
This will achieve a stylised box, but you won't get too much in the way of realism without a bit more of work in AE. Things like the slightly rounded corners that catch specular highlights (circled in green), which you could use soft edged shape layers to do,  and an additional triangular mask for the folded over flaps at the side (rotate the layer 180 degrees so it doesn't match, and angle it out just a fraction so that it casts a shadow). Most importantly add lights to give some 3D shading.

@stip Thanks a lot for this in depth answer. I'm not sure I understand all, but sure will try out. the main thing as far as I understand is that the sides of the shape are basically 2 different plains masked. I will try it out and update thanks a lot for your help really appreciate

Yep, they're two planes at 90 degrees to each other. Once you get that you're most of the way there


text:
Free mac-native subtitle editing
I sometimes need to generate lots of subtitles for a video file.
I've been using Aegisub, but it hasn't been updated since 2014, and I'm wondering if there's a better alternative.
I export an .srt file from Aegisub, then import it into PtImportSubtitles in After Effects, to generate text keyframes.
This works well, but the software is old and looking like it won't be updated ever...
Is there anything better?
Jubler - looks clunky, needs Java runtime to operate
SWXE - non-native mac app, menus don't appear to work properly under MacOS 10.14

Is there a positive problem with Aegisub?

It's not very intuitive, but I'm more worried that it's going to stop working when MacOS is next updated, as the software hasn't been kept updated for so long.  I'm wondering how others on the mac do this, and whether there's other software available that I don't know about.

MacCaption? Or are you specifically looking for open source?

Looking for something that doesn’t cost £1700


text:
How can I change/reduce the bitrate of AVI files using Adobe Premiere Pro CC or other tools?
I'm using Eprime and Experiment Builder which requires files in AVI format (AVI-XVid). The files are quite small already (various 2 second clips under 1mb), but are still too large which crash the system, thus I am looking into reducing the file size by changing the bitrate, resolution, frame rate etc. I am not familiar with video editing, any help would be appreciated!

Bitrate ≈ quality. In whatever software you're using to encode, wind down the quality and the bitrate will follow. If you can use two-pass encodes they will decrease the size too, by being more efficient. XVid is pretty old-school, I'm not sure if Adobe does XVid, you might have to use FFmpeg

Premier Pro doesn't encode XViD, you'll need to rely on another solution such as FFmpeg.  Using FFmpeg is a different question but the command will be something similar to:
ffmpeg.exe -y -i "in.xvid" -t 480.00 -vf scale=720:301,pad=720:576:0:137 -map 0:v:0 -map 0:1 -b:v 2500K -vcodec libxvid -aspect 1.25 -b:a:0 128K -ac:a:0 2 -ar:a:0 48000 -codec:a:0 libmp3lame "out.avi"

you'll need to tinker with these settings to get the exact quality you want


text:
Tilting videos while not leaving black bars
I have a video where the character is looking towards the left of the screen. I want to rotate the video in such a way so that the character looks towards the right side while not changing any proportion.

Possible duplicate of How to mirror a composition?

Make sure your video is in a Sequence.
Go to the Effects tab, and select Horizontal flip.
Drag the Horizontal Flip effect onto your video clip in the timeline.


text:
Align Mask in After Effects
Please can someone tell me how to align a mask, created inside a composition in After Effects. The usual align tools do not see to work with masks even though they work with other objects.
The exact task I am trying to complete is to align a circular mask exactly within a square.


text:
Can too many ffmpeg encodes at once cause loss of quality?
Converting ~30 files at once with ffmpeg to mp4, and it took around ~19 hours to finish. My CPU was at 100% the whole time.
Is there any drawback in doing this many encodes at once, if time is not a big concern?
Like can ffmpeg lose frames or something because the CPU is busy and thus corrupt a file, make lower quality files or something.

No concern. This is what computers are designed for. Obviously, industrial computers are designed for years of work without turning off, but even a home computer should perform normally with proper cooling. Modern computers throttle themselves down if cooling is not adequate, so you should not experience a meltdown. If you notice that your computer behaves less stable under load, freezes or reboots, then it is a sign to replace the computer (or at least RAM modules and/or HDD).

@RustyCore I was thinking more if doing this could impact the quality of my encoded files because I'm overloading the CPU. It's a server in a datacenter

No, it will not impact the quality — it is all digital and is driven by algorithm.

This is a very broad questions so let me try to answer it in a general sense.
Yes, it is more likely for corrupted files to appear when encoding more files. It is only more likely by a very thin margin though, so using a batch-render-queue is not something to "not do" - in fact, many big budget productions use render-queues to render many many sequences one after another, and I personally wouldn't demotivate you from doing it. However, encoding to mp4 (I assume h.264) always comes with compression, meaning that the file will be lossy and not as good as the original. The CPU being at 100% shouldn't cause any problems though if you didn't overclock your cpu or tinkered with the flags from within ffmpeg (which I assume you didn't do).

So the only drawback of launching multiple ffmpeg encodes is that each one will take longer? Creating a queue would be too much complex for me. Easier to just launch many and wait

If you are running so many processes at once that your computer runs out of memory, then the speed will be MANY times slower than it would normally be, because the computer will start swapping memory out to hard disk, which is thousands of times slower than RAM. It will also shorten the life of your HDD. It's worth your time learning a little bit of scripting to avoid this. A description of how to do it is on my blog here (scroll down to part II): https://blob.pureandapplied.com.au/proxynator/

@stib I'm on linux sadly :/ but memory is not a issue

You can certainly use that technique on posix systems, It's been a while so I'm not the person to ask about bash or zsh, but it's not hard to find. This kinda thing is why shell scripting exists, on all platforms


text:
What's the quickest, most efficient way of sending files/proxies to a remote editor (using Premiere) over a moderately slow internet connection?
Say that I have many gigabytes of files (4GB) and I want to send them to an editor who lives many miles away. The editor will create a new Premiere project file, edit a couple of sequences and send the project file back to me. This all has to be done within 24 hours.
However, my internet connection is slow and it would take 24 hours for me to upload the files.
Does Adobe CC implement a system that would make this process quicker? Is there a standard workflow that solves this problem?
The solution I have in mind is to send all the files to Encoder and save the output to the cloud. The editor would work with these proxy files. Then once they have sent me the project file, I can link the project to the original clips (I am not exactly sure how I would do this). Is there a better solution?

Welcome! Aspera and Signiant have SaaS and on prem products for WAN acceleration that greatly improve transfer performance. Not exactly "standard", but both are pretty widely used.

Sending proxies is also a well established workflow if you choose to go that route. “Offline” and then “Online” editing.
See the following link for explanation on how to correctly create the proxy files with Premiere Pro
https://helpx.adobe.com/premiere-pro/kb/ingest-proxy-workflow-premiere-pro-cc-2015.html#CreateProxies
Send your Premiere Project and proxy files to your remote editor and receive back the completed project. Import their sequence into your original project and as long as they did not alter the proxies in any way before editing you should be able to reconnect the original media easily.


text:
Video Graphics Editing
By what process, graphics programming, editing or any other method can a human object in a live video be carved or cropped out of the video and the background unchanged and the video moving pixels continue in motion?

I believe You want to delete some objects from Your scene.
Adobe After Effects recently introduced a feature allowing users to do just that:
Documentation: https://helpx.adobe.com/pl/after-effects/using/content-aware-fill.html
Video example:

If You meant anything else please clarify Your question a little bit more.

This was always possible before the content-aware fill function, it just involved a lot more work.


text:
Final Cut Pro, How to save a selection of a clip to the computer
I have a long video of 24 minutes and I'll only really be using seconds long clips from it. I use the "I" and "O" to select a portion that I like and I was wondering if there was a way to save the selected portion to the computer and as separate project files? I know about auditioning though I don't think it has really worked out too well for me.

The part of this question that's confusing to me is "as separate project files."  I haven't used FCPX in a while, but I remember that when I was new to it, I wished there were a way to media manage, like there used to be in Final Cut Pro Studio. Come to think of it, I think I even posted a question here about it.  Sadly, I think the answer is still "no," if that was indeed what you were asking.  https://video.stackexchange.com/questions/7455/is-is-possible-to-trim-portions-of-clips-in-fcpx-to-save-disk-space.  You can always just export the sub-portion of the clip that you need, though.

Dang, alright thanks. I suppose I'll just have to do some workarounds or simply not work with large clips in final cut. I'll def try exporting and see how it works. Thanks.


text:
Defined Technical Specs for 'Broadcast Quality'
Does anyone know if there are clear technical specs a digital file can be assessed against to confirm a valid 'broadcast quality' file?
EG: Video = certain bitrate  Audio = certain bitrate.
Obviously 'non-broadcast quality' files can be faked by resaving to meet such specs, but as a starting point are there guidelines?

Regarding HD video, it used to be either MPEG HD422 (MPEG-2 Interframe @ 50 Mbit/s, 4:2:2) or DVCPRO HD (40-100 Mbit/s, 4:2:2). Then a whole bunch of new formats came along based on AVC/H.264 and lately H.265. I think the consistent requirement over the years has been 4:2:2 color subsampling. When HD was THE thing 10-15 years ago and TV bitrates were healthy 15+ Mbit/s, this all made sense. Nowadays my local TV station broadcasts "HD" at 5 Mbit/s, so the quality is worse than a cheap smartphone. "Broadcast quality" means nothing to me anymore. If anything, YouTube videos can look better.

Despite what Rusty Core says, TV stations will have specifications about what they regard as "broadcast quality" and will reject material that does not meet their QC checks. Best bet is to ask whatever station you are submitting it to.

This depends entirely on who you are delivering to. Different broadcasters have different requirements.  Most have a delivery spec sheet that you can request, or that they publish online. e.g. here's the BBC one.

BBC link was quite handy, thanks

And here are the Netflix and PBS specs.

you need to understand the meaning of each & effect of different Bit-rates
on your video.
DEPENDING ON PAL & NTSC
FRAME SIZE, FRAME RATE & FIELD PROGRESSION CHANGES
FOR THAT TOPIC
CLICK ON THIS TEXT OTHERWISE READ THE FOLLOWINGS:

SD
4 MB/s = TARGERT BITRATE & 5 MB/s AS MAX BITRARTE

& there won't be much difference.
but for

HD
8 MB/s = TARGERT BITRATE & 12 MB/s AS MAX BITRARTE

AS FOR

AUDIO FREQ. 48k

Does 'broadcast quality' (as a term) still apply for Online Delivery?

yes, it does, in fact, go to the link below for Youtube Standard broadcast Settings         https://support.google.com/youtube/answer/1722171?hl=en


text:
How to zoom in to a particular region of a video using Adobe Premiere Pro CC?
Desired Behaviour
Create an instructional video that 'zooms in' to parts of the video like in this video:

The first region I want to zoom into is the top right of the video.
Environment
Premiere Pro Version: 13.1.2 (build 9)
Video dimensions:  1920 wide x 1080 high
Default Video Effects Settings
Position: 960 , 540
These values seem to represent the center of the video, ie half of the video's dimensions, the first value seems to be the horizontal axis position, the second value seems to be the vertical axis position.
Scale: 100
Anchor Point:  960, 540
What I've Tried
I looked at a few tutorials for zooming, including the one mentioned above, and they all seem to say you need to:

Put your cursor where you want the zoom to start.
Go to Effect Controls panel and click Position and Scale icons so they turn into clocks.
Put your cursor where you want the zoom to end.
Adjust the Scale and Position values so that the desired area of the screen is shown.

My first attempt to zoom into the top right of the screen is 'kind of' working.
At the first keyframe, the values are:
Position:  960, 540
Scale: 100
Anchor Point:  960, 540
At the second keyframe, the values are:
Position:  -650, 1480
Scale: 268
Anchor Point:  960, 540
But I have two problems:

I can't quite tell if i am zooming 'outside' the edges of the video, even by a few pixels.
I can't see what the relationship between the new and old Position values is to make sure I am squarely in the top right corner of the screen.

I googled for things like "how to keep zoom within constraints of the video" and "how to zoom into top right of video" but that didn't yield anything helpful, so my terminology must be wrong.
Questions

What is the correct approach to zooming in to a particular region of the video?
Should I be using the Anchor Point setting as well as Position and Scale?


text:
DaVinci Resolve 16 shows black screen on imported media
This is my first time using this software cause I am trying to learn. but when I import my media, it shows all black screen and all I can hear was audio.
File imported are .mp4

Ask this question over at the blackmagic DaVinci user forum.  Their devs and admins are super responsive and helpful.  Be sure to post your system specs when you do.  To me, it looks like your hardware isn't up to snuff, but they'll know for sure.  https://forum.blackmagicdesign.com/viewforum.php?f=21&sid=afb1a543265160c1a4dacdcda8c81247

... or post your specs here.  We'd need those to be able to diagnose, as well.

I have the same issue, it seems to be an incompatibility with the new hardware acceleration in V.16 and AMD video cards. Resolve staff just blame AMD when questioned. But several driver updates have come out since the earliest report of this bug (even a few since I have had the issue), and nothing has changed. Sadly, there isn't a solution yet so if you're looking for a free video editor to get started I would go for HitFilm Express.

Do you have AMD's RX 560 or 580? I have had the same issue with both cards with DR16 on two different machines. In both cases removing all video drivers completely and reinstalling AMD's latest drivers fixed the issue.

Just ran into the same issue. Updated my Nvidia driver and now I just get a grey screen. Audio plays fine though... I hate technology... :'(

I suspect you are using an unsupported codec.  Are you using the Linux for windows version?  What is the video you are trying to import encoded as?

Judging by the windows 10 logo in the lower left corner I'd guess it's not Linux. But apart from that it does look like a codec issue


text:
Live Streaming IP Camera Stream to Youtube Using ffmpeg
My Objective : To Transcode mjpeg stream from ip camera to youtube using ffmpeg
My Command :
ffmpeg -re -f mjpeg -i "http://192.168.0.101" -c copy -movflags +faststart  -vcodec libx264 -f flv "rtmp://a.rtmp.youtube.com/live2/<key>"

My Reference for above effort : Streaming Guide
But when i try to run the command, it seems something is being transcoded and transmitted but youtube live i am not able to see anything, below is the screenshot of command output

-c copy and -vcodec libx264conflict with each other and-movflags +faststart` only applies to mp4s, which you are not using. I recommend you take some time to know what these flags do.

Last time I checked, Youtube requires an audio stream even if there is no input audio, so supply a dummy one.
ffmpeg -re -f mjpeg -i "http://192.168.0.101" -f lavfi -i anullsrc -c:v libx264 -g 60 -c:a aac -ar 44100 -ac 2 -f flv "rtmp://a.rtmp.youtube.com/live2/<key>"

almost worked, but there is a resolution problem, even though the resolution of my IP Cam is set to 1024x768 , youtube says the resolution 600x800, any default settings of ffmpeg causing this ?

No, your input resolution is 800x600. See the properties for Input #0 in your image.

You were right, YouTube does require an audio stream. I removed the -an from my pipeline, to restore audio, and it started working properly.


text:
How to create Frame Sequential / Alternate frames 3D video from two separate one
Platform is Linux, CLI tools is needed.
There are two files: one for left eye another for right eye. I search a way to compose it into single 3D MKV (or any other container) with alternate frame format.
I tried FFmpeg filter framepack and MKV metadata stereo_mode=block_lr:
ffmpeg -i input_l.mkv -i input_r.mkv -filter_complex framepack=frameseq -metadata stereo_mode=block_lr -y out.mkv

But result is short, not all frames repacked/remuxed: input files contains 500 frames, out.mkv contains only 32 one and has doubled FPS.
I expect, that output file will contain 1000 frames.
Any tools are welcomed.
Another related question: is it possible to do such muxing without frame re-encoding? Input files already well-coded and I want just repack them into 3D video format.
PS FFmpeg version 4.2.1


text:
What software can I use that provides easy to use art and animations to make videos like this?

Any advice on software that can help make videos like this? I don't think it is Adobe software because I believe the software provides a lot of art and animations so that you don't have to be an illustrator / animator to tell a story through video.
Any advice greatly appreciated.

If you are not an illustrator, or at least willing to tweak illustrations to fit your purpose, yes, you need to actually use the clips provided by one specific vendor.
There are some online tools like www.vyond.com (former GoAnimate) but it can become pretty expensive if you do not use it very often.
An interesting program is What was at some time Crazy Talk Animator, but is now Cartoon animator https://www.reallusion.com/cartoon-animator/default.html it has some built-in characters, but you need to buy some other models if you want to change the style, or you can create your own. Both options add to the price.

You also can use free programs like Blender and Inkscape with great results, but you need to invest in the time to actually create the assets yourself.

One "new" option is to use Daz 3D.
The program has been free for many years, but the new feature is now a "Toon" shader.
The look is not necessary the same as you show in the video, but the look is quite nice.


text:
The end of my video gets cut off every time I finalize
I have a video that I have edited and saved as mp4 several times, each time the last few seconds gets cut off.  The frame freezes but I hear the sound, and the closing credits are cut off.  Same result on a 30 minute version and 15 minute edited version.

have you cut the video stream without re-encoding it? You might check your group-of-pictures settings.
I only know this effect when cropping some seconds at the beginning of videos: When the first I-Frame is cropped, the video-stream only appears after the next I-Frame - this can take many seconds...

You might want to check the framerate of your video and the one of your composition and match it.
If they don't match the app will try to fill the timeline of the composition with footage that is 'shorter' in terms of frames per seconds.


text:
Adobe Encoder Desyncs Video/Audio (MTS to MP4)
I've been trying to transcode an MTS (recorded on a Panasonic) to MP4 with Adobe Media Encoder. The audio/video has consistently gone out of sync. I've matched the source, gone over all the settings, and restarted both computer and program, but it hasn't seemed to work.
I then turned to other encoders with different results. Out of all of the ones I tried, Wondershare Free Video Converter seemed to work the best: it didn't desync the audio/video, and it didn't interpolate the video. Using MediaInfo, I tried to recreate all the parameters from Wondershare to Encoder, but the audio/video STILL go out of sync.
I just don't know what I'm doing wrong. Below are the specs of the MTS (original), Wonder Share (no sync issues), and Encoder (-500ms audio/video desync).
MTS (original)
General
ID : 1 (0x1)
Complete name : E:\2019\001.MTS
Format : BDAV
Format/Info : Blu-ray Video
File size : 1.94 GiB
Duration : 23 min 52 s
Overall bit rate mode : Variable
Overall bit rate : 11.6 Mb/s
Maximum Overall bit rate : 18.0 Mb/s
Recorded date : 2019-01-18 14:24:17-05:00
Writing application : Panasonic

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Format settings, GOP : M=3, N=15
Codec ID : 27
Duration : 23 min 52 s
Bit rate mode : Variable
Bit rate : 10.8 Mb/s
Maximum bit rate : 16.8 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan type, store method : Separated fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.173
Stream size : 1.79 GiB (93%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 23 min 52 s
Bit rate mode : Constant
Bit rate : 384 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Delay relative to video : -434 ms
Stream size : 65.6 MiB (3%)
Service kind : Complete Main

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 23 min 52 s

Wondershare (no sync issues)
General
Complete name : C:\Users\elm201\Desktop\Wondershare\Converted\001_H.264_Prog_6mbps_AAC.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42)
File size : 172 MiB
Duration : 3 min 54 s
Overall bit rate : 6 143 kb/s
Codirector : codirector
Production studio : studio
ContentType : Unknown Type
Encoded date : UTC 2019-11-15 14:08:02
Tagged date : UTC 2019-11-15 14:08:02

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Format settings, GOP : M=3, N=25
Muxing mode : Container profile=Baseline@3.0
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3 min 54 s
Bit rate : 6 008 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 168 MiB (98%)
Language : English
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 3 min 54 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 3.57 MiB (2%)
Title : Stereo
Language : English
Default : Yes
Alternate group : 1

Encoder (-500ms off)
General
Complete name : C:\Users\elm201\Desktop\Encoder\001_Progressive_6mbps_Constant.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/mp41)
File size : 168 MiB
Duration : 3 min 49 s
Overall bit rate mode : Variable
Overall bit rate : 6 139 kb/s
Encoded date : UTC 2019-11-15 14:51:40
Tagged date : UTC 2019-11-15 14:53:00
TIM : 00:20:02:17
TSC : 30000
TSZ : 1001

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Format settings, GOP : M=4, N=29
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 3 min 49 s
Bit rate : 6 009 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.097
Stream size : 164 MiB (98%)
Language : English
Encoded date : UTC 2019-11-15 14:51:40
Tagged date : UTC 2019-11-15 14:51:40
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 3 min 49 s
Source duration : 3 min 49 s
Bit rate mode : Variable
Bit rate : 126 kb/s
Maximum bit rate : 206 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 3.43 MiB (2%)
Source stream size : 3.43 MiB (2%)
Language : English
Encoded date : UTC 2019-11-15 14:51:40
Tagged date : UTC 2019-11-15 14:51:40


text:
FCP: Shape disappears when made into a compound clip
I'm having a problem in Final Cut Pro X (10.3.4) where when I create a New Compound Clip with a shape, the shape disappears.

Screenshot 1 below shows the shape before making the compound clip
Screenshot 2 shows me selecting the two clips and right clicking to make New Compound Clip
Screenshot 3 shows the resulting compound clip - note how the shape is no longer visible

What am I doing wrong?


text:
After Effects: How to animate letters to random position
Is it possible to animate letters to random position in After Effects? Yes I can do it manualy letter by letter but I want to achieve effect like on animation below for any input text.

You could probably write a complicated expression which will allow you to do that. If you deal with short words like those though, I would recommend you duplicate the text layer and mask out one letter for each layer. You can then animate each layer in position and scale so that the letters move into place

How about Text->Animate->Position and then Add->Selector->Wiggly? If you then set that Position to non-zero value, letters will skip around randomly over time and Selector properties will give you some control over the process.


text:
FFMPEG dropping last few frames when converting image sequence to video
I have been extracting frames from videos, editing these frames using ffmpeg, then converting the edited image sequence back into videos.
# Get the video's framerate
ffprobe -v 0 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate video_in.webm
# e.g. cmd returns 5675/189

ffmpeg -i video_in.webm ./frames/image%05d.png
cd ./frames
# Image editing by various means, usually ending with
ffmpeg -i input1.png -i image%05d.png -filter_complex hstack ./output/image%05d.png
cd ./output
ffmpeg -framerate 5675/189 -i image%05d.png -c:v libvpx-vp9 -pix_fmt yuva420p -lossless 1 video_out.webm

For most videos, things work perfectly. For some, though, the output video seems to be missing the last few frames (e.g. maybe 0.5-1 seconds worth). In the latest video where it happened (though not the only one), I had deleted some of the ending frames of the original image sequence i.e. I extracted 220+ frames, manually deleted the last 20+, so I'm only left with ~200, performed additional editing as in the above code, then combined together back into a video. Yet when I view the video, it seems to stop at around frame 170-80+ and the rest is seemingly dropped.
I had seen it happen before, but those videos are maybe 1-2s long so I thought maybe it's too short, and settled for converting to gifs instead. But for this particular occurrence the output video is ~6s long. That's near the lower bound of the usual output video durations I work with.
Why is that happening? I'm not an expert in video-editing technicalities, so I don't know if I didn't configure something or is doing something wrong. What's going wrong here and how do I fix it? Thanks!

Check that there are no gaps in the numbering. The sequence filenames have to be a smooth unbroken series.

Yes, there're no gaps. The extracted images run from image00001 to image00227. After manual deletion I'm left with image00001 to image00206. When I convert to gif, all the frames are in the gif. But when I convert to video, the last ~0.5 seconds got cut off.

How re you checking the video file?

I play the video in vlc player and the images from the last few frames (not the deleted ones) aren't inside

Which frame of the input sequence does ffmpeg -sseof -1 -i video_out.webm -update 1 lastfr.png show?

hmm strange, it seems the last frame IS added in after all. It shows when I upload to gfycat, but not when I preview it via VLC player. Strange...well I guess it's not an issue anymore. Thanks for the help anyway!


text:
Will the ffmpeg community add FTL (Mixer) support to ffmpeg?
Maybe somewhere here has some insight into the ffmpeg dev community, maybe this question is better on Stack Exchange, but it seems like the ftl-sdk has been out for a bit, but I don't see any signs its being added to ffmpeg?
Will ffmpeg be able to stream FTL (Faster Then Light) to Mixer?

I;ve seen no serious discussion (or request) for it being added. Post an enhancement ticket on trac.ffmpeg.org, if you like. Appears to be WebRTC-derived.


text:
Logo replacement in screen recording
I'm not an editor but I'm trying to achieve a simple effect. The use-case is I want to do a screen recording of a demo of a web application, where I can then do different exports where the logo on the webpage is different for each video. The logo will move during the screen recording. What's the best way to do the screen recording, and what's the best way to replace the logo so that I can create new exports quickly and in the most automated way?

The easiest solution would be to record the presentation without the logo altogether using open broadcast, fraps or some screen recorder. You can then animate the logo in After Effects from within a precomp and simply exchange the images in the precomp to swap to another logo.
For demos of that sort you'd usually animate the whole thing though, but since you said that you're not an editor this probably isn't an option.


text:
How to convert encrypted mpeg dash created with Bento4 mp4-dash.py to MP4
I have MPEG dash video files created with Bento4 mp4-dash.py.
The files have encription, but I have the MPD and the audio and video segments.
I am trying to get my original MP4 file back from those segments without success.
My tentatives:
1) Convert directly from the MPD file:
ffmpeg -i stream.mpd  -c copy output.mp4

2) Concatenate audio and video and use ffmpeg to merge them:
cat videos/init.mp4 $(ls -1v videos/seg*.m4s) > video.mp4
cat audios/init.mp4 $(ls -1v audios/seg*.m4s) > audio.m4a
ffmpeg -i video.mp4 -i audio.m4a -c copy output.mp4

The error:
ffmpeg version 4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8.3.0 (Alpine 8.3.0)
  configuration: --pkg-config-flags=--static --extra-cflags=-fopenmp --extra-ldflags='-static -fopenmp' --toolchain=hardened --disable-debug --disable-shared --disable-ffplay --enable-static --enable-gpl --enable-nonfree --enable-openssl --enable-iconv --enable-libxml2 --enable-libmp3lame --enable-libfdk-aac --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvpx --enable-libx264 --enable-libx265 --enable-libwebp --enable-libwavpack --enable-libspeex --enable-libaom --enable-libvidstab --enable-libkvazaar --enable-libfreetype --enable-fontconfig --enable-libfribidi --enable-libass --enable-libzimg --enable-libsoxr --enable-libopenjpeg --enable-libdav1d
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5555564ad840] Failed to seek for auxiliary info, will only parse senc atoms for encryption info
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5555564c4100] could not find corresponding trex (id 2)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5555564c4100] could not find corresponding track id 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5555564c4100] trun track id unknown, no tfhd was found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5555564c4100] error reading header
stream.mpd: Invalid data found when processing input

I tried a few other options I do not remember, but the error persists and I do not know what could be the causes. I believe the concatenation step will not work due to the encryption, but I do not know how to get the key information from the MPD file neither how to decrypt before.
The following link says it should be easy, but something is not working (probably missing a decryption step):
How to download and encode a video from a MPD manifest?
Could you help me to solve such issue?

I think you should also have an initialization file that you need to append to the chunks. I am also trying to do the same but in my case, I am trying to download the files manually using the manifest.mpd file and concatenate them together and eventually re-create the original file but so far, I was not able to make it.

@GeorgеStoyanov Lets try to help each other then :D I was trying to find the key to use with https://www.bento4.com/documentation/mp4decrypt/. I found the KID into the MPD file, but I do not know what is the key. Maybe it is possible to decrypt before appending the chunks. I do not know much about how it works, but the key must be in one of those files, or media players could not play such files.

if I am not wrong the URL to the keystore should be included in the manifest file from where you can download the key to decrypt the MPEG-Dash segments. I think you can only retrieve the key for the decryption if you have authorized the player in your case the ffmpeg by providing username and password or some other way for authorization.

After you have made concat with your method 2:
You need the decryption key value (not the KID) for each track (I will not explain how to find the key value;) and then from your video and audio files use mp4decrypt from bento4 (just google it if you don't have it yet):
mp4decrypt --key KID:00112233445566778899AABBCCDDEEFF audio.m4a audio_decrypted.mp4
mp4decrypt --key 1:00112233445566778899AABBCCDDEEFF video.mp4 video_decrypted.mp4
you will have to replace KID with your 16 bytes hex key ID and 00112233445566778899AABBCCDDEEFF with your real key value
then ffmpeg will work (as expected) with your decrypted tracks :
fmpeg -i video_decrypted.mp4 -i audio_decrypted.m4a -c copy output.mp4


text:
Imported video starting in third frame
I'm experiencing a problem with After Effects CC 18 where every mp4 video that I import starts in the third frame of the video and not in the first frame. The video and composition and video framerate are the same, but even then the problem continues. Any idea how I can solve it?

if you go into your composition-settings, what is the start-frame given?

Starts in zero..

hmm that's strange... if you take a look at the metadata from the video, does is perhaps start at frame -2?


text:
Is this jump video edited (time reversed)?
I'm under the impression that the jump around minute 2:35 of Aaron Johnson in the official video of R.E.M. - ÜBerlin is fake, because I believe it contradicts the physical principle of how human bodies jump up against earth gravity.
On the other hand I guess it is likely obvious that it is has been reversed by video editing from an original scene where he was jumping down and not up. Is there any way or tools to confirm or debunk my hypothesis?

By comparing the original 5 second scene, with the time reversed video, produced by kapwing reverse video online, it's apparent that the last one is the natural and realistic movement.


text:
How do I compress a video and preserve quality in moving areas?
It's easier to notice details in still objects compared to moving ones, so modern codecs save bandwidth by reducing detail during movement. However, this optimization seems far too pronounced to me with the codecs and settings I've tried. The following are cropped screenshots from viewing in VLC, and the person is in the midst of turning their head from screen left to screen right.
Here's the original DVD, MPEG2, 9000 kbps (for the video), 720x480. There's some noise, but the facial expression is clear, even though it's in motion.

The following was encoded from the original with DivX 3.11a low-motion, 2-pass, averaging 1705 kbps (for the video), 432x320. It's a bit fuzzier than the original due to the reduced resolution, but it's faithfully reproducing everything in the frame.

The following was encoded from the original with AVC in ffmpeg, averaging 962 kbps (for the video), 720x480. I'm using a CRF of 22 to be a bit higher quality than the AVC default of 23.
ffmpeg -i        in.vob
       -filter:v yadif
       -c:v      libx264
       -crf      22
       -c:a      libopus
       -b:a      64k
       -strict   -2
                 out.mp4

Static areas are almost as crisp as the original, but areas in motion have been optimized into blocky smudges.

And finally, the following was encoded from the original with HEVC in ffmpeg, averaging 372 kbps (for the video), 720x480. I'm using a CRF of 25 to be a bit higher quality than the HEVC default of 28.
ffmpeg -i        .\in.vob
       -filter:v yadif
       -c:v      libx265
       -crf      25
       -c:a      libopus
       -b:a      64k
       -strict   -2
                 out.mp4

Faces have been turned into blobs, and this isn't even the worst one in the frame.

When the encoder tosses out information on certain areas due to the very thing that makes them interesting - motion - the optimization becomes really noticeable. However, I've seen videos encoded in AVC and HEVC that don't suffer from this, maintaining good detail even at ~1000 kbps for 1920x1080. What am I doing wrong, and how do I improve the quality with these modern codecs while still benefiting from reduced file sizes?

I've settled on the AVC settings above plus -tune film and rescaling to 640x480, and it's pretty okay, but still loses a good deal of detail with motion.

Forgot to mention that it needs -vsync vfr -enc_time_base -1 to preserve the correct duration of each frame, otherwise it'll duplicate some frames and drop others in an attempt to make it match the average frame rate which results in choppiness.


text:
How to create Zoom In Circle transition using ffmpreg?
I am trying to use ffmpeg to concatenate 2 videos (prelude and the actual content). I want the transition to start with a circle that grows from a specific location and opens the view to the second video. I tried using ffmpeg-gl-transition, which seems to have a zoomInCirlce transition, but in that case, the second video looses audio. Are there other ways to achieve this?
Here's a link to a sample,

Are you sure that you want to do this using ffmpeg? I don't doubt that it's possible, but I believe that it would be much easier to do this in a compositing software like After Effects.

I am looking to automate the process with script rather than have a human do using the composition software. Unless these software have apis


text:
Video not playing in mac
I use a OnePlus 6 mobile for recording videos and so far I have never transferred the video to my Macbook Pro, however, I recently copied all my videos to learn video editing.
All videos play smoothly in the mobile, but whichever the video I copied from my mobile aren't playing smoothly in the laptop.
Videos are recorded in H.264 format in 1080p. One strange difference I noticed was that all the videos recorded using the front camera, plays smoothly, but the rear camera does not. Also, 720p content from just works fine.
I'm having hard time understanding what is the problem. Please help. I'm sure if the problem is with the mobile phone or the codecs which are installed in my Macbook Pro.
I've tried using Quicktime player, VLC Player and DaVinci Resolve.

Have you tried to encode it again using ffmpeg or handbrake? It might just be a codec / container problem

Yes, I tried with Handbrake, but no luck. In fact, handbrake creates a file in KB while my actually video is hundreds of MB and the new encoded video is useless.

That seems very strange.. It might be that your file is corrupt, can you send over the original clip?


text:
How to go about making educational videos of handwritten instructions on a digital pad, where the hands won't be included in the videos?
How do we use a digital board/pad to make pre-recorded (not live) YouTube videos of the handwritten instructions, so that hand(s) wouldn't be visible in the videos, but you'll actually use your hand (and not the computer mouse) to write on the board? So basically, to make these videos, you'll write on a digital pad/board connected to your computer, so the computer screen would contain just what you're writing minus your hand, and the video of those writings can be saved afterwards? The best descripotion is some Khan Academy videos: e.g.

 is where you see just what you need, minus the hands, or the instructor himself.
If possible, how exactly do we do it? One idea is described here -

, but I'd still love to see if there're other simpler ideas out there, possibly not involving buying a very expensive digital board. Some digital board are less than 100€, but some are 1000€ (!).

The easiest way to do this would be to get a graphic tablet (like a Wacom tablet or a cheaper alternative) and record the screen as you write on a drawing program such as gimp, illustrator, Photoshop, paint.net, etc. with a recording program such as OBS. You can set up custom pens that use the speed, angle, pressure, etc. of your drawing to imitate the look of a pen and to create a similar effect to one of these videos.

The graphics pad that I first got was 25 USD and it is an XP Pen Star something

thank you for your answer, I'll check out the Wacom tablet etc. Do you possibly have an Amazon link or other such links so I can check out the features in detail? TIA!
I've Streammab OBS recently installed in my laptop, I guess that'll help me record the screen when I write?

Wacom CTL4100 Intuos Graphics Drawing Tablet with 3 Bonus Software included, 7.9"x 6.3", Black https://www.amazon.com/dp/B079HL9YSF/ref=cm_sw_r_cp_apa_i_d-o5DbNJGE1MW - $50

XP-PEN Deco 01 V2 Graphics Tablet 10x6.25 Inch Drawing Pen Tablet 8192 Levels Pressure Battery-Free Pen with Tilt Function Android Supported and 8 Shortcut Keys https://www.amazon.com/dp/B07VKB37HZ/ref=cm_sw_r_cp_apa_i_8.o5DbGPEM0W7 this one is much bigger and a little cheaper

XP-Pen G430S OSU Tablet Ultrathin Graphic Tablet 4 x 3 inch Digital Tablet Drawing Pen Tablet for OSU! (8192 Levels Pressure) https://www.amazon.com/dp/B01BA6XQI0/ref=cm_sw_r_cp_apa_i_4ap5Db6WMFQ1V this is very cheap

These are all very cheap graphics tablets

In most cases, drawing-pads are usually used. However, you can draw on paper in a light-tent and imitate the motion of pens and brushes over the paper in post. This will be a more difficult option though as it takes much more time in post.

Thanks for your answer! But what kind of drawing pads do you mean? Is it electronid or digital? What I don't want to do is to use a camera to videotape myself writing down the instructions on the pad. Hence I want some kind of digital pad that can be connected to the computer and allow me to make me a video of me writing on the board, but the video must not show myself, or my hand; it'd just show the writings on the board, and the board itself of course!

Believe it or not, but these pads do in fact exist :D
https://www.amazon.com/dp/B07VRQM5LY/ref=sspa_dk_detail_3?psc=1&pd_rd_i=B07VRQM5LY&pd_rd_w=0eShL&pf_rd_p=45a72588-80f7-4414-9851-786f6c16d42b&pd_rd_wg=oninb&pf_rd_r=TBMTNHGAQ7WCA4J5MS8J&pd_rd_r=23822837-e764-424a-a23e-05b7a02dc5bc&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUFNQTUxRlNNQkZZU1kmZW5jcnlwdGVkSWQ9QTA2MjA3MTExUUFQWExTQ09GUzVEJmVuY3J5cHRlZEFkSWQ9QTA4OTI0MzgzOFVIVTUwTTNWSkdGJndpZGdldE5hbWU9c3BfZGV0YWlsJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ==

You might want to keep in mind that you will need proper screen-recording too. If that is not something you're an expert at, I would recommend using something like Fraps or Camtasia even, but using Open Broadcast or ffmpeg would be the "proper" way. Both work tho.


text:
How to remaster the Old movies to the High Resolution Quality using FFMPEG?
How to remaster the Old movies to the High-Resolution Quality using FFMPEG?
Friends,
I want to remaster the Old movies to High-Resolution Video & Audio. How this can be achieved using FFMPEG.

You cannot magically pull out more resolution than the material you have. If it's 1920x1080, the resolution can only get smaller, i.e. 1280x720. There are options like Nvidia's Ai-Upscaling, but it works rather bad when applied to faces, which you'll probably run into. Another method might be to use Red Giant's Upscalers. They use more advanced upscaling methods than After Effects bicubic scaling - however, upscaling 720p to 1080p will not result in a regular fullHD image.