this post was submitted on 26 Feb 2026
304 points (96.3% liked)

Lemmy Shitpost

39016 readers
4219 users here now

Welcome to Lemmy Shitpost. Here you can shitpost to your hearts content.

Anything and everything goes. Memes, Jokes, Vents and Banter. Though we still have to comply with lemmy.world instance rules. So behave!


Rules:

1. Be Respectful


Refrain from using harmful language pertaining to a protected characteristic: e.g. race, gender, sexuality, disability or religion.

Refrain from being argumentative when responding or commenting to posts/replies. Personal attacks are not welcome here.

...


2. No Illegal Content


Content that violates the law. Any post/comment found to be in breach of common law will be removed and given to the authorities if required.

That means:

-No promoting violence/threats against any individuals

-No CSA content or Revenge Porn

-No sharing private/personal information (Doxxing)

...


3. No Spam


Posting the same post, no matter the intent is against the rules.

-If you have posted content, please refrain from re-posting said content within this community.

-Do not spam posts with intent to harass, annoy, bully, advertise, scam or harm this community.

-No posting Scams/Advertisements/Phishing Links/IP Grabbers

-No Bots, Bots will be banned from the community.

...


4. No Porn/ExplicitContent


-Do not post explicit content. Lemmy.World is not the instance for NSFW content.

-Do not post Gore or Shock Content.

...


5. No Enciting Harassment,Brigading, Doxxing or Witch Hunts


-Do not Brigade other Communities

-No calls to action against other communities/users within Lemmy or outside of Lemmy.

-No Witch Hunts against users/communities.

-No content that harasses members within or outside of the community.

...


6. NSFW should be behind NSFW tags.


-Content that is NSFW should be behind NSFW tags.

-Content that might be distressing should be kept behind NSFW tags.

...

If you see content that is a breach of the rules, please flag and report the comment and a moderator will take action where they can.


Also check out:

Partnered Communities:

1.Memes

2.Lemmy Review

3.Mildly Infuriating

4.Lemmy Be Wholesome

5.No Stupid Questions

6.You Should Know

7.Comedy Heaven

8.Credible Defense

9.Ten Forward

10.LinuxMemes (Linux themed memes)


Reach out to

All communities included on the sidebar are to be made in compliance with the instance rules. Striker

founded 2 years ago
MODERATORS
 
top 42 comments
sorted by: hot top controversial new old
[–] damnthefilibuster@lemmy.world 56 points 1 month ago (2 children)

It’s very simple.

ffmpeg -i input_file <deep-dark-magic-you-should-be-afraid-of> output_file

Couldn’t be simpler.

[–] Laser@feddit.org 18 points 1 month ago

-filter_complex sends its regards

[–] jlow@discuss.tchncs.de 2 points 1 month ago (1 children)

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 points 1 month ago (1 children)

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 points 1 month ago (1 children)

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 1 points 1 month ago

Pretty much!

[–] Ganbat@lemmy.dbzer0.com 37 points 1 month ago (1 children)

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 10 points 1 month ago

Humans are fish who learned to type. And on average pretty golden

[–] cybervseas@lemmy.world 29 points 1 month ago (2 children)

fr feels like its own programming language

This is literally only for the ffmpeg filters 😅

[–] SnotFlickerman@lemmy.blahaj.zone 10 points 1 month ago (1 children)

I fucking love the default video. Classic.

[–] blorgnis@piefed.social 4 points 1 month ago

the video it pulled for cross-fade was fun too

[–] DaPorkchop_@lemmy.ml 2 points 1 month ago (1 children)

i have never seen this tool before and now i am forever in your debt

[–] cybervseas@lemmy.world 1 points 1 month ago

Nah you’re not. We’re Lemmy. Just pay it forward 😘

[–] tiramichu@sh.itjust.works 19 points 1 month ago (3 children)

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 points 1 month ago (1 children)

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 1 points 1 month ago

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 points 1 month ago

Yes! The picture is inaccurate, people who need to learn ffmpeg rarely know they do.

[–] SlurpingPus@lemmy.world 1 points 1 month ago

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 11 points 1 month ago (1 children)

More like ffmpreg amirite?

[–] FooBarrington@lemmy.world 5 points 1 month ago

Is that the fork that converts regexes into mp4?

[–] WolfLink@sh.itjust.works 6 points 1 month ago (1 children)

Compress video to a broadly compatible format:

ffmpeg -i input -c:v libx264 -pix_fmt yuv420p -crf 25 -preset slow -c:a libfdk_aac -b:a 128k output.mp4

This incantation is what I end up needing 99% of the time I do something with ffmpeg.

[–] bhamlin@lemmy.world 1 points 1 month ago (1 children)

I've been a fan of libsvtav1 lately.

[–] WolfLink@sh.itjust.works 2 points 1 month ago* (last edited 1 month ago) (1 children)

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 points 1 month ago (1 children)

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 points 1 month ago

I should try it on anime. I was using it on phone videos.

[–] answersplease77@lemmy.world 4 points 1 month ago

i cannot fix her. I'd let her read the wiki or just install canvas

[–] felixwhynot@lemmy.world 3 points 1 month ago (1 children)

Why do you need to learn ffmpeg

[–] VibeSurgeon@piefed.social 8 points 1 month ago (2 children)

Wanting to do anything with video for one

[–] starchylemming@lemmy.world 10 points 1 month ago

don't let your dreams be dreams

create that ffm pegging video

[–] wreckedcarzz@lemmy.world 5 points 1 month ago* (last edited 1 month ago) (4 children)

Not true. You can:

  • create
  • delete
  • copy
  • move
  • spend an afternoon with windows movie maker
  • think you are creating but forgot to reinstall the sd card
  • upload to youtube without any editing like a boss

So many things you can do without ffmpeg

[–] undefined@lemmy.hogru.ch 12 points 1 month ago

You really named probably the only video editing software that isn’t using ffmpeg somewhere.

[–] SkunkWorkz@lemmy.world 4 points 1 month ago (1 children)

YouTube uses ffmpeg to convert the video, even if you don’t edit the video.

[–] defrostedLasagna4921@piefed.zip 1 points 1 month ago (1 children)

Does it still convert if you upload in its formats (AV1 & Opus)?

[–] SkunkWorkz@lemmy.world 0 points 1 month ago

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 points 1 month ago

I guess I should clarify that I'm talking from a video engineering perspective.

[–] WolfLink@sh.itjust.works 0 points 1 month ago

YouTube and windows movie maker are almost certainly using ffmpeg.

[–] Passerby6497@lemmy.world 3 points 1 month ago

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?

[–] Agent641@lemmy.world 2 points 1 month ago

Two questions:

  1. Why?

  2. How?

[–] Calfpupa@lemmy.ml 2 points 1 month ago

Where's that one YouTube with the older Lady that explains ffmpeg

[–] CubitOom@infosec.pub 1 points 1 month ago
[–] LORDSMEGMA@sh.itjust.works 0 points 1 month ago (1 children)

Where's that madman that uses ffmpeg instead of cat

[–] Jankatarch@lemmy.world 3 points 1 month ago

Excuse me??