ROM Hack 3DS Video BETA

  • Thread starter Thread starter SifJar
  • Start date Start date
  • Views Views 537,779
  • Replies Replies 904
  • Likes Likes 37
I'll look into it some time. I may well have messed it up. I notice amzg is reading the thread, perhaps he will once again fix my mistakes :P
[snip] Now having said that I do have a small problem in that I have a couple of files that I am trying to convert where the 3D comes out the wrong way (back to front so to speak) I have tried using the mirror checkbox assuming that was the option I needed to reverse the fields but it still comes back with the video the wrong way round the same as without the checkbox ticked.

Has anyone else come across this or had success?

I have the same problem with one particular video file, and it's been annoying me to no end. After a lot of testing with the gui, I'm pretty sure the "mirrored" checkbox does nothing right now, at least when side-by-side is selected. So, SifJar, if you're checking the thread, could you look into that, please?

I think, I found the problem :D

In a while, I upload a modification of v0.30 to test it if the Mirror option works fine ok?
 
Code:
ffmpeg -i output.mpg -i audio.mp3 -shortest -vcodec copy -acodec copy video.flv

-change output.mpg to whatever name and file extension you want e.g .avi
-replace video.flv with the 3D video

Gives me an error: "output.mpg: No such file or directory"
(I actually haven't called it output.mpg but 3dengdub.avi)
oops made a error, try replacing output.mpg with the 3D video, and change video.flv to the desired output filename e.g video.avi

Now it worked, but the output video won't play. In Windows Media Player the screen is just black and in Media Player Classic I get an error message: "This AVI file was not prepared fpr sequential reading. the alternative 'Avi Splitter' will now let the default one handle it. The complete reinterleaving of this file is strongly recommended before burning it onto a slow medai like cd-rom."
There is also a chart under that message.
Download VirtualDub then File -> Open Video File, Video -> Direct Stream Copy, Audio -> Direct Stream Copy, File -> Save as AVI.
I already had VirtualDub on my computer. When I did like you suggested, I got this warning:

unbenanntai.png


I tried to open the video in MPC, but it said it couldn't link some pins or something...

Well, I tried something else:
I opened VirtualDub and opened the 3D-video file.
Then I added the English audio file.
Both set to "Direct stream copy".
Saved as AVI and it worked on MPC.
Then I converted it with the 3DS-Converter-thingy and it WORKS!

I wouldn't have come this far without your help Dter ic. So, thank you very much! (*^▽^*)
 
SifJar, one question, option "480x240 resolution" option, it is really necessary in the GUI?

The 3DS is 400x240 screen resolution, then why there is this option? I ask from ignorance :lol:

This afternoon I will check what happens with the MIRROR option.

thanx

People requested, I implemented.
I'll look into it some time. I may well have messed it up. I notice amzg is reading the thread, perhaps he will once again fix my mistakes :P
[snip] Now having said that I do have a small problem in that I have a couple of files that I am trying to convert where the 3D comes out the wrong way (back to front so to speak) I have tried using the mirror checkbox assuming that was the option I needed to reverse the fields but it still comes back with the video the wrong way round the same as without the checkbox ticked.

Has anyone else come across this or had success?

I have the same problem with one particular video file, and it's been annoying me to no end. After a lot of testing with the gui, I'm pretty sure the "mirrored" checkbox does nothing right now, at least when side-by-side is selected. So, SifJar, if you're checking the thread, could you look into that, please?

I think, I found the problem :D

In a while, I upload a modification of v0.30 to test it if the Mirror option works fine ok?

Yeah that's fine. When you post the source, I'll merge it into the next "official" release if that's OK with you (when I will try to add progress bars :O )
 
People requested, I implemented.

I take it off haha, I see no useful xD

Yeah that's fine. When you post the source, I'll merge it into the next "official" release if that's OK with you (when I will try to add progress bars :O )

Perfect!!! I need more time to check better that all works fine :)

I wanted to put the option of multi-core/hyperthreading but the codec mjpeg does not support it! shit!! :(
 
People requested, I implemented.

I take it off haha, I see no useful xD

Yeah that's fine. When you post the source, I'll merge it into the next "official" release if that's OK with you (when I will try to add progress bars :O )

Perfect!!! I need more time to check better that all works fine :)

I wanted to put the option of multi-core/hyperthreading but the codec mjpeg does not support it! shit!! :(
FFmpeg supports multi-core with the "-threads N" command.
 
FFmpeg supports multi-core with the "-threads N" command.

Yes I know, for this reason I wanted to include this option in the gui
But do you try to use? I have this error when I add "-threads n"

[mjpeg @ 0471A300] multi threaded encoding not supported by codec
 
I've fixed the "Mirror Input" option, tomorrow I put the code...is later zzzzzzzzZzzzzzzzzzzzzZZZZZzzzz

And add some extra option:

- 3DS video to side-by-side video for play your recorded 3DS videos in 3d on youtube . (thanx to morphius)
- Add "shutdown PC when done" option
- Select audio bitrate
- Select audio volume
 
using version 0.30 under Windows XP, encoder makes right and left avis, but when it finishes, temp.avi dissapears and there's no result video in the destination folder

and yes, I'm on admin account
 
using version 0.30 under Windows XP, encoder makes right and left avis, but when it finishes, temp.avi dissapears and there's no result video in the destination folder

and yes, I'm on admin account
Are there spaces in the path to the destination folder? I'm guessing yes. Go read the red letters in the first post.
 
using version 0.30 under Windows XP, encoder makes right and left avis, but when it finishes, temp.avi dissapears and there's no result video in the destination folder

and yes, I'm on admin account
Are there spaces in the path to the destination folder? I'm guessing yes. Go read the red letters in the first post.

yeah, folder was in My Documents. thanks, sorry I skipped that part. :lol:

now, what quality number do you recommend for best filesize without much picture quality loss? I know this depends on the original video quality, but i would like to know what people think.
 
Hello!

I Have made ​​a MOD v0.30 version with "mirror input" option fixed (I think so :D )
I have also added some extra option:

- 3DS video to side-by-side video for play your videos in 3D 3DS Recorded on youtube. (thanx to Morphius)
- Add "shutdown computer when done" option.
- Select audio bitrate.
- Select audio volume.
- Select audio chain for dual audio videos.

***Progress bar don't work, I hope SifJar can implement it :)

SifJar, If That's OK with you, if you want you can add what you like about this mod to the "official" version hehe

If you just want to fix the option MIRROR (can also look at the source code of the mod):

e.g. in SbS
;Side-by-side
if SbS
{
mapSettings := "-map 0:0 -map 0:1 -map 1:0" ;normal mode

if (Mirror) ;not mirrored
{
mapSettings := "-map 1:0 -map 0:1 -map 0:0" ;mirror mode
}
MsgBox, Converting. Please wait!

if (Advanced = 0)
{

RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale %QualityUD% -vf crop=400:240:0:0 -acodec libmp3lame -ar 44100 -ab -ac 2 "left.avi",, Hide
RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale %QualityUD% -vf crop=400:240:400:0 -an "right.avi",, Hide
}
if (Advanced = 1)
{
RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -vcodec mjpeg -r %FPS% -b:v %Bitrate%k -vf crop=400:240:0:0 -acodec libmp3lame -ar 44100 -ab -ac 2 "left.avi",, Hide
RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -vcodec mjpeg -r %FPS% -b:v %Bitrate%k -vf crop=400:240:400:0 -an "right.avi",, Hide
}


RunWait, ffmpeg.exe -y -i "left.avi" -i "right.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -vcodec copy %mapSettings% "temp.avi",, Hide

gosub, FileSplit

.....................................

*only includes .exe file and source

http://www.mediafire...x0aj8btg05mfxr6

iLtvJ.jpg
 
But do you try to use? I have this error when I add "-threads n"

[mjpeg @ 0471A300] multi threaded encoding not supported by codec
I tried it and never saw that error. I'm using this .bat file for multi-core support.
I did a small test with 2 min. video (1920x540):
Video encode with "-threads 1" - 2 min. 31 sec.
Video encode with "-threads 2" - 1 min. 35 sec.
 
Hello!

I Have made ​​a MOD v0.30 version with "mirror input" option fixed (I think so :D )
I have also added some extra option:

- 3DS video to side-by-side video for play your videos in 3D 3DS Recorded on youtube. (thanx to Morphius)
- Add "shutdown computer when done" option.
- Select audio bitrate.
- Select audio volume.
- Select audio chain for dual audio videos.

***Progress bar don't work, I hope SifJar can implement it :)

SifJar, If That's OK with you, if you want you can add what you like about this mod to the "official" version hehe

If you just want to fix the option MIRROR (can also look at the source code of the mod):

e.g. in SbS
;Side-by-side
if SbS
{
mapSettings := "-map 0:0 -map 0:1 -map 1:0" ;normal mode

if (Mirror) ;not mirrored
{
mapSettings := "-map 1:0 -map 0:1 -map 0:0" ;mirror mode
}
MsgBox, Converting. Please wait!

if (Advanced = 0)
{

RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale %QualityUD% -vf crop=400:240:0:0 -acodec libmp3lame -ar 44100 -ab -ac 2 "left.avi",, Hide
RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale %QualityUD% -vf crop=400:240:400:0 -an "right.avi",, Hide
}
if (Advanced = 1)
{
RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -vcodec mjpeg -r %FPS% -b:v %Bitrate%k -vf crop=400:240:0:0 -acodec libmp3lame -ar 44100 -ab -ac 2 "left.avi",, Hide
RunWait, ffmpeg.exe -y -i "%VideoPath%" -s 800x240 -aspect 2:1 -vcodec mjpeg -r %FPS% -b:v %Bitrate%k -vf crop=400:240:400:0 -an "right.avi",, Hide
}


RunWait, ffmpeg.exe -y -i "left.avi" -i "right.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -vcodec copy %mapSettings% "temp.avi",, Hide

gosub, FileSplit

.....................................

*only includes .exe file and source

http://www.mediafire...x0aj8btg05mfxr6

iLtvJ.jpg
Looking for a mac version that works? Any help?
 
But do you try to use? I have this error when I add "-threads n"

[mjpeg @ 0471A300] multi threaded encoding not supported by codec
I tried it and never saw that error. I'm using this .bat file for multi-core support.
I did a small test with 2 min. video (1920x540):
Video encode with "-threads 1" - 2 min. 31 sec.
Video encode with "-threads 2" - 1 min. 35 sec.

thank you!!!

I will do more tests. That strange :(

maybe is problem of my source .avi file??
 

Site & Scene News

Popular threads in this forum