3DS Video Metadata

Discussion in '3DS - Flashcards & Custom Firmwares' started by drfsupercenter, Jan 3, 2012.

Jan 3, 2012

3DS Video Metadata by drfsupercenter at 6:02 AM (1,390 Views / 0 Likes) 6 replies

  1. drfsupercenter
    OP

    Member drfsupercenter Flash Cart Aficionado

    Joined:
    Mar 26, 2008
    Messages:
    1,891
    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.

    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.
     
  2. ferofax

    Member ferofax End of the World

    Joined:
    Jan 26, 2009
    Messages:
    2,564
    Location:
    Philippines
    Country:
    Philippines
    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.
     
  3. drfsupercenter
    OP

    Member drfsupercenter Flash Cart Aficionado

    Joined:
    Mar 26, 2008
    Messages:
    1,891
    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.
     
  4. spinal_cord

    Member spinal_cord Knows his stuff

    Joined:
    Jul 21, 2007
    Messages:
    2,871
    Location:
    somewhere
    Country:
    United Kingdom
    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...
     
  5. elisherer

    Member elisherer I ♥ 3DS

    Joined:
    Dec 16, 2009
    Messages:
    778
    Location:
    3dbrew.org
    Country:
    Israel
    These dates are the dates from the exif tag of the jpeg inside the mjpg stream...i don't think the 3ds recognizes the date by these tags..

    But, it might be inside the MakerNote exif tag. Nintendo uses a special makernote. you can read about it here http://3dbrew.org/wiki/MPO
     
  6. drfsupercenter
    OP

    Member drfsupercenter Flash Cart Aficionado

    Joined:
    Mar 26, 2008
    Messages:
    1,891
    Country:
    United States
    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).
     
  7. drfsupercenter
    OP

    Member drfsupercenter Flash Cart Aficionado

    Joined:
    Mar 26, 2008
    Messages:
    1,891
    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.
     

Share This Page