Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

3DSMovie converter: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox-3DS-Homebrews
{{Infobox 3DS Homebrews
| title = 3DSMovie converter
|title=3DSMovie
| image = https://dlhb.gamebrew.org/3dshomebrew/3DSMovieconverter.jpg|250px
|image=3dsmovieconverter4.png
| type = PC Utilities
|description=Convert your videos for 3DS.
| version = beta
|author=spinal_cord
| licence = Mixed
|lastupdated=2011/12/18
| author = spinal_cord
|type=File Operation
| website = https://gbatemp.net/threads/3dsmovie-converter.316170/
|version=2011
| download = https://dlhb.gamebrew.org/3dshomebrew/3DSMovieconverter.rar
|license=Mixed
| source =
|download=https://dlhb.gamebrew.org/3dshomebrews/3dsmovie.zip
|website=https://gbatemp.net/threads/3dsmovie-converter.316170/
}}
}}
<youtube>c3QhZ-Lcz5Y</youtube>
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.


I know people are already using everyone else converters (great work guys) but here's mine.
This GUI converter allows you to convert any 3D video to 3DS format, instead of using ffmpeg manually.
Don't expect too much, It's technically beta although I *think* it works fine.


The errors reported on the next couple of pages have now been fixed, everything is working fine.
==User guide==
===Converting 3D videos with ffmpeg===
Here are the instructions if you want to convert 3D videos manually.
 
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"
 
You should have now "left.avi" and "right.avi" (if the filesize is too large, you can adjust the quality by changing "-qscale 1" to a different number, 1 - best, 31 - worst).
 
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"
 
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.
 
===Converting 3D video to 2D with ffmpeg===
It only require one single step if you want a 2D version:
<code>ffmpeg -i "video.avi" -s 400x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 2 "VID_0001.AVI"</code>
 
==Screenshots==
https://dlhb.gamebrew.org/3dshomebrews/3dsmovieconverter4.png
 
==External links==
* SoCoder - https://socoder.net/?Blogs=29000
* GBAtemp - https://gbatemp.net/threads/3dsmovie-converter.316170

Latest revision as of 10:31, 22 Haziran 2024

3DSMovie
3dsmovieconverter4.png
General
Authorspinal_cord
TypeFile Operation
Version2011
LicenseMixed
Last Updated2011/12/18
Links
Download
Website

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.

This GUI converter allows you to convert any 3D video to 3DS format, instead of using ffmpeg manually.

User guide

Converting 3D videos with ffmpeg

Here are the instructions if you want to convert 3D videos manually.

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"

You should have now "left.avi" and "right.avi" (if the filesize is too large, you can adjust the quality by changing "-qscale 1" to a different number, 1 - best, 31 - worst).

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"

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.

Converting 3D video to 2D with ffmpeg

It only require one single step if you want a 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"

Screenshots

3dsmovieconverter4.png

External links

Advertising: