3 comments

  • midnightclubbed1 hour ago
    This codec would have been great 27 years ago! I suspect it wouldn&#x27;t have gotten past the patent lawyers in 1999 though. It seems cute today but the entire codec space was a patent minefield, the N64 mp3 decoder was implemented twice (once based on the reference codec, once clean) with Nintendo&#x2F;Rare then paying RAD game tools to license their decoder... of which none of their code was used but they had a license from the mp3 patent holder (Fraunhofer) which then shielded Nintendo from lawsuits. Fraunhofer wanted something like $250k to license directly which wasn&#x27;t going to fly.<p>I&#x27;ll also note the frame rate issues in Conker were mainly down to raw RDP fillrate issues, which was for sure the weakest part of the N64 hardware, it could draw beautiful triangles (for the time) but oh so so slowly. There was a decent amount of speech during gameplay using the RSP mp3 codec. The cartridge size was still an issue, 64Mb got a good amount of mono speech but was still very much at a premium.
    • xxpor1 hour ago
      &gt;It seems cute today<p>Maybe in audio, but video still seems like an absolute nightmare. Look at the absolute silliness with like having to pay $.99 to play h265 video in Windows.
      • jcalvinowens23 minutes ago
        AV1 is royalty free and better!<p>Real example, I recorded the world series using an ATSC antenna, and I re-encoded a 90 second sample using a bunch of different settings on a 32-thread znver5:<p><pre><code> # Codec Flags Size Speed - ----- ----- ---- ----- Original (Raw ATSC mpeg2video) 77MB (100%) N&#x2F;A 1 libx265 -preset veryslow -crf 24 37MB (48%) 0.245x 2 libsvtav1 -preset 3 -crf 44 36MB (25%) 1.87x 3 libsvtav1 -preset 1 -crf 35 19MB (25%) 0.556x </code></pre> (NB: The same CRF results in a higher quality video at slower presets, this was for archival so we&#x27;re using the some of the slowest presets).<p>(1) and (2) are completely indistinguishable from the original unless I go frame by frame looking for transient motion artifacts. (3) is only distinguishable in one shot where a dark background was washed out. Not only does AV1 produce results just as good as H265, it encodes quite a bit faster for the same size&#x2F;quality.<p>That said, I&#x27;ve watched so much h264-encoded video over the past decade I think I&#x27;ve been trained to perceive the subtle visual &quot;snow noise&quot; as a sign of a high quality video: I find how AV1 blends backgrounds more visually objectionable than the dithering in H265, even though I think it&#x27;s objectively higher fidelity. Similar to how I find high frame rate video &quot;fake&quot; after having watched NTSC TV for the first half of my life.<p>These were the CRFs necessary to get the same visual quality with H265 at faster presets and the resulting sizes:<p><pre><code> hevc-slower-24 37MB (used above) hevc-slow-21 56MB hevc-medium-20 57MB hevc-faster-19 52MB hevc-veryfast-18 60MB</code></pre>
      • alala-lala-lon1 hour ago
        [dead]
  • pona-a1 hour ago
    Beautiful! I long wanted to write my own audio codec, this might be a nice challenge.
  • pferdone1 hour ago
    Sorry but what? Half-Life on an N64?? it looks incredible!
    • everdrive1 hour ago
      There&#x27;s an explosion of N64 ports lately, with a huge mix of new libraries (libdragon) pure fan passion, and LLM assistance.<p>Some I&#x27;m tracking:<p>- Duke Nukem 3D (ie, the fully-functional PC version) <a href="https:&#x2F;&#x2F;github.com&#x2F;BigChat88&#x2F;N64DukeNukem3DPort" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;BigChat88&#x2F;N64DukeNukem3DPort</a><p>- Portal 64 Still alive <a href="https:&#x2F;&#x2F;github.com&#x2F;mwpenny&#x2F;portal64-still-alive" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mwpenny&#x2F;portal64-still-alive</a><p>- Resident Evil 64 (ie, not RE2, but the first one) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_xRiwy8Z6S0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_xRiwy8Z6S0</a><p>- Silent Hill (still an early WIP) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=v7fM06jmHso" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=v7fM06jmHso</a><p>I haven&#x27;t personally tested, but these look interesting:<p>- Simpsons Arcade <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=zH9JYQVzKDE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=zH9JYQVzKDE</a><p>- X-men Arcade <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ah3nB8MP4CM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ah3nB8MP4CM</a><p>- TMNT Arcade Collection <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=CiR5-ZpLtyI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=CiR5-ZpLtyI</a><p>At this point, they&#x27;re coming out faster than I can play them. I&#x27;m in the middle of the 2nd Episode of Duke 3D right now and it&#x27;s quite nice. The original 64 version was always fun, but mid-level saves are really a game changer.
      • haunter1 hour ago
        &gt; There&#x27;s an explosion of N64 ports lately<p>There&#x27;s an explosion of ALL ports lately. It&#x27;s crazy.<p>Ocarina of Time only got released today officially but it&#x27;s already playable on ARM Macs. It&#x27;s not even a port per se but executing the Switch ARM code natively. And of course it&#x27;s also playable on emulators regardless of the platform