DSi Camera Record homebrew app?

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,906
Country
United States
dsi-camera. For video I have a branch called dsi-camcorder, quoting from Discord: (paraphrased)

DS⁽ⁱ⁾ Mode Hacking said:
Download:
Conversion:
  • Download convert.py and run the bin file from the app through it
  • Run ffmpeg -y -r 5 -i out/%04d.png out.mp4 on the outputted PNG sequence, note that 5 FPS is not perfectly accurate, that's just an estimate
Repo: <https://github.com/Epicpkmn11/dsi-camera/tree/camcorder>
Video: https://cdn.discordapp.com/attachments/547986366357700620/1026349047168106536/out.mp4
 

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,906
Country
United States
Hello, I am cozmicdudes. I lost access to that GBA Temp acc last year but all the links don't work for the camera recorder.
can you resend it?
Discord said:

hmm, same issue even though it works on discord. attached files instead.
 

Attachments

  • dsi-camcorder.zip
    246.4 KB · Views: 15

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,906
Country
United States
Thank you! Can you briefly explain what the convert.py does? And what the output file is? I can tell that it converts the .bin to a series of PNG files, but I can't manage to run the python script using Python 3.8.
The bin simply contains raw 256x192 15bpp BGR bitmap frames concatenated together, with u32 delays in between (in CPU cycles iirc, I meant to make that actually useful with milliseconds or so but haven't gotten around to it)

You probably just need to install Pillow (pip3 install Pillow) to run it.
 

anotherthing

Well-Known Member
Member
Joined
Mar 30, 2023
Messages
252
Trophies
0
Age
52
XP
341
Country
United States
Wow, Nintendo's had a thing for 15bit color since the GameBoy Advance. I'm curious, does f.read do 8bits at a time? If so, isn't there a bit missing each time or does the camera just leave an extra bit on the end of each pixel palette? Sorry, I don't know much about how the DSi Camera works. Or Python. Especially Python.
 

Pk11

A catgirl with a DSi
Member
Joined
Jun 26, 2019
Messages
1,285
Trophies
1
Age
22
Location
米国
Website
xn--rck9c.xn--tckwe
XP
3,906
Country
United States
Wow, Nintendo's had a thing for 15bit color since the GameBoy Advance. I'm curious, does f.read do 8bits at a time? If so, isn't there a bit missing each time or does the camera just leave an extra bit on the end of each pixel palette? Sorry, I don't know much about how the DSi Camera works. Or Python. Especially Python.
The highest bit of each 16-bits is always zero. It has a few uses on the DS depending on video mode (transparency bit, LSB of green), but with the camera it's just unused.

Edit: Actually it's probably always one, not zero, I don't remember for sure.
 
  • Like
Reactions: anotherthing

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    IT'S LIKE THAT ALMOST EVERY FUCKING METEOR SHOWER TOO
  • BigOnYa @ BigOnYa:
    You need to setup a time lapse camera, be neat
  • BigOnYa @ BigOnYa:
    I actually use a pic of it on my pc desktop cause its cool looking
  • Xdqwerty @ Xdqwerty:
    Apparently the pro versión of pizza boy is back aswell
  • Xdqwerty @ Xdqwerty:
    Gonna download the update
  • Xdqwerty @ Xdqwerty:
    Only 2 antiviruses detected the APK as a virus on virustotal so it Must be safe
  • Xdqwerty @ Xdqwerty:
    Cuz false positive
  • Xdqwerty @ Xdqwerty:
    Wait
  • Xdqwerty @ Xdqwerty:
    Eh nvm
  • BakerMan @ BakerMan:
    sadly, the clouds are setting in now

    hey BigOnYa the clouds are coming from the south, maybe check again
  • Xdqwerty @ Xdqwerty:
    Good night it's 11 pm
  • BakerMan @ BakerMan:
    night
  • BigOnYa @ BigOnYa:
    @BakerMan Nuh I'm in for the night playing Fallout 4, ill look tomorrow night
  • BigOnYa @ BigOnYa:
    Ok had let dog out, and yea still can't see it, oh well. Maybe tom night.
  • K3Nv2 @ K3Nv2:
    Ballocks these drives aren't allowing raid
  • BigOnYa @ BigOnYa:
    That sucks, well you will get double the space then atleast.
  • K3Nv2 @ K3Nv2:
    @Sicklyboy needs to come back
  • BigOnYa @ BigOnYa:
    Did you try Raid 10?
  • K3Nv2 @ K3Nv2:
    I did raid69
  • K3Nv2 @ K3Nv2:
    The physical disk keeps disabling in bios
  • BakerMan @ BakerMan:
    hey ken did you see the aurora tonight?
  • BakerMan @ BakerMan:
    also sorry it was too cloudy, that sucks
  • SylverReZ @ SylverReZ:
    @K3Nv2, This chat is sponsored by Raid Shadow Legends.
  • K3Nv2 @ K3Nv2:
    So I guess raid0 doesn't allow mismatched storage oh well
    +1
    K3Nv2 @ K3Nv2: So I guess raid0 doesn't allow mismatched storage oh well +1