DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Little tip on using ffmpeg to post-process recorded zoom footage for youtube  (Read 10,655 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
I've been fooling around recently using Zoom to record discussions and remote board game play, and thinking about how to make that video suitable for uploading to a youtube channel.

Here's a little tip for cleaning up the Zoom recorded video and cropping out unnesc. space using the free open source commandline tool ffmpg.

Original video recorded by zoom looks like this:
zoomorig.jpg

FFMPEG script:
Code
ffmpeg.exe -i zoomin.mp4 -filter_complex "[0:v]crop=iw/2.666666:ih/2:iw/16:ih/4[tl]; [0:v]crop=iw/2.666666:ih/2:iw/1.777777:ih/4[br]; [tl][br]hstack=inputs=2" -codec:a copy zoomout.mp4

Result:
QuarantineCoop.jpg

Basically it tells ffmpeg to form a new frame by selecting out each of the two images and then combining them side by side.  You could use similar ffmpeg command to stack them on top of each other, etc.

ffmpg seems super useful and powerful, I'm sure there's other cool stuff you could do with it.

Original address: https://www.donationcoder.com/forum/index.php?topic=50074.0