ffmpeg is infrastructure-level important, and tools like this keep it going.
Ffmprovisr – Making FFmpeg Easier
31–40 of 106 posts
Re: Ffmprovisr – Making FFmpeg Easier
#32Probably the biggest barrier to ffmpeg adoption is all the offline 'freemium' and web frontends, the host sites for which have been SEO'd for phrases people commonly put into Google like "avi to mp4", "mp3 to wav", etc.. It took me more time than I wish it did to become open to using CLI apps, the Windows world had taught me to expect a GUI for everything.
Re: Ffmprovisr – Making FFmpeg Easier
#33See also: * https://ffmpeg.guide/ — create complex FFmpeg filtergraphs quickly and correctly * https://www.hadet.dev/ffmpeg-cheatsheet/ — clipping, adding fade in/out, scaling, concat, etc
The second link's clipping command is not ideal in my experience. For some god known reason, ffmpeg behaves differently depending on whether you put the -ss and -t/-to flags before or after the -i flag. And for me, before worked better. It's also an issue in the original post.
Seeking the container is usually much faster than decoding and then throwing away what you don't need, but it has fatal flaw: most videos use p-frames and thus require you to decode the frames before it.
So, say you want to skip to 60 seconds in. The solution is to do "-ss 50 -i input.mkv -ss 10", which is fast and should get the keyframes you need.
Re: Ffmprovisr – Making FFmpeg Easier
#34A bit off topic, IMO ffmpeg is one of the best software ever written. Fabian Fabrice (ff) is one talented engineer and people such as him are a gift to the FOSS community. I used to work in a ~2 bil unicorn in which a big part of the products we worked on relied on ffmpeg.
*Fabrice Bellard. Also creator of QEMU, TCC, QuickJS, and others.
Re: Ffmprovisr – Making FFmpeg Easier
#35Very useful! I started using chatgpt to come up with ffmpeg commands, just so much faster and easier to find what I need. I made a small tool so I can do it right in the cli: https://github.com/alexkrkn/help-cli and made a video about it: https://www.youtube.com/watch?v=pOda6TDBqcY
Re: Ffmprovisr – Making FFmpeg Easier
#36Probably the biggest barrier to ffmpeg adoption is all the offline 'freemium' and web frontends, the host sites for which have been SEO'd for phrases people commonly put into Google like "avi to mp4", "mp3 to wav", etc.. It took me more time than I wish it did to become open to using CLI apps, the Windows world had taught me to expect a GUI for everything.
I thought most of those file conversion sites were just ffmpeg on top of nginx or something?
Re: Ffmprovisr – Making FFmpeg Easier
#37I'm not certain, but I highly suspect that if I sat down and learned about digital video encoding and compression on a granular enough level then figuring out how to do things in ffmpeg would be rather intuitive. Does anyone have experience doing this?
Re: Ffmprovisr – Making FFmpeg Easier
#38Nice idea, but needs a better name!
Re: Ffmprovisr – Making FFmpeg Easier
#39This guide recommends "yadif" as a deinterlacing filter. I find "w3fdif" looks better. Like yadif, it does not do motion tracking, so it's reasonably fast and avoids the distracting artifacts that motion tracking sometimes causes (I'd rather have consistently mediocre results than sometimes great and sometimes bad), but it considers three fields at a time instead of yadif's two, which lets it hide the interlacing art…
Though if you are reencoding, you mind as well go whole hog and use QTGMC.
Re: Ffmprovisr – Making FFmpeg Easier
#40Its optimized Pythonic video filtering... But also so much more: https://vsdb.top/
And Staxrip, which makes such good use of ffmpeg, vapoursynth, and dozens of other encoders and tools that I reboot from linux to Windows just to use it: https://github.com/staxrip/staxrip