Linux

This magazine is not receiving updates (last activity 51 day(s) ago).

MangoPenguin , in Handbrake/ffmpeg: What free video codec to use for 720p videos?
@MangoPenguin@lemmy.blahaj.zone avatar

I'd say it depends on what your hardware supports for encoding and for playback.

Best quality at small size = AV1

Good with decent support = h265

Best support = h264

digdug ,

The viewing options OP listed should all work with AV1, I think they were just worried by the preset names. Plus, hardware support should only get better.

OP, you should be able to adjust settings after you select a preset, so you can pick different dimensions/frame rates/audio codecs/etc.

Side note, I've found that the matroska container is the easiest one for me to use if I want better subtitle support.

MangoPenguin , in Debian maintainer unilaterally strips KeepassXC package of a lot of features
@MangoPenguin@lemmy.blahaj.zone avatar

Aren't the networking features just toggles in the settings already? I remember seeing several of the mentioned features in there.

federalreverse OP ,

Yes, these are off-by-default features.

bamboo , in Debian maintainer unilaterally strips KeepassXC package of a lot of features

This is the kind of crap that makes me glad flatpak and such exist. I don’t want a maintainer making arbitrary decisions like this, it adds unpredictability and platform inconsistency.

A similar issue I face is that on Debian the python stdlib well.. isn’t all standard. In particular they split off the venv package, and it’s an extra step that adds unnecessary complication. No other Linux distros or other OS do this, it’s so frustrating. I guess someone is super happy they saved a few hundreds kilobytes of disk space though.

moonpiedumplings ,

I guess someone is super happy they saved a few hundreds kilobytes of disk space though.

Yes. All the people basing docker images off if debian, and trying to get them as small as possible. The splitting up of packages, allows people to only pull in what they need.

bamboo ,

Sorry I was way off in my assumption that the venv package is a few hundreds kilobytes. apt is reporting 6144 bytes. 6 kilobytes. Installing python on the base bookworm image is 38.3MB. If you’re already installing python, it’s a rounding error. Also they have a separate python3-minimal package (which saves a laughable 200kb), why are they de-featuring the regular python version when they also have a separate minimal version? It makes zero sense. The python3 package should contain the entire python standard library. If it were supposed to be an addon, it wouldn’t be part of the standard library.

moonpiedumplings ,

The python3 package should contain the entire python standard library

You are free to use a distro which does not split packages, favorite distro, Arch Linux (btw).

Or, you can install the recommended dependencies of python3. Testing in a container, the python3 package pulls:

root@a72bd55a3c1a:/# apt install python3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  ca-certificates krb5-locales libexpat1 libgpm2 libgssapi-krb5-2 libk5crypto3
  libkeyutils1 libkrb5-3 libkrb5support0 libncursesw6 libnsl2
  libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libreadline8
  libsqlite3-0 libssl3 libtirpc-common libtirpc3 media-types openssl
  python3-minimal python3.11 python3.11-minimal readline-common
Suggested packages:
  gpm krb5-doc krb5-user python3-doc python3-tk python3-venv python3.11-venv
  python3.11-doc binutils binfmt-support readline-doc
The following NEW packages will be installed:
  ca-certificates krb5-locales libexpat1 libgpm2 libgssapi-krb5-2 libk5crypto3
  libkeyutils1 libkrb5-3 libkrb5support0 libncursesw6 libnsl2
  libpython3-stdlib libpython3.11-minimal libpython3.11-stdlib libreadline8
  libsqlite3-0 libssl3 libtirpc-common libtirpc3 media-types openssl python3
  python3-minimal python3.11 python3.11-minimal readline-common
0 upgraded, 26 newly installed, 0 to remove and 18 not upgraded.

python3-venv python3.11-venv

I find it odd, because debian does this by default, actually. They account for usecases like yours, and instead you have to edit a config file or use a command line flag to get it to not install recommended dependencies.

bamboo ,

I do this stuff for work, unfortunately I don’t have the flexibility to choose here.

Morphit ,
@Morphit@feddit.uk avatar

I find it odd, because venv is a "Suggested package", actually. It isn't in the list of new packages that will be installed with python3 by default.

I think the next major release of apt is supposed to be easier to read. Unless Debian neuter it.

Dirk ,
@Dirk@lemmy.ml avatar

If you base your Docker images on a full distribution then that is entirely your fault. People usually use specialized distributions for that.

