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
  • K3Nv2 @ K3Nv2:
    I've been taking fiber pills, eating more grapes, switched to wheat bread in hopes to lower it
    +1
  • BigOnYa @ BigOnYa:
    I like wheat bread, I even like the chunky wheat bread with pieces of whole grain in it.
  • K3Nv2 @ K3Nv2:
    Been getting this honey wheat bread from aldis pretty decent not very sweet to out do it
  • K3Nv2 @ K3Nv2:
    Me making any food at home is an improvement to how I use to be
    +1
  • BigOnYa @ BigOnYa:
    I have an bread machine and use it alot, better than breads you buy, but don't last as long, cause no bs preservatives
  • K3Nv2 @ K3Nv2:
    I got compliments about my weight loss and thought well guess I can pig out again now I'm the piggy
  • BigOnYa @ BigOnYa:
    My biggest prob is alcohol, definitely is fattening
  • K3Nv2 @ K3Nv2:
    I know when to stop at least honestly don't get those that go and go with food
  • BigOnYa @ BigOnYa:
    Or those that order 2 big macs , large fry, ice cream sundie, then a diet coke
  • K3Nv2 @ K3Nv2:
    I might get downing two big macs but nah that's it
  • BigOnYa @ BigOnYa:
    Ok that will be $15.99, cash or charge?
  • K3Nv2 @ K3Nv2:
    My go to orders usually a mcdouble and a mcchicken and I'm happy rarely mess with fries
  • K3Nv2 @ K3Nv2:
    Pro tip ask for that clowns jizzmac sauce on your mcdouble
    +1
  • BigOnYa @ BigOnYa:
    Do they charge extra when you add sauce,etc? I know burger king used to not, but don't know nowadays
  • K3Nv2 @ K3Nv2:
    They may squrit it for free if you ask nice
    +1
  • K3Nv2 @ K3Nv2:
    Last time I got bk it was 35c per sauce fuck you king of my nutsack
    +1
  • K3Nv2 @ K3Nv2:
    I'll buy a bottle of baby rays BBQ for $2 and add it from home out of spite
    +1
  • BigOnYa @ BigOnYa:
    I like baby rays, my favorite is KC masterpiece tho. Figured all you could buy is that there.
  • K3Nv2 @ K3Nv2:
    The metro doesn't discriminate good sauce
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Baby Rays isn't that what killed the crocodile hunter?
  • Psionic Roshambo @ Psionic Roshambo:
    If only he had done an endorsement for them....
  • Psionic Roshambo @ Psionic Roshambo:
    Oy mate don't let a bad bbq sauce kill your party! Baby Rays are killing it!! The flavor hits you right in the chest!
    +1
  • Xdqwerty @ Xdqwerty:
    My phone only has 13% battery so i don't have much time left
  • Xdqwerty @ Xdqwerty:
    Now 12%
  • BigOnYa @ BigOnYa:
    Happy birthday, btw
    BigOnYa @ BigOnYa: Happy birthday, btw