Skip to content

Instantly share code, notes, and snippets.

@Mat1az
Last active June 6, 2024 13:08
Show Gist options
  • Save Mat1az/b663718e3279fcd564e536757315cafb to your computer and use it in GitHub Desktop.
Save Mat1az/b663718e3279fcd564e536757315cafb to your computer and use it in GitHub Desktop.
PS2 EyeToy Data PoC

PoC: Transferring Data through PS2 EyeToy

PS2 EyeToy

Camera 320×240 pixels, capable of 640×480 pixels with custom drivers.
FPS 25fps
Connectivity USB 1.1
Lenshead Manual focus ring
Sensor OV7648
Chip OV519

ISG Instructions

./isg_4real
Embed
test.txt
custom
B/W (Binary)
20
8
1
240p
File test.txt
String "Hello World from PS2 EyeToy" (27 bytes)
Bytes 48 65 6C 6C 6F 20 57 6F 72 6C 64 20 66 72 6F 6D 20 50 53 32 20 45 79 65 54 6F 79
Output output.avi (9.82 kiB)
Blocks 20
FPS 1fps
Resolution 240p

output.avi Analysis

ffmpeg -i output.avi -vf "select=1" -vsync vfr frames/%d.png

Important

The first frame is intended for settings, not actual data.

Frames Original
1.png 1
2.png 2 010010000110010101101
100011011000110111100
100000010101110110111
101110010011011000110
010000100000011001100
111001001101111011011
010010000001010000010
100110011001000100000
010001010111100101100
101010101000110111101
111001000000000000000
"Hello World from PS2 EyeToy"

In summary

Estimated Read Speed: ~0.614 kB/s, with 20 blocks, at 20 fps.

Estimated Read Speed: ~2.3 kB/s, with 60 blocks, at 25 fps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment