This is a quick little GUI tool converts any 3D videos for 3DS.
OK, having updated your 3DS no doubt you'll want to watch videos on it in 3D. So, here's how
The 3DS video format is a simple avi with two mjpeg video streams and a single ima adpcm audio stream, with a resolution of 480x240. You can convert to it with the following instructions...
1. Download or rip your 3D video (youtube has millions of them by now)
2. Download ffmpeg.
3. run the ffmpeg with the following options (assuming that your video is called "video.avi")
If your 3D video is top-bottom format -
ffmpeg -y -i "video.avi" -s 400x480 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=480:240:0:0 -acodec libmp3lame -ar 44100 -ab 96k -ac 2 "left.avi"
ffmpeg -y -i "video.avi" -s 400x480 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=400:240:0:240 -an "right.avi"
If your 3D video is side-by-side format -
ffmpeg -y -i "video.avi" -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=400:240:0:0 -acodec libmp3lame -ar 44100 -ab 96k -ac 2 "left.avi"
ffmpeg -y -i "video.avi" -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=400:240:400:0 -an "right.avi"
After a short time, you should have "left.avi" and "right.avi". It is now safe to move continue...
note - if the filesize is too large, you can adjust the quality by changing the "-qscale 1" to a different number, 1 - best, 31 = worst.
4. run ffmpeg with the following options to create the final movie file...
ffmpeg -y -i "left.avi" -i "right.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -vcodec copy -map 0:0 -map 0:1 -map 1:0 "VID_0001.AVI"
You can change "VID_0001.AVI" to a different filename if you like, but it must be LLL_NNNN.AVI to show up on the 3DS.
Once that's done, copy it to the folder on your SD card that all of your photos are stored in and view it in the photo viewer.
*update Some people wanted a 2D version also, so here it is, just a single step for the 2D version
ffmpeg -i "video.avi" -s 400x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 2 "VID_0001.AVI"
I have added a nice GUI converter to the whole process, making everything just that little bit easier for everyone
Options
Source Video - Choose the video you want to convert
Video Folder - Folder to place converted video in (e.g. 3DS video folder)
Format - Type of 3D video, or 2D video
Quality - Quality (31 is lowest, 1 is max)
Advanced... - Show advanced options (replace Quality with Bitrate & FPS)
Bitrate - Bitrate of converted video
FPS - FPS of converted video
Notes
32-bit FFmpeg is included. Feel free to replace with 64-bit version from here:
ffmpeg.zeranoe.com/builds/ (shouldn't affect program, but should probably make conversion a bit faster on 64-bit CPUs)
I think I have included all the necessary licenses etc (and possibly a bunch of extras to prevent the risk of not supplying all necessary ones) - if you notice anything missing, let me know so I can add it.
WARNING: The output folder cannot have spaces anywhere in the path (e.g. "C:\Documents and Settings\Username\3DS Videos" or "C:\3D Videos") or it will not work. [there is now an error given if you choose a path with a space in it] Ideally, plug in your SD card and choose the folder on it containing any photos/videos taken with the 3DS camera as the output folder, and then you won't have to manually copy any files.
Credits/Thanks
spinal - figuring out the conversion
amzg - fixing several bugs, GUI rewrite, working on progress bars
BelowZero - getting progress bars working
Styple - fixing bugs
xxNathanxx - suggesting bug fix
Guy.brush - suggesting bug fix
Everyone behind FFMPEG and AutoHotKey for making great and easy to use tools
You, for testing and possibly putting up with broken versions
and
gbatemp.net