Navigation überspringen
GB Interceptor v1.2.0 is out now!
0:00 / 0:52

GB Interceptor v1.2.0 is out now!

Sebastian Staacks

@diconx3119 Follower

Auf X besuchen
1.030 LikesHerunterladenOriginalbeitrag

74.660 Aufrufe

GB Interceptor v1.2.0 is out now! - MJPEG encoding - Full MacOS support - 60fps mode (almost the same as the last beta)

28 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von MVG

    @ModernVintageG

    fantastic work! looks like i need to update my video ;)

    22 Likes

  • Profilbild von Konrad Beckmann

    @kbeckmann

    Woah, real-time 60 FPS MJPEG encoding on the RP2040? That sounds awesome. I didn't really understand the details in the PR discussion though, is it true lossless and used sort of as a container format in order to utilize the bits more efficiently vs. raw NV12?

    6 Likes

  • Profilbild von Sebastian Staacks

    @diconx

    Yes, it is lossless and abusing JPEG as a container. The trick is to encode the image at 8 times its original size, so each 8x8 unit of the JPEG is just one Game Boy pixel. This way I only need to encode the DC component, can stick to a grayscale channel and use Huffman encoding.

    12 Likes

  • Profilbild von Sebastian Staacks

    @diconx

    It is mostly about being able to ignore colors and setting up a Huffman table to encode the few shades of gray in four bits. One more bit sets AC components to zero and so the encoding achieves five bits per pixel. (Still annoying as the Game Boy only has 2 bits per pixel.)

    5 Likes

  • Profilbild von Konrad Beckmann

    @kbeckmann

    That’s clever, I love it!

    1 Like

  • Profilbild von Sebastian Staacks

    @diconx

    That's mostly Ikadzuchi's idea from the PR. Oh, and most of the encoding is done by chained DMAs and a few PIO state machines working in parallel to feed the result back into chained DMAs. So, the CPU only takes a few pixels once in a while and shoves them into this pipeline.

    8 Likes

  • Profilbild von pkerga_bzh

    @pkerga22

    Thanks a lot I'll test it as soon as I come black home

    2 Likes

  • Profilbild von Frank Cifaldi

    @frankcifaldi

    Hi Sebastian, I couldn't find this on the readme, website or Reddit so apologies if I missed it: what are the cable requirements for this? I know it is USB-C but my use case needs extra length, is it required that I get an "active" cable for 4k video or is a data cable enough?

    1 Like

  • Profilbild von Sebastian Staacks

    @diconx

    The Interceptor uses an rp2040 that only has USB1.1, which is the reason why getting 60fps was so difficult in the first place. The upside is that long or bad cables should not be much of an issue. However, busy hubs and multiple devices on the same bus might be problematic.

    5 Likes

  • Profilbild von Frank Cifaldi

    @frankcifaldi

    Ah that's great news for me, thank you!

  • Profilbild von Shane

    @ottersdangerden

    @GameTradeGregg another neat project

    1 Like

  • Profilbild von Evan Swanson

    @swanson

    @KydeandEric supports 60fps and MJPEG now, guess we can IRL stream from a Gameboy camera now :D

    1 Like

  • Profilbild von Marek Bartovic

    @marekbartovic

    That's so fucking cool! (and no, don't excuse my language, because it really is that fucking cool!!!!!)

    1 Like

  • Profilbild von Fenixero

    @hec3_re

    Do I need a new interceptor to have this version or can I update mine?

  • Profilbild von Sebastian Staacks

    @diconx

    Just hold the flash button while plugging it in and it will show up like a USB stick. Drag the uf2 file from GitHub onto that stick and it should reboot with the new version. (Most cases need to be opened to reach the flash button.)

    3 Likes

  • Profilbild von Fenixero

    @hec3_re

    GB Interceptor force dmg mode in games? if my game is optimized for gbc does it run in dmg mode?

  • Profilbild von Sebastian Staacks

    @diconx

    The Interceptor does not influence the way the game runs (i.e. it does not force anything), but it is only compatible with DMG mode. Pure GBC games do not work at all, hybrid games only work on grayscale Game Boys and DMG games work on all systems including GBC and GBA.

    1 Like

  • Profilbild von tnPlayer

    @t1coonelite

    @Pixel_Devil @Kalisto3000

  • Profilbild von Polo

    @RetroPoloTV

    Audio ? (poke @digitaLumberjak )

  • Profilbild von EdgeAds

    @EdgeAdsX

    Don’t need one, will never use one. Brilliant work