ROM Hack 3DSMovie converter

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,173
Country
BTW: Can you give me a hint on how to make a progress bar like the one you made? I don't get it how you can ask ffmpeg how many percent the video is converted. :glare:

You can have ffmepg output to a temporary text file, and read from that file how much of the video is converted (in seconds). You can get the full length by running "ffmpeg -i input.avi" or whatever, and again output to temp file and read. Then just divide the amount converted by full length and multiply by 100 to get a percentage ;) (There may be another way to do this in whatever language you use, e.g. reading the output from ffmpeg into a variable, but this is how it is done in 3DS Video)
 

NekuSoul

Well-Known Member
Member
Joined
Dec 11, 2011
Messages
111
Trophies
0
XP
73
Country
Gambia, The
@SifJar:
OK, will try to do this without writing to disk by reading from the console window, but anyway it's a really stupid way.
(BTW: I'm using a pretty similar way too) ;)
 

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,196
Trophies
1
Age
42
Location
somewhere
Website
spinalcode.co.uk
XP
2,935
Country
it uses ffmpeg once the video is selected to try to detect the video length, this could be done at convert time, but I never thought of it. I'm not using a txt file, just running ffmpeg and outputing the console window to a text box (hidden) and parsing the information from there.
the sample option will only convert the first 20 seconds, this will help you check your settings without waiting ages to convert, the safe-zone option will set the height to 176 (i think) so that when you view the video on the 3ds in preview mode, not the editor, it does not overlap the on-screen information that spoils the 3d effect.
 

ferofax

End of the World
Member
Joined
Jan 26, 2009
Messages
2,570
Trophies
0
Age
41
Location
Philippines
Website
nonwhatso.blogspot.com
XP
677
Country
it uses ffmpeg once the video is selected to try to detect the video length, this could be done at convert time, but I never thought of it. I'm not using a txt file, just running ffmpeg and outputing the console window to a text box (hidden) and parsing the information from there.
the sample option will only convert the first 20 seconds, this will help you check your settings without waiting ages to convert, the safe-zone option will set the height to 176 (i think) so that when you view the video on the 3ds in preview mode, not the editor, it does not overlap the on-screen information that spoils the 3d effect.
Thanks. I suppose that OSD (on-screen display) is kinda off-putting when it cuts through the video like that.......... oh yeah, it may not be much, but will you also implement like, a settings.cfg file so that settings (and directories) get saved?

so yeah, that's all i guess. i still think a short, informal readme isn't such a bad idea (or tool-tips in the GUI, so you just hover and then you know what that option does). nothing fancy, just a quick rundown of what you can do with the program.

EDIT: Time Taken and Time Remaining is frozen at 00:00:00, just so you know... and the conversion is pretty scary. right now i'm guessing the progress is at roughly 25% for the left channel, using a 4GB source, and the size is up to 5GB now. that's one channel, the left. at 25%. will the right channel bloat to as much? so, i expect around 40GB for both channels (20GB per channel) plus the final output video. you'll need an incredible amount of working space just to convert, around x10 of the source file size, at least.


ahaha, i shudder at the thought of BluRay conversions.


EDIT2: oh yeah, Sample takes only the first 20 seconds, right? well, the thing is, with movies, most often than not the first few minutes are filled with non-relevant images: title cards, logos, black screens, credits, that sort of thing. how about sample 20 seconds say, 5 minutes into the video? that way, the converter will surely pick up images from the movie/video. just a suggestion.

and an abort button. i... had to stop conversion. my drives are full, and i can't make any more spaces, at least, not right now. so i'll need to free up around 60-80GB from my hard drives, just to be able to accommodate a 4GB conversion. true, not your average conversion, but the inflation is just ridiculous. XD


EDIT3: i just found out that the brunt of the inflation occurs only for the left channel. as expected, it grew to 20GB, but the right channel so far is only up to 3.2GB.
 

ferofax

End of the World
Member
Joined
Jan 26, 2009
Messages
2,570
Trophies
0
Age
41
Location
Philippines
Website
nonwhatso.blogspot.com
XP
677
Country
i take the assumption that the left and right channel is different in size-- i made around 40GB+ free space, and the entire conversion still consumed all of that up and some more. 4GB at 1 Quality and Stereo 22kHz converts to around almost 20GB per channel. that's BEFORE any multiplexing/muxing/converging happens.

i'm afraid the process just takes too much space for me.
 
General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
  • K3N1 @ K3N1:
    Whoever developed Bramble was smoking that good shit fucking gnomes
    K3N1 @ K3N1: Whoever developed Bramble was smoking that good shit fucking gnomes