You could even bootstrap your needed tooling from Busybox.

bamboo ,

Debian or Ubuntu are usually the best choice if you depend on glibc. Alpine is definitely more compact but musl isn’t always an option.

Takios ,
@Takios@discuss.tchncs.de avatar

I don't think many docker images out there will have keepassxc installed though.

Dirk ,
@Dirk@lemmy.ml avatar

This is the kind of crap that makes me …

… not use Debian.

bamboo ,

It’s work, I don’t get much of a choice here. I do get paid for the hassle though.

the16bitgamer , in Handbrake/ffmpeg: What free video codec to use for 720p videos?
@the16bitgamer@lemmy.world avatar

Look at the compatibility of the device you are running it on. Older hardware like the PlayStation Vita, will only work with H.264 AAC.

Handbranks is able to convert this for you with no issues (even on Linux flatpak ftw), and web playback on a Apache2 server is great. But if your planning on watching it on more modern devices, then don't worry too much about it.

Phanatik , in superfile - A pretty fancy and modern terminal file manager

Looks great, I'll give it a bash

exu , in Handbrake/ffmpeg: What free video codec to use for 720p videos?
@exu@feditown.com avatar

If you want hardware decoding, first check what your gpu actually supports. vainfo can be used on Linux for example.

If you have a very new gpu, it might support av1 decoding. This is currently the best codec and alsi free.

Otherwise I'd prefer hevc and then avc, in that order. Vp8 or vp9 might also be supported, but they never caught on much so encoders and decoders are generally worse for them than the equivalents for other codecs.

I don't know any private person who was prosecuted for using hevc or avc. Most likely your hardware manufacturer and other companies already paid for the license to use hevc/avc. If you live in the EU it's even less of a problem as software patents are not a thing here, i.e. you can't patent a way to do things.

Foe audio opus is the best codec at the momenr.

Please make sure to compare the quality before and after decoding. Even using a more efficient codec I'd be wary of a 300mb sized movie.

boredsquirrel OP ,

Yes I do. Quality level 50 is for sure too low, but AV1 had 80MB, h264 had 120MB, quite nice.

I will try further and see what is best. Using AV1, opus and mkv

DaGeek247 ,
@DaGeek247@fedia.io avatar

Gpu encoding is terrible for anything that isnt fast encoding speeds. Best to use the cpu since this isnt for a live environment.

exu ,
@exu@feditown.com avatar

Totally agreed, but you'd still want gpu decoding.

velox_vulnus , in Debian maintainer unilaterally strips KeepassXC package of a lot of features

There's this assumption that these features in some way create some exploitable security issue.

I get the theory behind it: more code and more interoperability and more features &etc. generally leads to more bugs than the alternative, sure.

But there's also a line beyond which that principle stops making sense from a practical standpoint. Like, I could put my laptop into a furnace and melt it into slag. Now it will have no features, and that will make it very secure!

Lmao

lemmyvore , in Debian maintainer unilaterally strips KeepassXC package of a lot of features

They didn't "strip" anything, they've split it into 2 variants, a package without networking features (-DWITH_XC_NETWORKING=OFF) and a package with them, because it's considered a privacy issue to have your password manager phone home and fetch favicons and so on. The packages will be called keepassxc and keepassxc-full going forward.

tinsuke ,
@tinsuke@lemmy.world avatar

KeepassXC replied on that thread that it wasn't just the privacy problematic networking that was removed:

that bug report is bunk. He removed ALL features, not just networking. That includes yubikey support, auto-type and browser integration.

https://fosstodon.org/@keepassxc/112417651131348253

lemmyvore ,

I expect the KeepassXC people are mostly bothered by the naming of the package because the version called "keepassxc" is now the basic one. Anyway, the maintainer has offered to call them -minimal and -full and to make "keepassxc" a metapackage that pops up a debconf dialog telling users that install it to choose one. There is precedent with other complex packages that are split into basic and full. This should solve things nicely for everyone.

PlexSheep ,

That sounds reasonable. I use the package on LMDE6, the one currently in stable though. Having a minimal keepassxc and a full one makes sense to me.

federalreverse OP , (edited )

Afaiu it, he added a second package with (quote) "all the crap" later, after the storm.

And no, it wasn't just the favicons feature that was removed (which like ... is that really such a big privacy issue that you need to remove it from the binary?). Support for Yubikey was removed as well — which is not a privacy issue. The reasoning mentioned by the Debian maintainer is that all of these features might turn out to be security issues in the long run. Thus, in his view, a password manager application must do nothing but provide access to the database within the app.

