this post was submitted on 26 Feb 2026
384 points (97.3% liked)

Lemmy Shitpost

38280 readers
5108 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 43 comments
sorted by: hot top controversial new old
[–] WolfLink@sh.itjust.works 11 points 2 days 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 2 points 2 days ago (1 children)

I've been a fan of libsvtav1 lately.

[–] WolfLink@sh.itjust.works 2 points 2 days ago* (last edited 2 days 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 day 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 day ago

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

[–] damnthefilibuster@lemmy.world 73 points 4 days 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 21 points 4 days ago

-filter_complex sends its regards

[–] jlow@discuss.tchncs.de 3 points 3 days 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 3 days 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 2 days 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 2 points 2 days ago

Pretty much!

[–] Agent641@lemmy.world 2 points 2 days ago

Two questions:

  1. Why?

  2. How?

[–] Ganbat@lemmy.dbzer0.com 45 points 4 days ago (2 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?

[–] hraegsvelmir@ani.social 1 points 2 days ago

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.

[–] lauha@lemmy.world 16 points 4 days ago

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

[–] Calfpupa@lemmy.ml 2 points 2 days ago

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

[–] LORDSMEGMA@sh.itjust.works 2 points 2 days ago (1 children)

Where's that madman that uses ffmpeg instead of cat

[–] Jankatarch@lemmy.world 3 points 2 days ago

Excuse me??

[–] cybervseas@lemmy.world 40 points 4 days ago (2 children)

fr feels like its own programming language

This is literally only for the ffmpeg filters 😅

[–] SnotFlickerman@lemmy.blahaj.zone 13 points 4 days ago (1 children)

I fucking love the default video. Classic.

[–] blorgnis@piefed.social 4 points 4 days ago

the video it pulled for cross-fade was fun too

[–] DaPorkchop_@lemmy.ml 3 points 3 days ago (1 children)

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

[–] cybervseas@lemmy.world 1 points 3 days ago

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

[–] tiramichu@sh.itjust.works 24 points 4 days 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.

[–] SlurpingPus@lemmy.world 1 points 2 days 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.

[–] Limerance@piefed.social 5 points 3 days 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 2 points 3 days 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

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

[–] SCmSTR@lemmy.blahaj.zone 14 points 4 days ago (1 children)

More like ffmpreg amirite?

[–] FooBarrington@lemmy.world 4 points 3 days ago

Is that the fork that converts regexes into mp4?

[–] Passerby6497@lemmy.world 5 points 3 days 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?

[–] answersplease77@lemmy.world 5 points 3 days ago

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

[–] felixwhynot@lemmy.world 4 points 4 days ago (1 children)

Why do you need to learn ffmpeg

[–] VibeSurgeon@piefed.social 11 points 4 days ago (2 children)

Wanting to do anything with video for one

[–] wreckedcarzz@lemmy.world 11 points 4 days ago* (last edited 4 days 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 4 days ago

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

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

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

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

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

[–] SkunkWorkz@lemmy.world 2 points 3 days 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.

[–] WolfLink@sh.itjust.works 0 points 2 days ago

YouTube and windows movie maker are almost certainly using ffmpeg.

[–] VibeSurgeon@piefed.social 1 points 4 days ago

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

[–] starchylemming@lemmy.world 9 points 4 days ago

don't let your dreams be dreams

create that ffm pegging video

[–] CubitOom@infosec.pub 2 points 4 days ago