Nintendo 3DS Camera: Difference between revisions
Added example shellscript to split a file into 10 minute intervals. |
m Updated the ffmpeg commands with the ones I decided on in my shellscript |
||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
[[File:Nintendo 3DS Camera scnshot.png|thumb|right|Nintendo 3DS Camera Screenshot]] | [[File:Nintendo 3DS Camera scnshot.png|thumb|right|Nintendo 3DS Camera Screenshot]] | ||
This application allows the user to record/play videos and take/view photos. | This application allows the user to record/play videos and take/view photos. The resolution of the top-screen on the 3DS is 400x240 | ||
== How to split | == How to convert and split video.ext into 10 minute pieces == | ||
<code> | <code> | ||
ffmpeg -i video.ext - | ffmpeg -i video.ext -ss 600 -t 600 -y -r 24 -vsync 1 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -async 1 -ac 2 /DCIM/xxxNINxxx/HNI_%04d.AVI | ||
</code> | </code> | ||
== How to convert 2D Video for 3DS == | == How to convert 2D Video for 3DS == | ||
<code> | <code> | ||
ffmpeg -i video.ext - | ffmpeg -i video.ext -r 24 -vsync 1 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -async 1 -ac 2 -vf scale=min(400\\,240*a):-1,pad=400:240:abs(ow-iw)/2:abs(oh-ih)/2 /DCIM/xxxNINxxx/HNI_nnnn.AVI | ||
</code> | </code> | ||