Tutorial  Updated

Guide to making a video player using LPP-3ds (no lua knowledge required)

Average time required:
Depends on the length and size of your mp4 video. All other steps take ~15 minutes to complete.

Before asking about bugs, make sure to check the issues section first!

Requirements:
Step 1: Prepare your video.
lpp-3ds uses the JPGV video format. At the time of writing this guide, the most recent tool available is JPGVthon.

1. Download JPGVthon and extract it to a place where you can find it. (Note, JPGVthon has all it's important files at the root of the .zip file. Make sure to never extract to current directory, unless you want to mess up your downloads folder).
2 Move the mp4 of the file you're trying to convert in the same folder you extract it to.
3. Double click on jpgvthon.exe (you might need python here...)
3.5. If you are on Windows 10, SmartScreen will block it. Click on more info and then "Run Anyway".
4. In the CMD window that opens, enter the name of your input file '''including the .mp4 part!'''
5. Next enter the name of your output file '''including the .jpgv part!''' (By default lpp-3ds looks for output.jpgv in the same directory as the 3dsx.)
6. Next enter the framerate of your file. (See section 1.5 for details)
7. If your video is smaller than 400x240 (unlikely), enter the correct resolution here. Otherwise, just press enter.
8. If you didn't enter the resolution in the previous step you need to select the scaling (see section 1.5 for more details)
9. Now enter the quality. 0 is for low-quality and 1 is for high quality. (see section 1.5 for more details)
10. Now on the audio part of your video. First select wether you want mono or stereo. Mono is smaller in size. To select mono choose 1, and to select stereo choose 2.
11. Now comes the samplerate. Just press enter here.
12. Finally comes the codec. Enter 2 here and press enter.
13. Wait until it's finished

Step 1.5: Choice explanation
Scaling
If you enter 1, the video will be 'raw-scaled' meaning that the video will be stretched to fit if needed.

If you enter 2, the video will keep it's aspect ratio. This may result in black bars around the screen, but will keep your video at a user friendly size.

Quality
The quality difference does matter! I converted a 10.6mb, 5:24 length, 25 fps, video to both high and low quality. These were the outcomes:

High quality: 158mb
Low quality: 49.9mb

So yeah... think about the size for a second.

Step 2: lpp-3ds (or: putting your video in the player.)
1. Download the latest version of lpp-3ds and extract it somewhere where you can find it. (Note, lpp-3ds has all it's important files at the root of the .zip file. Make sure to never extract to current directory, unless you want to mess up your downloads folder).
2. Go to lpp-3ds/Builds/Normal (unstable has no error reporting)
3. Head over to this pastebin.
4. Download the pastebin for index.lua and save it to the folder where lpp-3ds.3dsx and lpp-3ds.elf are located.
5. Copy your JPGV from Step 1 to this folder.
6. Now open up index.lua with a good texteditor (Anyone using MS Word for this step will be shot. Use MS Notepad if you absolutely have to. Notepad++ is even better)
6.5. If your file isn't named output.jpgv, change it on line two. Do not remove any code before or after it!
7. Also, download the pastebin for lpp-3ds.xml and save it to the folder where lpp-3ds.3dsx and lpp-3ds.elf are located.

For HBC
8. Create a SMDH file (or copy the existing SDMH file located in builds)
9. Finally move your entire 'Normal' folder with the lpp-3ds.3dsx, index.lua, lpp-3ds.xml, lpp-3ds.smdh and your JPGV file to your SD card in the /3ds/ folder. You don't need to copy 3ds.elf.
10. Rename your copied Normal folder to lpp-3ds to wrap it up.

Step 3: Testing/Playing your videos
1. Launch the HBC using whatever way you have. It can be anyway you prefer. Themehax or browserhax, it isn't important.
2. If you used the existing SDMH file, it will be named Lua Player Plus. Otherwise it will be named to whatever you put in your SMDH file.
3. Launch that app. Wait a few seconds... and... your video will start playing. Look at the controls appendix to figure those out.

Appendix: Controls
The default controls for when in the video player are:
  • A to exit
  • B to pause

Appendix: Issues
I get an error with the DSP, what do I do?

You forgot lpp-3ds.xml or named it lpp-3ds.xml.xml

Windows hides known file extensions. Note that if you changed the folder name, you must change all the lpp-3ds files as well. That's just the way HBC works.

I get an 'out of bounds' error.

This should not happen anymore. If it happens, make sure that JPGV is configured to draw from the top screen, and not the bottom.

I get a 'value not in range' error.

You uncommented the (currently non-functional) code for the Progress Bar. Comment it back. (comments are two dashes, like so -- .)

The audio is desynced.

Use a lower samplerate.

I get a 'file not found' error.

By default the script looks for output.jpgv

I want this as a cia
Have a look at http://gbatemp.net/threads/release-...-cia-videos-for-everyone.415708/#post-6095051. This guide only helps with creating it as a 3dsx.

If you are on Windows, make sure that you didn't accidentically name it output.jpgv.jpgv. Windows hides known file extensions. Otherwise, open up index.lua and look for the name on line 2.

Appendix: Reducing File Size
If your file is too large, try to look at these things:
  • FPS is the big one. It's no use making a 30fps JPGV out of a 23fps MP4. Just set the FPS to 23 instead.
  • The quality is also important. For more, see step 1.5
  • Reduce the audio channels to mono instead of stereo.
  • Use a lower samplerate.

Todo list
Step 4: Customizing the player
  • Remap controls
  • Hiding elements

If you noticed any spelling/grammar errors, please tell me so I can fix them.
 
Last edited by Ev1l0rd,
What's worse is that I'm waiting on my laptop to ship, and using Windows 10 on a surface 3 tablet that has PC Windows, but has to be the jankiest version of Windows I know of.
Did you upgrade to windows or did you get windows when you bought your tablet? If you upgraded, you can just download an official downgrade iso and use the code found somewhere on your physical tablet and use that serial to downgrade.
 
Help please. The player launches but is stuck in a lop. Bottom screen shows Infos: FPS:2 Time: 0.01 / 49:14 Samplarate: 44100. Is there something I'm doing wrong?

I'm using an Old 3DSXL and New 3DSXL both launching HB from Gateway-3ds Emunand on the latest ver.

Thanks
 
Last edited by Deletr753,
Help please. The player launches but is stuck in a lop. Bottom screen shows Infos: FPS:2 Time: 0.01 / 49:14 Samplarate: 44100. Is there something I'm doing wrong?

I'm using an Old 3DSXL and New 3DSXL both launching HB from Gateway-3ds Emunand on the latest ver.

Thanks
How many fps did you set your video to? In any case, try pressing B. It works as a pause/unpause button.
 
How many fps did you set your video to? In any case, try pressing B. It works as a pause/unpause button.
Pressing A or B does nothing. In the video setting of the video I'm trying to convert it show the fps at 23.97600 so the first time I converted it I set the fps at 23. The video got stuck in a loop and the second time I set the fps at 20 and the same thing happen. The video is 49:11 long
 
Last edited by Deletr753,
Pressing A or B does nothing. In the video setting of the video I'm trying to convert it show the fps at 23.97600 so the first time I converted it I set the fps at 23. The video got stuck in a loop and the second time I set the fps at 20 and the same thing happen. The video is 49:11 long
Could you PM me the video? I can try to convert it for you.
just came in my mind, can´t we just watch movies with 3ds camera?
You can. But the 3ds camera is... restrictive. Videos have to be in a specific format, and are 240p quality with a maximum length of ten minutes per video.
 
Could you PM me the video? I can try to convert it for you.

You can. But the 3ds camera is... restrictive. Videos have to be in a specific format, and are 240p quality with a maximum length of ten minutes per video.
I'll pm you a link to my mediafire once I get home and upload the video to it. Once you have it done can please let me know what I was doing wrong because I want to convert a few movies. Just for your info the Video that I'm trying to convert is Myth Busters - The Walking Dead Special

Thanks Ev1L0rd
 
Last edited by Deletr753,
  • Like
Reactions: Ev1l0rd
Did you upgrade to windows or did you get windows when you bought your tablet? If you upgraded, you can just download an official downgrade iso and use the code found somewhere on your physical tablet and use that serial to downgrade.
I did of bit of research, and finally got it working bro. More missing .dll files...lol
 
Last edited by Ripper00420,
  • Like
Reactions: Ev1l0rd
I'm having the same problem as Dlter, does the DS have a limit on the filesize that will load? It will play the first frame of my video then freeze.
 
3d movies are regular movies
most even come in mp4 format
all u need is an option for the 3ds to enable 3d
just like the youtube app
so if anyone can see the utube 3ds source, than the process for it should be there
 
3d movies are regular movies
most even come in mp4 format
all u need is an option for the 3ds to enable 3d
just like the youtube app
so if anyone can see the utube 3ds source, than the process for it should be there
Look buddy, why don't you give it a shot? You've got nothing to lose. If it is (as you say) a regular mp4 encoded format, you can try it. I don't own any 3d movies, so that's why I'm not testing it.

EDIT: Also, if it works, please post here. It would be useful to know for others.
 
if someone implements a 3d toggle on the player i can give it a shot
i could download sample vids from youtube for testing
there are plenty
 
Has any one had any luck converting a video? If yes can you please post your settings and the info of the video. I have try different settings with no luck.
 

Site & Scene News

Popular threads in this forum