linux

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

nekusoul, (edited ) in how do i efficiently attach audio to an image
@nekusoul@lemmy.nekusoul.de avatar

Since the end goal is to post a video to YouTube, you will have to create a video file. Personally I would probably just be lazy and upload the large file, since YouTube is going to reconvert the video anyway.

That said, to optimize the file you need to know how videos work, specifically key frames. Speaking generally, when a video gets encoded, it doesn’t add the whole image for each frame. Instead, it only does that when the current frame is a key frame, and then only stores the difference to the previous frame for every regular frame. There’s a lot of different strategies when placing keyframes, like every X seconds, when the scene changes, or both. This is usually you can change somewhere in the encoding settings of the application you’re using. You will need to use a codec/format that supports interframe compression though, so avoid AVI and MJPEG.

So the TL;DR is: Try to decrease the amount of key frames as much as possible, maybe even down to only one if possible.

gray, in how do i efficiently attach audio to an image
@gray@pawb.social avatar
luthis,

The answer is always ffmpeg

jackpot,
@jackpot@lemmy.ml avatar

im confused sorry, i tried the libx265 codec but the image still has blurry edges??

SGHFan, in Could 2024 be the year of the diagonal linux desktop?
@SGHFan@lemdro.id avatar

Perfect, just what I need if I set my laptop on my laptop stand the wrong way!

HexesofVexes, in Terminal Utility Mega list!

mocp - For when you want to listen to music in terminal.

gaael,

My personnal favorite is cmus Small, fast and powerful console music player

HexesofVexes,

Will give it a try!

Thanks for the recommend.

embed_me,
@embed_me@programming.dev avatar

I used to use cmus

Nachorella, in Terminal Utility Mega list!

I like the starship prompt. Not sure it’s really a utility, though?

jws_shadotak, in how do i efficiently attach audio to an image

Are you able to add it through the file properties menu?

jackpot, (edited )
@jackpot@lemmy.ml avatar

probably? would that be able to be sent to people / uploaded? how do i do this? linux mint btw

bloopernova, in Terminal Utility Mega list!
@bloopernova@programming.dev avatar

Possibly offtopic, I wrote a guide to setting up zsh on macOS: gist.github.com/…/0ffcb98aa262c585c49d4b3f3ae2401…

crunchpaste, in Terminal Utility Mega list!
@crunchpaste@lemmy.dbzer0.com avatar

Recently found out about ouch. Found it really useful for decompressing files in the terminal as I can’t seem to remember all the flags for tar, gzip, zip, rar and all the rest one may encounter which all seem to use different syntax.

wviana, in Terminal Utility Mega list!

Fpr tldr I do prefer tealdeer (rust) instead of the node implementation in the post

For tmux there are screen that is simpler, I mostly use in server. In my local I like to use zellij, that is a tmux like implemented in rust.

Don’t miss ripgrep. Really awesome/fast replacement for grep.

bananabattery,

I gave up on these tools for:

curl cheat.sh/fd

Replace fd with any command.

tastysnacks, in Terminal Utility Mega list!

Somewhat simple?!?! I feel the disrespect.

madnificent,

Emacs: “What if your Operating System and your text editor had a child.”

jonno, in Terminal Utility Mega list!

Ctop for container monitoring

danielquinn, in Is DNS Bloat too?
@danielquinn@lemmy.ca avatar
ajmaxwell,
@ajmaxwell@lemmy.world avatar

Thank you for this

jelloeater85,
@jelloeater85@lemmy.world avatar

Holy crap, this … This … Is very accurate…

youngGoku,

That’s a cat who knows his networks

cyberpunk007,

Holy fuck I forgot about this video. Classic.

pruneaue,

Why are catboys/girls and furries always the best at explaining stuff succinctly?? Lmao

frezik,

Maybe that skill is how they end up with suspiciously high amounts of money.

EuroNutellaMan,
@EuroNutellaMan@lemmy.world avatar

