Author Topic: QR code storage in 60fps one hour video  (Read 2161 times)

0 Members and 1 Guest are viewing this topic.

Offline etiTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 1801
  • Country: gb
  • MOD: a.k.a Unlokia, glossywhite, iamwhoiam etc
QR code storage in 60fps one hour video
« on: September 16, 2022, 02:54:30 am »
Assuming a frame rate of 60fps, and a video of one hour in length, each frame storing a new, unique QR code per frame (corner or side of the frame), how much data could be transmitted from those 216,000 QR codes? I'm sure something could make use of this...

From my rudimentary calculations, I reckon around 1-2Gb of data could be shoehorned in, aside from the video file size.
« Last Edit: September 16, 2022, 02:56:09 am by eti »
 

Offline daqq

  • Super Contributor
  • ***
  • Posts: 2321
  • Country: sk
    • My site
Re: QR code storage in 60fps one hour video
« Reply #1 on: September 16, 2022, 06:58:53 am »
Depends on the resolution - the basic QR codes can scale and hold up to some 3kB of data. There are higher density QR codes, such as color coded codes and similar ( https://en.wikipedia.org/wiki/Barcode#Matrix_(2D)_barcodes ). So, 60 fps * 60 seconds * 60 minutes = 216000 frames. With 3kB of data per that's ~650MB. Mind you, the resolution would need to be pretty high to be scanable - the 3kB sized QR codes are fairly big or dense.
Believe it or not, pointy haired people do exist!
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
 

Online tom66

  • Super Contributor
  • ***
  • Posts: 7334
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: QR code storage in 60fps one hour video
« Reply #2 on: September 16, 2022, 08:09:42 am »
I think the problem you might have is the compression algorithm could make anything but a large QR code difficult to reliably decipher.  But if you assume the bitrate is high enough to fit say a 29x29 QR code (a typical size) and reliably decode it on each frame then you can fit 352 bits of data at medium ECC per frame. So 76Mbit,  quite a bit less than your estimate of 1-2Gbits.

Edit: but you didn't specify QR code size.  Max size is 177x177 for a total bit capacity of 1.2Gbits which meets your range.
« Last Edit: September 16, 2022, 08:12:21 am by tom66 »
 

Online iMo

  • Super Contributor
  • ***
  • Posts: 5570
  • Country: va
Re: QR code storage in 60fps one hour video
« Reply #3 on: September 16, 2022, 08:41:09 am »
That reminds me on 80ties when we tried to save the data from our ZX and C64 and a like gadgets onto the video tapes..  :D
Readers discretion is advised..
 
The following users thanked this post: amyk, pardo-bsso

Online tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: QR code storage in 60fps one hour video
« Reply #4 on: September 16, 2022, 09:47:01 pm »
Surely it’d be a fool’s errand to do this, given that you could store the QR code’s data in far less data than it would take to store an image of it…
 

Online tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: QR code storage in 60fps one hour video
« Reply #5 on: September 16, 2022, 09:49:46 pm »
That reminds me on 80ties when we tried to save the data from our ZX and C64 and a like gadgets onto the video tapes..  :D
Data on audiocassettes was a thing. On videotape? Not with those computers: they had no way to read in anything from videotape. (There were devices to back up PCs to videotape, but those came later.) I mean, you could use a VCR as a glorified audio recorder, but why??
 

Offline sleemanj

  • Super Contributor
  • ***
  • Posts: 3051
  • Country: nz
  • Professional tightwad.
    • The electronics hobby components I sell.
Re: QR code storage in 60fps one hour video
« Reply #6 on: September 16, 2022, 10:09:56 pm »
That reminds me on 80ties when we tried to save the data from our ZX and C64 and a like gadgets onto the video tapes..  :D
Data on audiocassettes was a thing. On videotape? Not with those computers: they had no way to read in anything from videotape. (There were devices to back up PCs to videotape, but those came later.) I mean, you could use a VCR as a glorified audio recorder, but why??

http://members.optusnet.com.au/spacetaxi64/MAIN/VFL-Video-fast-loader-C64.htm
~~~
EEVBlog Members - get yourself 10% discount off all my electronic components for sale just use the Buy Direct links and use Coupon Code "eevblog" during checkout.  Shipping from New Zealand, international orders welcome :-)
 
The following users thanked this post: tooki

Offline TheDane

  • Regular Contributor
  • *
  • Posts: 209
  • Country: dk
Re: QR code storage in 60fps one hour video
« Reply #7 on: September 17, 2022, 02:06:35 pm »
Data on audiocassettes was a thing. On videotape? Not with those computers: they had no way to read in anything from videotape. (There were devices to back up PCs to videotape, but those came later.) I mean, you could use a VCR as a glorified audio recorder, but why??

