GnuLinuxDude

joined 2 years ago
[–] [email protected] 11 points 1 week ago (2 children)

i guess the 90% marketing (re: linus torvalds) is working

[–] [email protected] 17 points 1 week ago (3 children)

A government policy isn’t just posturing because the state now has a rule to cite if they’re gonna issue you a fine or whatever the punishment is supposed to be. So you will either comply, or go underground or abroad. That’s a real consequence.

[–] [email protected] 13 points 2 weeks ago

The YT-DLP team by refusing to support DRM videos

If they did this they could be sued for the exact same reason Yuzu got sued: circumvention of DRM. That's a crime in the USA. Apparently.

[–] [email protected] 4 points 2 weeks ago (1 children)

Considering slavery is legal under the original constitution I would say “worker suppression” is DEFINITELY a founding principle of the US.

[–] [email protected] 24 points 2 weeks ago (3 children)

Firefox with like 10 different settings checkboxes unticked through its settings to disable phoning home, prevent sponsored suggestions, prevent recommendations, etc. + ublock origin extension installed, obviously.

It used to be just an install and go ordeal. Now you have to have all these caveats. I used to send technical and interaction to Mozilla but given their terms changes I can’t be confident in them with even that much information anymore.

Final thought is I don’t see what Mozilla’s endgame is. It costs a lot of money to develop a competitive and impactful web browser, I understand that much. Where are they supposed to get their money from? Well. I don’t get paid millions a year to solve this problem, but it seems pretty obvious the current leadership have made their minds up to make Firefox yet another advertisement browser.

[–] [email protected] 8 points 3 weeks ago (1 children)

As an entry-level subscription, the new tier won’t offer several benefits in the full YouTube Premium ($13.99 per month) subscription, like downloads, background play, or the ability to watch music videos ad-free.

I wonder how much electricity is wasted on this alone. Probably so many people leaving their screens powered on just to continue listening to something without it stopping.

[–] [email protected] 13 points 3 weeks ago

I've been paying for Mullvad for a while and didn't realize this was even a thing until this announcement.

[–] [email protected] 6 points 3 weeks ago (1 children)

This is the one program my dad explicitly uses in the Microsoft suite of programs that I thought, "Ok fine we'll keep paying for this shit." Time to start looking into alternatives. Microsoft... Even when I stop using their software they still cause me endless wasted time.

[–] [email protected] 3 points 4 weeks ago

The problem with Markdown is it kind of sucks. CommonMark didn't even defragment the markdown world, since there are numerous incompatible extensions. It seems like gfm is the best among them, or at least the most featureful.

I know there are other options like RST or AsciiDoc, but I don't know which among them is actually "the best."

[–] [email protected] 2 points 1 month ago

Pi-hole is one of my favorite pieces of software. It is the reason I began self-hosting six years ago.

[–] [email protected] 3 points 1 month ago (1 children)

Unfortunately I can't play around with it anymore because I live a thousand miles away from everyone I support who actually uses Jellyfin. My experience with the Android TV app was embedded SRT subtitle support is now 100% good as of late last year, but embedded PGS trips things up so much that I cannot use them.

[–] [email protected] 2 points 1 month ago (1 children)

Sublime never offered lifetime subscriptions. https://web.archive.org/web/20150928064400/http://www.sublimetext.com/sales_faq You can even see as far back as 2014 that if you purchased Sublime Text 2 when Sublime 3 was still in beta:

  • Upgrade Policy
    A license is valid for Sublime Text 3, and includes all point updates, as well as access to prior versions (e.g., Sublime Text 2). Future major versions, such as Sublime Text 4, will be a paid upgrade.
  • Expiration Date
    Licenses purchased for Sublime Text 3 do not expire, however an upgrade fee will be required for Sublime Text 4.

You can find that disagreeable, but it was not something they hid from us customers.

 

I have been encoding some videos in AV1 lately and I thought I'd share my technique for those who may wish to do some AV1 on their own without having a messy setup. I think this is a pretty clean way, ultimately, to use Av1an's Docker image.

A forewarning: AV1 can be pretty to slow encode with. I've been doing it with DVDs where the 640x480 resolution of the video means a frame can be processed relatively quickly, but videos in 1920x1080 or 4k resolutions might be pretty intense where the encode speed only ends up being a frame a second.

Forewarning pt. 2: Something I learned that I CANNOT rely on is trying a faster encode speed to guesstimate the resulting file size and picture quality and then really maximize my results by lowering the encode speed. My observation has been that a slower encode speed will in fact improve the picture quality (and file size), such that I cannot be sure what something will look like without just encoding a very short sample at a slow speed. OK. Let's begin.

Operating System & Environment

I am using Fedora Linux 38. I'd like to use the Av1an package but that only has an official Arch release. I definitely don't want to spend time compiling this myself, so I will use the official Docker image instead. And I won't use Docker, actually, but Podman. I also use the Fish Shell. Its syntax is very slightly different from Bash's.

Now, Fedora users may know about SELinux. And something that kept happening to me was the security context of some of the files I'm shuffling around my hard drives would end up being not correct, making Podman incapable of seeing the files I'm trying to use. So instead of fixing the context per file (annoying) I just temporarily disabled SELinux.

sudo setenforce Permissive

Container image

From here things are pretty straightforward. I'll pull the docker image, which has a full Av1an setup ready to go.

podman pull docker.io/masterofzen/av1an:master

One little note is that you should use the master tag. A confusing thing about this image is that the latest tag is the old python version, and we want the current Rust version.

Executing Av1an

Now, navigate to whatever directory your source video is in. In my case, I losslessly encoded the DVDs with Handbrake into h264 and passed through the audio/chapter markers, etc. This gave me a good source to work with, even though it was a little bloated in file size. I don't think Av1an accepts MPEG-2, which is why I did that.

First I'll explain what the Podman command is doing for those who aren't familiar with Docker/Podman, and then I'll give a full working example.

podman run -v "$(pwd)":/videos:z --userns=keep-id -it --rm docker.io/masterofzen/av1an:master -i sourcevideo.mp4 -s scenes.csv --pix-format yuv420p10le -o output.webm -v "--VIDEO_OPTIONS" --keep -a "--AUDIO_OPTIONS"

  • podman run - Execute a container
  • -v "$(pwd)":/videos:z - Mount the present working directory as /videos in the container, and the :z is an SELinux labeling thing that can be dropped for non-SELinux users.
  • --userns=keep-id - This flag helps keep the user id and group ids consistent between the host and container so that they don't get mangled. Your output file will belong to your user.
  • -it - Execute the command in a visible shell session
  • --rm - Remove the container (not the image, the container) when the command is done executing.

Final example

The rest of the flags are for Av1an itself, or for the encoders. So here's a full working example of how I used it, to encode with aomenc and Opus for the audio. Av1an uses aomenc by default.

podman run -v "$(pwd)":/videos:z --userns=keep-id -it --rm docker.io/masterofzen/av1an:master -i sourcevideo.mp4 -s scenes.csv --pix-format yuv420p10le -o output.webm -v " --cpu-used=3 --enable-qm=1 --threads=4 -b 10 --end-usage=q --cq-level=28 --lag-in-frames=48 --auto-alt-ref=1 --enable-fwd-kf=1" --keep -a "-c:a libopus -b:a 128k"

I think for an explanation for what individual flags do, and perhaps some guidance on how to use them effectively, I can only refer one to the guide written by Reddit user BlueSwordM https://www.reddit.com/r/AV1/comments/t59j32/encoder_tuning_part_4_a_2nd_generation_guide_to/

 

PipeWire 0.3.77 (2023-08-04)

This is a quick bugfix release that is API and ABI compatible with previous 0.3.x releases.

Highlights

  • Fix a bug in ALSA source where the available number of samples was miscaluclated and resulted in xruns in some cases.
  • A new L permission was added to make it possible to force a link between nodes even when the nodes can't see each other.
  • The VBAN module now supports midi send and receive as well.
  • Many cleanups and small fixes.
view more: ‹ prev next ›