• 0 Posts
  • 49 Comments
Joined 1 year ago
cake
Cake day: June 5th, 2023

help-circle
  • Unless your initial recordings were lossless (they probably weren’t), recompressing the files with a lossless flag will only increase the size by a lot. Lossless video is HUGE, which is why almost no one actually records/saves it. What you’re probably looking for is visually lossless transcoding, where you do lose some data, but the difference is too small for most people to notice.

    My recommendations:

    1. Go to your recording software and change the setting to better compress your videos the first time around. Compressing once generally gives a better quality to size ratio than compressing twice. It’s therefore best if your recording software get it right first time, without you having to keep on recompressing your videos.
    2. When tinkering with encoding setting, trying to find what works best for you, it might be useful to install Identity to help you compare the original files and one or more transcoded version(s).
    3. Don’t try to recompress the audio; you’ll save very little space, and the losses in quality become perceptible much faster than video. When using ffmpeg, the “-c:a copy” flag should simply copy the original audio to the new file, without any change in quality or size
    4. I’d recommend taking some time to read through the ffmpeg encoding guides. H265 and AV1 are good for personal archiving, with AV1 providing better compression ratios at the cost of much slower encoding. You could also choose VP9, which is similar in compression ratio and encoding speed to h265.
    5. You’ll have to choose between hardware and software encoding. Hardware encoding can (depending on your specific hardware and settings) be 10-100x faster than software, but software generally gives better compression ratios at similar qualities. You should test this difference for yourself and see if the extra time is worth it for the extra quality. Do keep in mind that AV1 hardware encoding is only supported by some of the most recent GPU’s (rx7000 and rtx4000 from the top of my head). If you don’t have one of those GPU’s, you’ll either have to choose software encoding or pick a different codec.

  • Source: Gapminder, cited as source by the above graph as well

    Funny how much the graph changes when you have more than 1 data point per decade every decade. Almost makes me wonder whether the creator of the above graph was trying to paint a certain picture instead of presenting raw data in a way that makes it easier to grasp, without bias.

    Notice the inflection point where Mao implements the “great leap forward”. Also notice other countries’ similar rates of increasing life expectancy in the graph below, just without the same ravine around 1960.

    I’m sorry, but I have to disagree with (what I think to be) your implicit claim that Mao somehow single-handedly raised China’s life expectancy through the power of communism or whatever. Please do correct me if this wasn’t your implicit claim, and if you we’re either 1) yourself mislead by the graph you shared, or 2) you have some other claim entirely that is somehow supported by said graph.



  • Maxy@lemmy.blahaj.zonetoMemes@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    24
    arrow-down
    5
    ·
    edit-2
    1 month ago

    Not to be an unfunny nitpicker (I don’t know why I’m denying this, that kinda the whole point), but all iphones do have lossless audio streaming via AirPlay. I’m assuming that you specifically meant Bluetooth streaming, but then you should’ve said so. Furthermore, normal aptx isn’t high resolution, only aptx HD and aptx adaptive are. The phone does support aptx HD as well, but once again, you could’ve said so from the start (though 3 characters more or less might make a significant difference to most memes, this one certainly wouldn’t have had that problem)


  • I’ve had good experiences with whisper.cpp (should be in the AUR). I used the large model on my GPU (3060), and it filled 11.5 out of the 12GB of vram, so you might have to settle for a lower tier model. The speed was pretty much real time on my GPU, so it might be quite a bit slower on your CPU, unless the lower tier models are also a lot faster (never tested them due to lack of necessity).

    The large model had pretty much perfect accuracy (only 5 or so mistakes in ~40 pages of transcriptions), and that was with Dutch audio recorded on a smartphone. If it can handle my pretty horrible conditions, your audio should (hopefully) be no problem to transcribe.


  • It depends what you’re optimising for. If you want a single (relatively small) download to be available on your HDD as fast as possible, then your current setup might be better (optimising for lower latency). However, if you want to be maxing out your internet speeds at all time and increase your HDD speeds by making the copy sequential (optimising for throughput), then the setup with the catch drive will be better. Keep in mind that a HDD’s sequential write performance is significantly higher than its random write performance, so copying a large file in one go will be faster than copying a whole bunch of random chunks in a random order (like torrents do). You can check the difference for yourself by doing a disk benchmark and comparing the sequential vs random writes of your drive.


  • Maxy@lemmy.blahaj.zonetoSelfhosted@lemmy.worldData HDD with SSD catch drive
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    2 months ago

    qBittorrent has exactly the option you’re looking for, I believe it’s called “incomplete download path” in the settings, letting you store incomplete downloads at a temporary path and moving them to their regular location when the download finishes. Aside from the download speed improvement, this will also lead to less fragmentation on your HDD (which might be part of the reason why it is so slow when downloading directly to it). Pre-allocating space could have the same effect, but I would recommend only using one of these two solutions at once (pre-allocating space on your SSD would only waste space)


  • It’s possible for a certain hardware/software setup not to support a certain codec. For example, my jellyfin client (Finamp) uses the iOS native decoders (afaik), which means opus files are practically broken. My music library (8000+ songs) contained exactly 1 lossy file, which just so happened to be an opus file. I decided to spend the extra ~20MB to standardise my entire library to flac files, ensuring I could play every song on all my devices.

    Edit cause I posted too soon: you are generally correct; only in very specific circumstances will you encounter compatibility issues like this one in the modern world. This is 100% apple being apple, and you can expect pretty much every other (reasonably modern) device to support all codecs you might encounter in the wild.


  • To add to the audio compression: it isn’t possible to further compress an mp3 file without losing any quality. You can either:

    1. Recompress to a lossy codec (mp3, aac, opus). This will lead to smaller file sizes if you set the bitrate lower than that of the input file, but it will always worsen the quality, no matter the bitrate.
    2. Recompress to a lossless format (flac easily being the best one). Going from a lossy to a lossless format will increase the file size (sometimes by quite a substantial amount), while keeping the same quality. There is very little reason for you to do this
    3. keep the original files (my recommendation)

    If you’re willing to spend some extra time learning about audio compression, you can download lossless files and compress those directly to whatever format and bitrate you want. The quality will be better than option 1 above, as the audio is only lossely compressed once instead of twice.




  • Maxy@lemmy.blahaj.zonetoMemes@lemmy.mlviolently cries and sobs
    link
    fedilink
    arrow-up
    57
    arrow-down
    2
    ·
    3 months ago

    “cis” and “trans” are prefixes denoting on what “side” something is. “cis” means “on this/our side”, while “trans” refers to “the other side”, for example:

    1. “Cisalpina” is how the Romans referred to their side of the Alps (modern day Italy), while “Transalpina” referred to land on the other side of the alps.
    2. There exist certain pairs of molecules with either a “cis” or “trans” prefix, depending on whether certain identical groups are on the same side or on opposite sides, respectively.

    The modern use of “cis” and “trans” is generally about gender. A cisgender person is someone whose gender identity aligns with their sex assigned at birth, while a transgender person is someone for whom that doesn’t hold true.

    In this meme, the person on the right is wearing a transgender flag for a shirt, and presumably offending the cisgender person on the left by calling them cis. The meme is making fun of the fact that some cisgender people consider “cis” an insult, when it really only is a neutral and non-offensive description.


  • To change the ownership of the files, you should only have to run sudo chown -R user:group directory. -R makes chown run recursively, so it will modify the directory and all subdirectories and files. Do note that changing the ownership to plex:plex or something similar would leave your user unable to normally modify the files. My solution to this was to add both my regular user and the plex (in my case jellyfin) user to the same group. That way both users can easily see and modify the files, as long as the group has read/write permissions (the 2nd column of rwx in ls -Al). If necessary, you can add group permissions with sudo chmod -R g+rw directory.

    On a side note: have you considered using jellyfin? It’s a completely free alternative to plex, which recently received a truly massive update with tons of new features. Some people prefer plex’ overall experience, but I’ve been running jellyfin with almost no complaints.

    Small disclaimer: I’m writing from mobile, so the commands might not be 100% correct. Run at your own risk, and NEVER POINT A CHMOD/CHOWN COMMAND AT SYSTEM DIRECTORIES LIKE / OR /USR. That’s one of the easiest ways to completely break your system.







  • Interessante analyse, al heb ik (als mede links-progressieve rakker) wel een paar kleine opmerkingen:

    • Verlagen van lasten door een schijf toe te voegen klinkt heel leuk, maar ik ben heel benieuwd hoe ze dat willen combineren met de extra uitgaven voor kinderopvang, de halvering van het eigen risico en de 4.7 miljard bezuiniging. Misschien blijkt dit kabinet over een klein legertje briljante economen te beschikken die deze extra uitgaven (zonder duidelijke extra inkomsten) in goede banen weten te leiden, maar tot nu toe hebben niet alle partijen (kuche BBB kuche) blijk gegeven van dat economische inzicht.
    • De 130km/h is alleen “waar mogelijk”, wat dat ook precies mag betekenen. Marginaal minder slecht, maar nog steeds een verergering van het stikstofprobleem die we echt niet nodig hebben.
    • Het schrappen van subsidies voor elektrische auto’s had ik wel aan zien komen, maar ik zou het toch zeker in de categorie “erg jammer” plaatsen. Als hun plan is om het OV zo verschrikkelijk goed te regelen dat auto’s overbodig worden vind ik het helemaal prima, maar met de VVD aan boord betwijfel ik dat. Elektrische auto’s zijn niet perfect, maar wel een flinke verbetering ten opzichte van auto’s met een verbrandingsmotor; het zou dus mooi zijn als meer mensen die overstap kunnen maken.

    Om dan nu wat van het artikel af te dwalen:

    • In de peilingen van eergisteren staat de PVV op 47 zetels, dus 10 zetels winst. Ik ben eerlijk gezegd best verbaasd dat ze zo veel lijken in te leveren, gezien zij de enige partij zijn die baat zou hebben bij herverkiezing (VVD -6, NSC -12, BBB -1). Ondanks dat leek de onderhandelingspositie van de NSC haast de sterkste van de 4; je kan veel zeggen over Omtzigt, maar hij lijkt een ijzersterke onderhandelaar.
    • Ik ben positief verrast over het ontbreken van voorstellen omtrent de LHBTI+ gemeenschap (voornamelijk transgender personen). Na de enigszins achterbakse motie om de transgenderwet in te trekken had ik wel iets in het akkoord verwacht. Overigens heeft NSC het kleine beetje respect dat ik voor hen had verloren door die motie in te dienen. Is dit de fraaie politiek die NSC beweert te willen beschermen?
    • Ik ben heel benieuwd hoe dit kabinet de EU een beetje te vriend wil houden. Aan de ene kant zou het kunnen dat ze haar handen al zo vol heeft aan Orban dat het kabinet vrijuit krijgt. Aan de andere kant zie ik het ook wel gebeuren dat ze alles dat in de globale richting van een 2e Hongarije gaat in de kiem smoort.
    • Mijn levensverwachting voor dit kabinet is iets minder dan 2 jaar. Omtzigt lijkt het hele proces lang bereid geweest te zijn uit de formatie te stappen; wie weet doet hij dat alsnog. Ik zie het ook gebeuren dat de PVV plotseling een ruggengraat krijgt en het kabinet laat klappen omdat de migratieregels alsnog niet ver genoeg gaan (flashbacks naar Rutte-I en Rutte-IV).

  • I believe SSD’s don’t actually experience wear when reading data, only when writing. Loading more data from SSD’s shouldn’t cause any premature failure. Overwriting more data each update could cause the drive to fail slightly earlier, but if that’s really that big of a concern, you’d be best of moving to Debian stable (no updates means no SSD writes).

    If SSD wear prevention is really that big of a concern, you might be interested in profile-sync-daemon (https://wiki.archlinux.org/title/Profile-sync-daemon). It reduces writes to hard drives by keeping your browser profile in RAM, and only periodically syncing it to disk.

    Though I must add that SSD’s wearing out really isn’t that much of an issue with modern drives. With normal usage, a drive will become obsolete long before it actually wears out.