One-liner

563 points · 24 comments · view on lemmy.world

24 Comments

Gyroplast@pawb.social · 161 pts · 1y (3 replies)

What AI-generated, non-working, obviously incorrect garbage is this? Also, you want to define this as an alias to type the command 33% faster, too!

alias fc='ffmpeg -c copy -map 0:0 -f data - 2>/dev/null -i '

Amateurs.

kubica@fedia.io · 77 pts · 1y (2 replies)

Sigh, it's always "2>/dev/null" never "what is your problem 2?"....

TwilightKiddy@programming.dev · 34 pts · 1y (1 reply)

I call this part "shut up, tin can, I know what I'm doing".

Sometimes you just don't care about these 42 files find couldn't access. If I don't have permissions to read them, I'm not interested!

WhyJiffie@sh.itjust.works · 4 pts · 1y

bruh! take this, computer!! I didn't want to search them anyway!!!

I do the same thing too all the time

GissaMittJobb@lemmy.ml · 94 pts · 1y (4 replies)

ffmpeg is wild as far as tools go

idriss@lemm.ee · 75 pts · 1y (3 replies)

Yeah, there are massive projects that serve as a frontend to a subset of ffmpeg features.

rickyrigatoni@lemm.ee · 9 pts · 1y

Man who memorized the ffmpeg docs: Look at what they need to mimic a fraction of my power.

DasSkelett@discuss.tchncs.de · 4 pts · 1y (1 reply)

Like Firefox

(partially kidding)

idriss@lemm.ee · 4 pts · 1y

(I didn't want to name names so we will not have 79 levels of replies - "actually .." 🤣)

bappity@lemmy.world · 78 pts · 1y (3 replies)

my ass searching up any ffmpeg command every time I wanna run them instead of memorizing it or putting it in a text file to reuse

bamboo@lemmy.blahaj.zone · 26 pts · 1y (1 reply)

Just remember if you need to do anything with subtitles in FFMpeg, you need to install libass

axEl7fB5@lemmy.cafe · 4 pts · 1y

it for the streets

conartistpanda@lemmy.world · 5 pts · 1y

I do that with yt-dlp

hamFoilHat@lemmy.world · 72 pts · 1y

FFMPG/Linux, or as I've recently taken to calling it, FFMPG plus Linux.

gravitywell@sh.itjust.works · 46 pts · 1y (2 replies)

That doesn't work for me, but it also doesnt give me an error

Gobo@lemmy.world · 49 pts · 1y (1 reply)

Then it works. Just not in the way you wanted

gravitywell@sh.itjust.works · 2 pts · 1y

Well specifically it does not work "to display text files", it just silently exits.

th3f4ult@lemmy.blahaj.zone · 25 pts · 1y (1 reply)

You can also use ffmpeg to convert music and pictures! And to summon the devil into your kernel!

_stranger_@lemmy.world · 8 pts · 1y

How has BSD never had "Summon the devil into your kernel" as a slogan!?

ikidd@lemmy.world · 7 pts · 1y

Everything is valid Perl code.

dejected_warp_core@lemmy.world · 7 pts · 1y (1 reply)

Sweet jebus, it really can do anything. Just put it in the kernel already. /s

FauxLiving@lemmy.world · 3 pts · 1y

We're just waiting for the Rust re-write

Alph4d0g@discuss.tchncs.de · 6 pts · 1y

I don't have to use a perl script to view the contents of a file?

open(my $fh, '<', 'filename.txt') or die "Could not open file: $!"; while (my $line = <$fh>) { print $line; } close($fh);

Sick!

SpaceCadet@feddit.nl · 4 pts · 1y