That or the fraud

ultranaut,

They run the internet now so they really know how it works.

funkajunk,
@funkajunk@lemm.ee avatar

At first I thought this was a joke, but it’s actually informative 🤔

faethon, in Terminal Utility Mega list!
@faethon@lemmy.world avatar

baca is a terminal based epub reader. Quite nice.

sailingbythelee,

I’ve been looking for a good TUI epub reader. I went to install it from the AUR and stopped when I saw it wanted to install 247 dependencies. Wow!

faethon,
@faethon@lemmy.world avatar

hmm, not sure why baca would need so many requirements. I installed baca using pip as per (github.com/wustho/baca), on a hedless ubuntu based server. Maybe on Arch it would need to install / update python packages?

You could also try epy (github.com/wustho/epy) which is also a terminal based epub reader.

sailingbythelee,

I didn’t go through every package, but a large number of the dependencies were related to Haskell.

And, yes, I did find epy. Tried it yesterday and it’s great! Thanks!

bizdelnick, in Terminal Utility Mega list!

You forgot cowsay.

naught,

cmatrix too!

GrundlButter,

Someone once showed me sl. Bless them.

naught,

AMAZING. Bless you

ooterness,

Cowsay should be installed by default on every distro.

Telodzrum, in Is DNS Bloat too?

If you can’t remember the IP address of every site you’d like to visit, you don’t deserve the internet.

CaptDust, (edited )

Pro tip, You don’t have to remember it. I have all my favorite IPs in a nice address book, keep it in my drawer next to my passwords

j4k3,
@j4k3@lemmy.world avatar

My DNS Rolodex is beside my slide rule and abacus.

andrew,
@andrew@lemmy.stuart.fun avatar

Ah yes. BIND v1.

snaggen,
@snaggen@programming.dev avatar

My company actually used a whiteboard instead of a DNS for our internal network. We used it as a temp solution during setup, then 5 years later it was still in use. It worked quite well.

user224,
@user224@lemmy.sdf.org avatar

Unironically, I used to remember 3.
2 for servers with internet radios and 1 for google. But I forgot. Except 149.13.0.82.

hihellobyeoh,

I remember 1 of the Google dns ones, only because when trouble shooting network issues it is my go to ip to ping so I know the instant I am connected again.

user224,
@user224@lemmy.sdf.org avatar

Oh, I forgot about DNS servers. Then I remember:
8.8.8.8 - Google
9.9.9.9 - Quad9
1.1.1.1 and 1.0.0.1 - Regular Cloudflare
1.1.1.2 and 1.0.0.2 - Cloudflare “Malware blocking”
1.1.1.3 and 1.0.0.3 - Cloudflare “Malware and adult content blocking”
45.90.30.180 and 45.90.28.180 - NextDNS

And I think 2960:fe::fe is also Quad9, but I’ll have to check. Nope, it’s 2620:fe::fe. So just the ones above.

bionicjoey,

Oh, you like the internet? Name every IP address!

Klear,

127.0.0.1

mons,

0.0.0.0/0

Don’t even get me started with IPv6!

Synthuir, (edited )

I know this one! All credit goes to FauxPseudo@lemmy.world


<span style="color:#323232;">"^s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])){3}))|:)))(%.+)?s*$"
</span>
bionicjoey,

That is a forkbomb and you can’t convince me otherwise

SteveTech,

I can’t say it isn’t a fork bomb, but it does happen to match IPv6 address with regex.

regexr.com/7prgg

umbrella,
@umbrella@lemmy.ml avatar

i dare you to run it

Dirk,
@Dirk@lemmy.ml avatar
Synthuir,

Thanks for the heads up, let me know if it’s fixed now.

Dirk,
@Dirk@lemmy.ml avatar

Looks fine 👍

Hotzilla,

GPT4 was able to explain that

Mixel,
@Mixel@szmer.info avatar

Always have a few paperstickers with My favourite webpages.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #