Because you can improve and refine your technique. For example, I no longer need to open up duckduckgo to figure out what that one command was that worked for me 6 months ago. Now, I just type away. ctrl-r, ffmpeg, and bam, right there in my shell history, all I need to do is change the inputs and outputs.
I find it wild there are countless "convert videos online for free!" sites on the Internet full of bonus malware which are all just thin wrappers around ffmpeg. And yet they persist because people want googleable answers to their problem which don't need a command line or downloading anything.
Personally I've got a Python script which provides a slightly friendlier wrapper around ffmpeg for my common use-cases.
But honestly ffmpeg is such a beast, so much of what we use daily depends on it under the hood.
I still end up having to use ffmpeg directly (in combination with other CLI tools) because there's always something the GUIs haven't caught up with yet. Most recently for me it was converting animated webp's into something I could actually work with
Wait until you hear that ffmpeg is available as a library, including for Python. And that there are Python modules providing Python-specific ways of specifying the processing filters and whatnot, instead of putting them into the single command string.
Might be what you're encoding. So far pretty much everything I've done has been visually indistinguishable (to me and my wife). Most of the content I've been encoding is anime, however.
Why learn ffmpeg when you can find the holy words that invokes the machine spirits transmutation codex and write them on your data slate to be used again later?
Yeah it needs to create the different files for each resolution. But also the bitrate of the original file is probably too high for YouTube’s liking anyway so they re-encode it.
43 Comments
damnthefilibuster@lemmy.world · 73 pts · 173d
It’s very simple.
ffmpeg -i input_file <deep-dark-magic-you-should-be-afraid-of> output_fileCouldn’t be simpler.
Laser@feddit.org · 21 pts · 173d
-filter_complexsends its regardsjlow@discuss.tchncs.de · 3 pts · 172d
That you don't need to prepend output-file with -o but need(?) to do it with the input / -i weirds me out every time I use ffmpeg (which is a lot).
damnthefilibuster@lemmy.world · 4 pts · 172d
No but that’s understandable- you can have any number of inputs (what’s the upper limit, I wonder) but everything goes into only one output…
jlow@discuss.tchncs.de · 3 pts · 171d
Ah, ok? So anything after an -i is an input but the last thing is always the output so ot doesn't need a mark? Interesting.
damnthefilibuster@lemmy.world · 2 pts · 171d
Pretty much!
Ganbat@lemmy.dbzer0.com · 46 pts · 173d
Why learn when you can do what I do and look it up every single time you want to do something as though you are but a goldfish who learned to type?
lauha@lemmy.world · 16 pts · 173d
Humans are fish who learned to type. And on average pretty golden
hraegsvelmir@ani.social · 1 pts · 171d
Because you can improve and refine your technique. For example, I no longer need to open up duckduckgo to figure out what that one command was that worked for me 6 months ago. Now, I just type away. ctrl-r, ffmpeg, and bam, right there in my shell history, all I need to do is change the inputs and outputs.
cybervseas@lemmy.world · 40 pts · 173d
fr feels like its own programming language
This is literally only for the ffmpeg filters 😅
SnotFlickerman@lemmy.blahaj.zone · 13 pts · 173d
I fucking love the default video. Classic.
blorgnis@piefed.social · 4 pts · 173d
the video it pulled for cross-fade was fun too
DaPorkchop_@lemmy.ml · 3 pts · 172d
i have never seen this tool before and now i am forever in your debt
cybervseas@lemmy.world · 1 pts · 172d
Nah you’re not. We’re Lemmy. Just pay it forward 😘
tiramichu@sh.itjust.works · 25 pts · 172d
I find it wild there are countless "convert videos online for free!" sites on the Internet full of bonus malware which are all just thin wrappers around ffmpeg. And yet they persist because people want googleable answers to their problem which don't need a command line or downloading anything.
Personally I've got a Python script which provides a slightly friendlier wrapper around ffmpeg for my common use-cases.
But honestly ffmpeg is such a beast, so much of what we use daily depends on it under the hood.
Limerance@piefed.social · 5 pts · 172d
There are many nice and FOSS GUIs for the tasks ffmpeg is usually used for.
Handbrake is a great example for macOS, windows, Linux.
For more advanced video compression Shutter Encoder is fantastic.
Good old AVIDemux has a few other cool features as well, like cutting without reencoding.
There are also a bunch of straight up ffmpeg front ends as well.
Why do people use those shitty websites?
They show up as a fast and easy option without having to research, download, install, and learn to use a more complicated application.
tiramichu@sh.itjust.works · 2 pts · 172d
For sure yeah.
I still end up having to use ffmpeg directly (in combination with other CLI tools) because there's always something the GUIs haven't caught up with yet. Most recently for me it was converting animated webp's into something I could actually work with
ChaoticNeutralCzech@feddit.org · 2 pts · 172d
Yes! The picture is inaccurate, people who need to learn ffmpeg rarely know they do.
SlurpingPus@lemmy.world · 1 pts · 171d
Wait until you hear that ffmpeg is available as a library, including for Python. And that there are Python modules providing Python-specific ways of specifying the processing filters and whatnot, instead of putting them into the single command string.
SCmSTR@lemmy.blahaj.zone · 15 pts · 173d
More like ffmpreg amirite?
FooBarrington@lemmy.world · 5 pts · 172d
Is that the fork that converts regexes into mp4?
WolfLink@sh.itjust.works · 11 pts · 171d
Compress video to a broadly compatible format:
This incantation is what I end up needing 99% of the time I do something with ffmpeg.
bhamlin@lemmy.world · 2 pts · 171d
I've been a fan of
libsvtav1lately.WolfLink@sh.itjust.works · 2 pts · 171d
I ran a comparison between libsvtav1 and h264 and h265 and found that libsvtav kinda sucks.
It does produce smaller file sizes at h265, but it tends to add a visible blur.
bhamlin@lemmy.world · 1 pts · 170d
Might be what you're encoding. So far pretty much everything I've done has been visually indistinguishable (to me and my wife). Most of the content I've been encoding is anime, however.
WolfLink@sh.itjust.works · 2 pts · 170d
I should try it on anime. I was using it on phone videos.
Passerby6497@lemmy.world · 6 pts · 172d
Why learn ffmpeg when you can find the holy words that invokes the machine spirits transmutation codex and write them on your data slate to be used again later?
answersplease77@lemmy.world · 5 pts · 172d
i cannot fix her. I'd let her read the wiki or just install canvas
felixwhynot@lemmy.world · 4 pts · 173d
Why do you need to learn ffmpeg
VibeSurgeon@piefed.social · 11 pts · 173d
Wanting to do anything with video for one
wreckedcarzz@lemmy.world · 12 pts · 173d
Not true. You can:
So many things you can do without ffmpeg
undefined@lemmy.hogru.ch · 13 pts · 173d
You really named probably the only video editing software that isn’t using
ffmpegsomewhere.SkunkWorkz@lemmy.world · 6 pts · 172d
YouTube uses ffmpeg to convert the video, even if you don’t edit the video.
defrostedLasagna4921@piefed.zip · 1 pts · 172d
Does it still convert if you upload in its formats (AV1 & Opus)?
SkunkWorkz@lemmy.world · 2 pts · 172d
Yeah it needs to create the different files for each resolution. But also the bitrate of the original file is probably too high for YouTube’s liking anyway so they re-encode it.
VibeSurgeon@piefed.social · 1 pts · 172d
I guess I should clarify that I'm talking from a video engineering perspective.
WolfLink@sh.itjust.works · 0 pts · 171d
YouTube and windows movie maker are almost certainly using ffmpeg.
starchylemming@lemmy.world · 10 pts · 172d
don't let your dreams be dreams
create that ffm pegging video
LORDSMEGMA@sh.itjust.works · 3 pts · 171d
Where's that madman that uses ffmpeg instead of cat
Jankatarch@lemmy.world · 3 pts · 171d
Excuse me??
CubitOom@infosec.pub · 2 pts · 173d
manCalfpupa@lemmy.ml · 2 pts · 171d
Where's that one YouTube with the older Lady that explains ffmpeg
Agent641@lemmy.world · 2 pts · 171d
Two questions:
Why?
How?