I find it an interesting example of diverging upstream, maintainer, and user interests in any case.

lemmyvore ,

I find it a lot of unnecessary fuss over unstable. Sid is supposed to make breaking changes, you offer feedback and you follow it through politely. The next Debian stable is one year away, this is not an urgent matter

taladar ,

There are so many people who think sid is a distro when really, as far as the Debian project is concerned, it is a staging ground.

lambalicious ,

And no, it wasn’t just the favicons feature that was removed (which like … is that really such a big privacy issue that you need to remove it from the binary?)

Fetching a favicon means raising a network connection with a predictable endpoint. That's already three concerns (four on the modern internet) to handle security-wise, and it's absolutely an unneeded feature. Favicons could just be shipped on something like keepassxc-data or keepassxc-contrib to handle locally, no need to raise a network call.

breakingcups ,

I highly recommend reading the Github thread as this is not at all an accurate representation. These features you're talking about are off by default. Removing them from the existing package is just breaking existing users. There's already a report from a user who can't access their passwords because yubikey support was suddenly removed. You don't do that to users just because you suddenly develop an opinion as a package maintainer that you feel is important. There was no dialogue, no consideration and a very rude, dismissive attitude of Julian.

https://github.com/keepassxreboot/keepassxc/issues/10725

lemmyvore ,

There's already a report from a user who can't access their passwords because yubikey support was suddenly removed.

Yeah, well, this is Sid. It's called unstable for a reason. You have to read the changelogs or bad things will happen.

By the time it lands in stable it will most likely have a debconf dialog warning users and letting them transition smoothly to the version they want.

themachine , in Debian maintainer unilaterally strips KeepassXC package of a lot of features

Ah, I was wondering why I couldn't get it to detect my yubikey. I saw keepassxc-full in the repo but that also didn't seem to work. I'll have to revisit it.

Hawke , in LibreOffice 7.6.7 Is Here as the Last Update in the Series, Upgrade to LibreOffice 24.2

What a confusing headline.

TheGrandNagus , in Can't figure out how to get Plank working on Wayland

The Dash to Plank dev doesn't want to support Wayland. You could use Dash to Panel instead, that's been the community favourite for years now.

Or of course you could use the standard Gnome workflow.

LainTrain OP ,

I've never heard of either of these things and I've been in the community for decades, cheers.
I only use Plank itself, not dash-to-x anything. I've no idea what that even means tbh as I'm an i3 user usually so I've been out of the GNOME game for a bit.

leopold ,

if you're coming from i3, you may want to check out Sway instead.

blakeus12 , in Tips/tricks for beginners
@blakeus12@hexbear.net avatar

learn how to use the command line. spend a week or so getting used to doing file operations like moving, copying, extracting, etc on the CLI to get a feel for it.

Altomes , in Can't figure out how to get Plank working on Wayland
nfsu2 , in superfile - A pretty fancy and modern terminal file manager
@nfsu2@feddit.cl avatar

Oy! You rick rolled us.

wildbus8979 , in Can't figure out how to get Plank working on Wayland

Dash-to-Plank specifically says it does not support Wayland. Plank has had an issue open about Wayland support since 2016, and they still haven't done it. Can't blame Wayland.

What's your use case for Plank? My guess is you're using GNOME wrong.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

Lemmy never fails to surprise me with its toxicity.

taladar ,

"you're using it wrong" seems more like the official motto of Wayland whenever anything that isn't working on it is brought up.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

Ikr

0oWow , (edited )

I wouldn't blame Lemmy for a few bad apples like Wildbus though. There are plenty of good people here.

GolfNovemberUniform ,
@GolfNovemberUniform@lemmy.ml avatar

I don't blame Lemmy even though the official instance (and therefore devs) is kinda sus. They even delete discriminatory comments that I report quite quickly. The thing is that I see toxic comments all the time and what surprises me is that often they're replies to non-provoking and absolutely reasonable posts/comments (this case is not anywhere near the worst I've seen). That means the people behind them are just very aggressive which still hurts me a lot even though I lost hope for humanity quite some time ago. I guess I see a bit more % of them in the wild than you do for some reason

LainTrain OP ,

What is Dash-to-Plank? I just use Plank the dock app.

wildbus8979 ,
  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • kbinchat
  • All magazines