Live data from Hacker News

FFMPEG from Zero to Hero

ffmpegfromzerotohero.com

1–10 of 140 posts

Re: FFMPEG from Zero to Hero

#2
Might have come in handy while I was struggling to type out

    ffmpeg -i part0.mp4 -i part1.mp4 -filter_complex "[1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1]; [0:v] [0:a] [v1] [1:a] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" out.mp4
to concatenate two videos with different sizes today.

My relation with it is almost identical to my relation with any bash scripting more than a one-liner: I have to relearn it every time I want to engage with it.

Re: FFMPEG from Zero to Hero

#3
I feel like someone should teach a course on how to use the grouping of command line applications: convert (image magick), pdftk, pandoc, and ffmpeg.

Lots of power to be had in mastering them.

Re: FFMPEG from Zero to Hero

#5

    FFMPEG stands for “Fast-Forward-Moving-Picture-Experts-Group”.
Are we sure FF doesnt stand for "Free Frame" ? I think in the 90s there were a lot of projects with this ff prefix

Re: FFMPEG from Zero to Hero

#7

If this book does what it claims to do, it should probably cost more (pls raise the price after I buy it). I strongly believe that inside ffmpeg may be the secret to the cosmos, the universe and life itself

I just had to tangle with ffmpeg to stream some video from a spacecraft. I’m genuinely undecided as to which end of that problem was the more complicated one.

Re: FFMPEG from Zero to Hero

#8
post #3

I feel like someone should teach a course on how to use the grouping of command line applications: convert (image magick), pdftk, pandoc, and ffmpeg. Lots of power to be had in mastering them.

type command.

roll face on keyboard.

hit enter.

repeat until results look good!

Re: FFMPEG from Zero to Hero

#9
post #2

Might have come in handy while I was struggling to type out ffmpeg -i part0.mp4 -i part1.mp4 -filter_complex "[1:v]scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2[v1]; [0:v] [0:a] [v1] [1:a] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" out.mp4 to concatenate two videos with different sizes today. My relation with it is almost identical to my relation with any bash scripting m…

Feels like a nice & typed Haskell eDSL on top of ffmpeg would be helpful.

Re: FFMPEG from Zero to Hero

#10
ffmpeg is really useful, but isn't doing some of these things on a CPU really inefficient? I know there are some offloads for Nvidia GPU’s for some video stuff, but I was under the impression that they used Nvidia’s proprietary libraries that have limited codec support.
Post reply on HN