Skip to content

Comment on blastQR: send files completely offline over QR codes. Up to 1.4 MB/s

You are viewing one comment and its replies. View all comments

Comments

  • Interesting, though what if the receiver fails to scan the codes quicly enough?

    2
    • @blast@lemmy.dbzer0.comOP· · edited

      The cool part is that codes are generated indefinitely so basically you can keep scanning until you receive the data. You don’t need to capture every frame or scan in any particular order.

      This is made possible by raptorQ (https://github.com/cberner/raptorq) the fountain code encoding used by blastqr.

      Feel free to try it out!

      11
      • How many pictures does it show per second? And do I understand that right, it cycles through the data until it hears the sound? I assume that makes sending large files difficult, since it has to wrap around all the data, right?

        3
        • @blast@lemmy.dbzer0.comOP· · edited

          You can tweak the FPS from the send page UI. it’s set to 25 fps by default for broader compatibility (most devices capture at 30fps) but if you have a more powerful device they can capture at 60 or 120fps and you can adjust the sender accordingly. Each frame carries around 3kB of data per frame (with the default settings) so at 25fps that’s 75kB/s. You can multiply the speed by showing more than one code. So two codes would give you 150kB/s

          The completion tone is optional. It basically just tells the sender that it can stop and t’s more for convenience. I want to expand it in the future so the receiver tells the sender what FPS to send at through sound tones.

          Regarding large files it can take a long time yes! The app includes lossy compression turned on by default when you send pictures or videos (similar to what all chat apps do) so it can send those quite fast. With default settings and showing 2 codes it can send 5 pictures in around 10 seconds for example or a 2MB video in the same time.

          7
      • That’s a clever approach, thanks for the explanation

        1

Sign in to comment. Sign in