Difference between revisions of "Nintendo 3DS Camera"
(Added the ffmpeg commandline for the 2d version in case it isn't obvious.) |
m (removed some stray spaces.) |
||
Line 7: | Line 7: | ||
<code> | <code> | ||
− | ffmpeg -i video.ext -s 480x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 1 /DCIM/xxxNINxx/ | + | ffmpeg -i video.ext -s 480x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 1 /DCIM/xxxNINxx/HNI_nnnn.avi -t 10 |
− | |||
</code> | </code> | ||
Line 14: | Line 13: | ||
<code> | <code> | ||
− | ffmpeg -i video.ext -s 960x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 1 /DCIM/xxxNINxx/ | + | ffmpeg -i video.ext -s 960x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 1 /DCIM/xxxNINxx/HNI_nnnn.avi -t 10 |
− | |||
</code> | </code> | ||
Revision as of 17:46, 14 November 2014
Overview
This application allows the user to record/play videos and take/view photos.
How to convert 2D Video for 3DS
single screen
ffmpeg -i video.ext -s 480x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 1 /DCIM/xxxNINxx/HNI_nnnn.avi -t 10
double screen
ffmpeg -i video.ext -s 960x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 1 /DCIM/xxxNINxx/HNI_nnnn.avi -t 10
How to convert 3D Video for 3DS
ffmpeg -y -i "video.mp4" -s 960x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=480:240:0:0 -acodec libmp3lame -ar 41000 -ab 96k -ac 2 "left.avi"
ffmpeg -y -i "video.mp4" -s 960x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -vf crop=480:240:480:0 -an "right.avi"
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"
First two lines generate left and right files video, the last line generate the 3D video for the 3DS
Put the file in DCIM\xxxNINxx