Convert any 3D movie to watch on the 3DS!

prowler

Sony
Member
Joined
Jul 14, 2009
Messages
9,475
Trophies
2
Location
Ragol
XP
3,294
Country
Zimbabwe
I can't seem to work FFmpeg because I'm new to it D:
how do I add this "ffmpeg -i "video.avi" -s 480x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 2 "VID_0001.AVI" ?

If it helps I'm using the latest one, static version.
You need to paste that into cmd while in the folder all your files are located.
Say if it was in Documents/FFmpeg, first you'd type "cd C:/Users/basher11/Documents/FFmpeg" or however your folder layout is.

It's all explained in exangels post on the last page anyway.
 
  • Like
Reactions: 1 person

DiscostewSM

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
5,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,500
Country
United States
I just tried a 45 minute documentary, didn't even show. perhaps the 10mins is for playback also :(
Wonder if there away to get around this. This must be Nintendo way of saying "don't download movies". :P

So is there away to break down downloaded videos into 10 mins parts?

One way you could do that is, in a batch file, make duplicates of the processes going, but for each unique set, designate the starting time and duration via "-ss hh:mm:ss -t hh:mm:ss", -ss being the starting position and -t being the duration. Depending on the video, anything past the initial position will require ffmpeg to scan through the video file from start to the starting position you request, resulting in repeated "frame = 0" lines. It'll get to the positions in time.

EDIT:

However, if you used a video that is 15min long, but your batch file is prepared to take up to 30min (3 unique ffmpeg calls), and you split them into 10min sections, the first will go fine, the 2nd will scan to the 10min mark (taking some time, but not as long as encoding) and will end at the 15min mark. The 3rd will scan to the 15min mark and just quit. You'll end up with 3 videos, but the last will be really small because it contains nothing.
 

Raikage46

Well-Known Member
Newcomer
Joined
Feb 27, 2009
Messages
52
Trophies
0
Age
33
Location
Germany
XP
106
Country
Gambia, The
I can't seem to work FFmpeg because I'm new to it D:
how do I add this "ffmpeg -i "video.avi" -s 480x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 1 -acodec adpcm_ima_wav -ac 2 "VID_0001.AVI" ?

If it helps I'm using the latest one, static version.
You need to paste that into cmd while in the folder all your files are located.
Say if it was in Documents/FFmpeg, first you'd type "cd C:/Users/basher11/Documents/FFmpeg" or however your folder layout is.

It's all explained in exangels post on the last page anyway.
Run it from the command prompt. I wrote a step by step on page 2.

edit: *giggle @ prowler for beating me to referring to my post*


Thanks.
It's working now.

Nintendo should really make a normal video viewer.
 

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,226
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,393
Country
guys, feel free to try different resolutions framerates and compression rates, I'm testing a couple myself, but my computer isn't very fast. 10fps plays fine, qscale 4 also plays ok, I'm trying lower resolution now :)
 

thedicemaster

Well-Known Member
Member
Joined
Apr 26, 2008
Messages
2,432
Trophies
0
XP
303
Country
Netherlands
Weird. FFMPeg closes after I open it even without doing anything else. Anyone else experiencing this problem?
everyone who never heard of command-line tools i guess.
the program has no interface, so you need to tell it what to do before starting it.
usually this is done by giving direct commands through a file with a .bat extension, or through CMD.exe

EDIT: spinal_cord: could you perhaps add the split command so it only takes the first 10 minutes, and skips the rest if it's over 10 minutes?
 

DiscostewSM

Well-Known Member
Member
Joined
Feb 10, 2009
Messages
5,484
Trophies
2
Location
Sacramento, California
Website
lazerlight.x10.mx
XP
5,500
Country
United States
EDIT: spinal_cord: could you perhaps add the split command so it only takes the first 10 minutes, and skips the rest if it's over 10 minutes?

I've actually began working on that. This is what I have so far for 2D videos (placed in a batch file, and quality of 13 from the range of 1 as best and 31 as worst).

Code:
del VID_*.AVI
del newVideo.avi
ffmpeg -i %1 -s 400x240 -aspect 2:1 -r 20 -vcodec mjpeg -qscale 13 -acodec copy "newVideo.avi"
ffmpeg -i "newVideo.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -ss 00:00:00 -t 00:09:59 "VID_0001.AVI"
ffmpeg -i "newVideo.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -ss 00:09:59 -t 00:09:59 "VID_0002.AVI"
ffmpeg -i "newVideo.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -ss 00:19:58 -t 00:09:59 "VID_0003.AVI"
ffmpeg -i "newVideo.avi" -vcodec copy -acodec adpcm_ima_wav -ac 2 -ss 00:29:57 -t 00:09:59 "VID_0004.AVI"

All that is required in Windows is to drag the video over the batch file, and it'll process the video, then split them, up to 29m57s of video. If you have a longer video, just mimick how the split is done. For some reason, making 10m videos exactly wasn't working on my 3DS, but 9m59s does. Also, audio encoding isn't done until during the split because ffmpeg kept having a problem splitting the adpcm format.

I'm sure someone else with more experience could improve on this.
 

Toad King

Well-Known Member
Member
Joined
Aug 19, 2009
Messages
374
Trophies
0
XP
546
Country
United States
guys, feel free to try different resolutions framerates and compression rates, I'm testing a couple myself, but my computer isn't very fast. 10fps plays fine, qscale 4 also plays ok, I'm trying lower resolution now :)
I would say see if it can support other video codecs, like H264 or MPEG-4 (AKA Divx/Xvid). That should cut down on video size dramatically if the 3DS can actually play them.
 

spinal_cord

Knows his stuff
OP
Member
Joined
Jul 21, 2007
Messages
3,226
Trophies
1
Age
43
Location
somewhere
Website
spinalcode.co.uk
XP
3,393
Country
guys, feel free to try different resolutions framerates and compression rates, I'm testing a couple myself, but my computer isn't very fast. 10fps plays fine, qscale 4 also plays ok, I'm trying lower resolution now :)
I would say see if it can support other video codecs, like H264 or MPEG-4 (AKA Divx/Xvid). That should cut down on video size dramatically if the 3DS can actually play them.

Feel free.
 
D

Deleted User

Guest
Well, I tried it with Video.MP4 (Low quality youtube side-by-die mp4, and what it gave me after FFMpeg did its thing was:
Missing argument for option "R"


-nvm-
 

SifJar

Not a pirate
Member
Joined
Apr 4, 2009
Messages
6,022
Trophies
0
Website
Visit site
XP
1,175
Country
gallery_171891_178_16940.png


;)

EDIT: http://gbatemp.net/topic/315365-3ds-video-v01-beta/
 
  • Like
Reactions: 5 people

dmztheone

Member
Newcomer
Joined
Jan 16, 2010
Messages
21
Trophies
0
XP
53
Country
United States
Ok Guys!
This is working very good!
I appreciate the good work of Spinal.

But we have one issue yet to tackle. For example, the initial video (WoW - Wrath of the Lich King) has ~17MB. Each side spanned has ~56MB (left and right). Combined in the final file the 3D video has the double (~112MB). In my point of view, it is not much efficient.. Maybe we need to optimize the extraction process between 17MB to 56MB. I don't think that Nintendo videos are very large in terms of space.. maybe we can do that too..

Do you guys have any clues how to do this more efficiently? Maybe we need to convert to other format (Mov for instance or apply some filter..).
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I gotta raid0 these m.2s yay
  • BigOnYa @ BigOnYa:
    Do a raid10
  • K3Nv2 @ K3Nv2:
    That's tomorrow
    +1
  • Xdqwerty @ Xdqwerty:
    Yawn
  • BigOnYa @ BigOnYa:
    Damn Wal-Mart has 42" 4k TVs for only $150
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, i bet it will not fit inside your bedroom
  • BigOnYa @ BigOnYa:
    Yea here in North Korea, we are only allowed 1 19" tv per household. And the only channel we get is, MLT (Missile Launch Today)
    +1
  • K3Nv2 @ K3Nv2:
    @BigOnYa, doesn't fit in his bedroom he's American
    +1
  • BigOnYa @ BigOnYa:
    I hate ordering stuff online if I can go buy it somewhere close to me, and everywhere anymore will give you a discount only if you order it online, bs. Should be a discount if I go pick it up, not order online.
  • K3Nv2 @ K3Nv2:
    I love it for most things most stores you just shows the receipt online and they scan it
    +1
  • K3Nv2 @ K3Nv2:
    Makes it easy for incompetent restaurant staff that don't know how to hear an order
  • BigOnYa @ BigOnYa:
    Mostly for big purchases, I want it in my hands before I pay. Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc) But yea if I can order online, then pickup at store is ok, but not all places offer that.
  • cearp @ cearp:
    > Like a tv, I trust picking it up myself, before I'd trust it being sent thru mail/delivery. (Broken screen, etc)

    Thing is, if you break it driving back to your house, it's your fault. But if the delivery driver damages it, it's not your fault.
    +1
  • K3Nv2 @ K3Nv2:
    Most people that haul big tvs have empty trucks or know enough not to set it face down
  • BigOnYa @ BigOnYa:
    Then I gotta send it back and wait another week or two. I have a pickup truck, with a extended cab, so no prob for me.
  • K3Nv2 @ K3Nv2:
    Most manufacturers pack it well enough where they aren't that dumb to let it happen
  • BigOnYa @ BigOnYa:
    They building a new Microcenter store near by me, is kinda scary. That's my favorite place, I'm like a kid in a candy store there.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, what's a microcenter?
  • K3Nv2 @ K3Nv2:
    Cool I'll make you ship me stuff
    +1
  • K3Nv2 @ K3Nv2:
    Microcenter sells high quality microwaves
  • BigOnYa @ BigOnYa:
    Computer store basically, but they sell everything, like game systems, tvs , 3d printers, etc
    +1
  • K3Nv2 @ K3Nv2:
    I've seen i9/mobo deals for like 400
  • BigOnYa @ BigOnYa:
    Yea been itching to build a new pc, mine is like 3-4 years old, ancient in pc tech time. Still using a sata SSD even.
  • K3Nv2 @ K3Nv2:
    That's still high tech to ancientboi
    K3Nv2 @ K3Nv2: That's still high tech to ancientboi