照相机

From 3dbrew
Revision as of 16:01, 28 March 2013 by T (talk | contribs) (Created page with "== 概述 == thumb|right|Nintendo 3DS Camera Screenshot 这个应用允许用户记录、播放视频和图像。 == 使用ffmpeg为3DS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

概述

Nintendo 3DS Camera Screenshot

这个应用允许用户记录、播放视频和图像。


使用ffmpeg为3DS转换3D视频

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"

先使用前两行生成左/右两个视频文件, 然后使用最后一行混流生成3D视频,最后把它放到 DCIM\xxxNINxx 目录