spoiler

made you look

  • 0 Posts
  • 10 Comments
Joined 5 months ago
cake
Cake day: July 27th, 2024

help-circle

  • Pretty much, you can use something like ImageMagick’s compare tool to quickly check if the round trip produced any differences.

    It can be a bit muddled because even if the encoding is lossless, the decoding might not be (e.g. subtle differences between using non-SIMD vs. SIMD decoding), and it’s not like you can just check the file hashes since e.g. PNG has like 4 different interchangeable ways to specify a colour space. So I’d say it’s lossless if the resulting images differ by no more than +/- 1 bit error per pixel (e.g. 127 becoming 128 is probably fine, becoming 130 isn’t)


  • The funny thing is, I knew something was off because Windows was generating correct thumbnails for the output files, and at that time the OS provided thumbnailer was incapable of generating correct thumbnails for anything but the simplest baseline files.

    (Might be better now, idk, not running Windows now)

    That’s how I knew the last encoder was producing something different, even before checking the output file size, the thumbnail was bogus.


  • I found quite a lot of AVIF encoders lied about their lossless encoding modes, and instead used the normal lossy mode at a very high quality setting. I eventually found one that did true lossless and I don’t think it ever managed to produce a file smaller than the input.

    Turns out, that’s a well known issue with the format. It’s just another case where Google’s marketing makes AVIF out to be fantastic, but in reality it’s actually quite mediocre.



  • The_Decryptor@aussie.zonetoMemes@sopuli.xyzYouTube now vs then
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 months ago

    You can’t do normal BitTorrent in browsers, there’s no support for plain sockets that you’d need to communicate with other peers, WebTorrent is technically a new protocol that implements the BT semantics over stuff the browsers do provide (So you can proxy between the different swarms, that’s the “hybrid” nodes in the image on the WebTorrent page)

    But it turns out it’s all a moot point, since PeerTube removed WebTorrent support anyway in favour of their own P2P system

    Edit: Ok so I misunderstood, and it seems like it’s a bit complicated. The server can (it’s disabled by default) use WebTorrent to import videos, the client still uses the WT trackers to find peers but uses a different protocol to actually share the video data.

    There’s this tool that provides the ability to automatically seed videos, but development has stalled because no up to date client will ever make use of it.

    I think the one remaining use is the “download as torrent” option, but even then that’s just using a web seed, so it’s just an alternative way to download the video.



  • What’s the problem with that, though? Systems like that are pretty much guaranteed to be isolated from the internet.

    Because things break down eventually, and when it comes time to buy replacement parts you discover that they’re effectively impossible to find. Then instead of having a nice, planned transition period you’ve got like a weekend to cobble together something to get it working again.


    1. If your ISP doesn’t do IPv6, then you’re fine (But should look for a better ISP)
    2. If your ISP does do IPv6, then you should install the patch now (Unless you’re not using IPv6 on the LAN, in which case you’re fine but get a better router/sysadmin)
    3. If your ISP does do IPv6, but you can’t install the patch for whatever reason, only then should you disable IPv6

    The problem is people recommend disabling IPv6 for random unrelated reasons (Like gamers claiming it decreases your IPv4 latency), so yeah MS is going to be insistent that users not fiddle with things they don’t understand because it’s really unlikely they’ll go back and restore that config when it doesn’t actually help.