Hacking 3DS Video Metadata

drfsupercenter

Flash Cart Aficionado
OP
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
So we have a video converter, which is great and everything. But I'm sure you all have discovered that it makes your videos show that they were taken in 1900.

Looking at an actual video from my 3DS, there is a RIFF header that uses what looks like EXIF data with some dates in it.

.00dc´...ÿØÿà..AVI1..........ÿá.øExif..MM.*.................z...........„...........’...........š.(...........1.........¢.2.........¨............‡i.........¼....Nintendo..Nintendo 3DS.....H.......H....00204.2011:12:31 16:07:37...........0220...........:...........N‘...........’|.....R...b .......0100 ........... ..........à ..........ð ..........´....2011:12:31 16:07:37.2011:12:31 16:07:[email protected]....Éï‘.............ßk‡.............Y.¬Á....€.........................R98.........0100...........Þ....JPEG Exif Ver 2.2.ÿÀ....ð.à..".......ÿÛ.„................ .....'... .)10.)-,3:J>36F7,-@WAFLNRSR2>ZaZP`JQRO.......&..&O5-5OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOÿÄ.¢.

There's a bunch of these followed by the actual video data.

So I tried just replacing the generic header with the same header as my original video, and it wouldn't open on my computer anymore. So there's obviously more to this than I'm seeing.

It doesn't really look encrypted, the fact I can see "Nintendo 3DS" and a date in there at all would suggest that it isn't. But is the length of the file also stored in there? That might be what's screwing it up. The annoying thing is that EXIF editors won't allow me to open the AVI files because they aren't JPEG images. It would just be nice if we could make the videos show as today's date opposed to 1900, since I have like 500 images on my 3DS and it's a major pain in the butt to keep going back to the start for each video.
 

ferofax

End of the World
Member
Joined
Jan 26, 2009
Messages
2,570
Trophies
0
Age
42
Location
Philippines
Website
nonwhatso.blogspot.com
XP
687
Country
I actually prefer the date 1/1/1900 over any other.

This way, all my non-3DS data is always at the start of the album--not in some obscure date in the middle or anywhere else, hidden among the thousands of photos (and a few videos) i currently have.
 

drfsupercenter

Flash Cart Aficionado
OP
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
Couldn't one do the reverse then and set them all to like 2050? :P

Regardless, I would like to know if it's possible to inject the metadata.

I've been playing with Exif viewers and editors for several hours, and I give up. This is stupid, none of them can find any metadata in the 3DS AVIs at all, despite it being right there in plain text in a hex editor. The question becomes, what part do I need to copy to make it work? If you copy the whole header it won't work, probably due to a mismatch in the number of frames/framerate/bitrate as all of that is stored in the header too.
 

spinal_cord

Knows his stuff
Member
Joined
Jul 21, 2007
Messages
3,227
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,434
Country
If the avi header allows you to change the offset of the video streams within the file, just find out where the start of a 'real' 3ds video is, adjust the offset in a converted video then implant the data in the same place as 'real' 3ds video.

On the other hand, have you tried just changing the information in a video you recorded yourself to make it appear in a different point in the list? I did, it didn't work...
 

drfsupercenter

Flash Cart Aficionado
OP
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
On the other hand, have you tried just changing the information in a video you recorded yourself to make it appear in a different point in the list? I did, it didn't work...

Yep. It worked fine. You have to replace *all* the dates (there are like 10 of them) with a different date. I made a video last night so it was 01/03/12 and changed it to 01/02/12 and it actually showed up fine as both dates (since I copied the file rather than overwriting it).
 

drfsupercenter

Flash Cart Aficionado
OP
Member
Joined
Mar 26, 2008
Messages
1,909
Trophies
1
XP
1,163
Country
United States
As for the EXIF structure in the MPO files, that doesn't really explain how to add it in hex. I know what Exif headers are, the problem is that nothing supports them for AVI, and there's a bunch of jibberish data in there between the meaningful stuff, not sure if that's encrypted or if it's just jibberish.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    you go bro
    +1
  • BakerMan @ BakerMan:
    i know, i know, i'm late
  • Sicklyboy @ Sicklyboy:
    @BigOnYa, I'll rip a bag off my Volcano to that, brother
    +2
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
    Veho @ Veho: https://i.imgur.com/E1U7Nlt.mp4 +1