Why use a VCR as an audio recorder - because of non-stop +8 hours of stereo recording/playback.

I still have one of these, and yes - the screen looks a bit like QR code :ø)
https://www.vice.com/en/article/j558k3/how-to-save-files-from-a-pc-to-a-vhs-tape
 

Online tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: QR code storage in 60fps one hour video
« Reply #8 on: September 17, 2022, 05:58:32 pm »
Why use a VCR as an audio recorder - because of non-stop +8 hours of stereo recording/playback.
I meant in the context of a C64. It can’t make use of 8 hours of continuous playback. ;)

http://members.optusnet.com.au/spacetaxi64/MAIN/VFL-Video-fast-loader-C64.htm
Interesting, I stand corrected!

By the 1990 date on that ad, it puts it contemporary to other videotape interfaces (like the backup system I mentioned and TheDane linked to), which is very, very late in the C64’s life!
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8526
Re: QR code storage in 60fps one hour video
« Reply #9 on: September 18, 2022, 07:19:27 am »
https://en.wikipedia.org/wiki/ArVid could store over 4GB on a VHS tape.
 

Offline Halcyon

  • Global Moderator
  • *****
  • Posts: 6126
  • Country: au
Re: QR code storage in 60fps one hour video
« Reply #10 on: September 19, 2022, 01:26:09 am »
Data on audiocassettes was a thing. On videotape? Not with those computers: they had no way to read in anything from videotape. (There were devices to back up PCs to videotape, but those came later.) I mean, you could use a VCR as a glorified audio recorder, but why??

Why use a VCR as an audio recorder - because of non-stop +8 hours of stereo recording/playback.

I still have one of these, and yes - the screen looks a bit like QR code :ø)
https://www.vice.com/en/article/j558k3/how-to-save-files-from-a-pc-to-a-vhs-tape

I have one of these in a box somewhere. Never used it. Maybe I should crack it out.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9321
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: QR code storage in 60fps one hour video
« Reply #11 on: September 19, 2022, 02:23:58 am »
One "just for fun" project I wanted to do is to build a gadget that can record and play back 1080p video on a VHS tape. Easiest would likely be a Raspberry Pi combined with a FPGA or fast microcontroller to handle the data encoding/decoding.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Online tom66

  • Super Contributor
  • ***
  • Posts: 7334
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: QR code storage in 60fps one hour video
« Reply #12 on: September 19, 2022, 08:32:26 am »
One "just for fun" project I wanted to do is to build a gadget that can record and play back 1080p video on a VHS tape. Easiest would likely be a Raspberry Pi combined with a FPGA or fast microcontroller to handle the data encoding/decoding.

JVC beat you to it about 20 years ago: https://en.wikipedia.org/wiki/D-VHS

These tapes can store 1080i60 video using MPEG compression.  Though the tape is broadly the same as VHS, there's some unmentioned improvements to tape quality which apparently allow this.
 
The following users thanked this post: tooki

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9321
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: QR code storage in 60fps one hour video
« Reply #13 on: September 19, 2022, 01:31:04 pm »
JVC beat you to it about 20 years ago: https://en.wikipedia.org/wiki/D-VHS

These tapes can store 1080i60 video using MPEG compression.  Though the tape is broadly the same as VHS, there's some unmentioned improvements to tape quality which apparently allow this.
I was thinking of one that can use standard VHS tape and ideally an unmodified VCR.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Online tooki

  • Super Contributor
  • ***
  • Posts: 13157
  • Country: ch
Re: QR code storage in 60fps one hour video
« Reply #14 on: September 19, 2022, 03:12:49 pm »
If JVC (the inventor of VHS) couldn’t make it work on standard VHS tape, it’s kinda unlikely someone could do it in their spare time. (Granted, maybe with the very latest video codecs, the bitrate miiiight be low enough to make it work…)
 

Online tom66

  • Super Contributor
  • ***
  • Posts: 7334
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: QR code storage in 60fps one hour video
« Reply #15 on: September 19, 2022, 06:27:58 pm »
Regular VHS has a bandwidth of about 3MHz.  If you were to do something like QAM you could probably manage 10Mbit/s with error correction and framing.  You might be able to go further but you would be pushing the Shannon limit pretty quickly I expect.

10Mbit/s is more than enough for a modern H.265 codec to do 1080p30, and may not even look too bad at 4K (some blocking, but hey, it's VHS!)
 
The following users thanked this post: tooki


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf