Homebrew [Release] ORGANIZ3D - Filebrowser for 3DS

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
I don't know if this is at all the right thread for this, but I'm trying to convert a video to JPGV for ORGANIZ3D and after creating the temp files with ffmpeg, jpgv_encoder.exe just stackdumps on me. I'm using the provided .bat file from vid2jpgv.rar but I notice the only variable it passes to jpgv_encoder in said batch file is the FPS?

The stackdump file contains "STATUS_ACCESS_VIOLATION" in it.

EDIT: Nevermind. I was running it in a bad folder apparently. :P Though, I might end up forking jpgv_encoder to clean it up a bit.

You're welcome if you want to improve jpgv_encoder. I made it really fast and is very "unsafe" :P
 

Insidious611

Well-Known Member
Member
Joined
Oct 23, 2010
Messages
167
Trophies
1
XP
343
Country
United States
Hmm. I'm having some weird issues. Trying out a JPGV file I converted. The source video has a slightly weird resolution (368x208 WxH) though that should be under the 400x240 size of the 3DS topscreen, so I don't see why that would be an issue. In any case, in ORGANIZ3D it shows as corrupted diagonal stripes which cover only a certain part of the screen. The audio plays fine. I figured I'd try it in Sunshell as well to see what happens, and sunshell loads the file, displays the first few frames as the same sort of weird diagonal stripes, and then crashes completely.

In unrelated issues, neither ORGANIZ3D nor Sunshell seems to quit properly back to the homebrew menu when I press start or whatever. :/ I've had to force power off my 3DS every time as it just gets stuck on a black screen.

Here's one of the JPGs from the temp folder from the conversion to JPGV:

hd2JAoU.jpg


And here's what it looks like on my 2DS, taken with my digital camera:

odchR1h.jpg


EDIT: To be clear, I converted this using the current vid2jpgv.rar on github, not anything I've done yet. :P

I'm going to try converting it to the exact screen size of the 3DS and see if that works.
 
Last edited by Insidious611,

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Hmm. I'm having some weird issues. Trying out a JPGV file I converted. The source video has a slightly weird resolution (368x208 WxH) though that should be under the 400x240 size of the 3DS topscreen, so I don't see why that would be an issue. In any case, in ORGANIZ3D it shows as corrupted diagonal stripes which cover only a certain part of the screen. The audio plays fine. I figured I'd try it in Sunshell as well to see what happens, and sunshell loads the file, displays the first few frames as the same sort of weird diagonal stripes, and then crashes completely.

In unrelated issues, neither ORGANIZ3D nor Sunshell seems to quit properly back to the homebrew menu when I press start or whatever. :/ I've had to force power off my 3DS every time as it just gets stuck on a black screen.

Here's one of the JPGs from the temp folder from the conversion to JPGV:

hd2JAoU.jpg


And here's what it looks like on my 2DS, taken with my digital camera:

odchR1h.jpg


EDIT: To be clear, I converted this using the current vid2jpgv.rar on github, not anything I've done yet. :P

I'm going to try converting it to the exact screen size of the 3DS and see if that works.

Can you take a screenshot to vid2jpgv before giving the last argument?
 

Insidious611

Well-Known Member
Member
Joined
Oct 23, 2010
Messages
167
Trophies
1
XP
343
Country
United States
LCWR2lH.png


--------------------- MERGED ---------------------------

I just tried entering "240x400" (the max res of the 3DS topscreen) in the insert resolution line (otherwise the same stuff, and the same source video) and the resulting output.jpgv works fine, though it's probably a tad stretched I would imagine.
 
  • Like
Reactions: Rinnegatamante

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
LCWR2lH.png


--------------------- MERGED ---------------------------

I just tried entering "240x400" (the max res of the 3DS topscreen) in the insert resolution line (otherwise the same stuff, and the same source video) and the resulting output.jpgv works fine, though it's probably a tad stretched I would imagine.

That's pretty strange, i have to take a look to drawing function, thanks for the report.
 

Insidious611

Well-Known Member
Member
Joined
Oct 23, 2010
Messages
167
Trophies
1
XP
343
Country
United States
Working on rewriting jpgv_encoder in python, as I feel its easier to code "safer" in python, and I can still turn it into an exe when I'm done. Documenting the format first. Your header is... oddly spacious. :P


EDIT: Alright, I've got a python-based jpgv encoder working. It uses no batch files, calling ffmpeg directly from within python. It supports both an interactive mode where it asks questions like the old batch file, as well as a non-interactive mode where you can put in all the data via the command line. The latter is intended to be used with a GUI, which I might write later.

In addition to sanity checking and some optimizations and such, I've added one new feature. I managed to find a filter algorithm for ffmpeg that does scaling with black border padding, so that you can scale things to the 3DS's screen size and keep the aspect ratio correct. So I added a "scale" mode that scales and pads to your chosen resolution, as well as a "stretch" mode that does the basic stretch-to-fill scaling that the current BAT does.

I'm in the middle of testing it ATM, but as of right now I've tested one file (an HQ OGG 400x240 30FPS jpgv using the scale-and-pad) and that's worked perfectly. I have PCM16, stretched, LQ, etc versions of the same file that I'll be copying over and testing one by one to make sure everything is working.

Testing is slightly hindered by the fact that ORGANIZ3D still seems to be having issues of not quitting cleanly sometimes, so I'm having to do some hard-resets. NBD.
 
Last edited by Insidious611,

Insidious611

Well-Known Member
Member
Joined
Oct 23, 2010
Messages
167
Trophies
1
XP
343
Country
United States
Okay, so far test results for the new jpgv encoder are that anything with OGG audio is working fine, but things I've done with PCM16 audio crash after 4-5 seconds, freezing the video but with that same 4-5 seconds of audio playing on loop.

Running the old encoder (the BAT-and-C based one) with the exact same settings produces a file that's exactly 4 bytes smaller? But they exhibit the exact same problem, where they crash with repeating audio after about 4-5 seconds. I'll have to give it a further look. I'll be making another thread about this JPGV converter project so as to stop gunking up this one. :P

Thread for my new encoder is http://gbatemp.net/threads/wip-jpgvthon-reworked-jpgv-encoder.409318/
 
Last edited by Insidious611,
  • Like
Reactions: I pwned U!

Shadow#1

Wii, 3DS Softmod & Dumpster Diving Expert
Member
Joined
Nov 21, 2005
Messages
12,345
Trophies
2
XP
8,005
Country
United States
No, really, no u don't need it as soon as possible used the .3dsx version like everyone else
 

ander

Well-Known Member
Member
Joined
Jan 19, 2016
Messages
112
Trophies
0
Age
26
XP
98
Country
Italy
If you need a cia for a file browser use ctrxplorer if you need this for anything else I can't help

I don't think I will need them... But, before this, I need to install it lol. Do you have any ideas? Can you help me please? HB doesn't work...
 

ShadowOne333

QVID PRO QVO
Editorial Team
Joined
Jan 17, 2013
Messages
12,177
Trophies
2
XP
33,538
Country
Mexico
I've been having problems with this too.
Using the 3DSX version just hangs at a black screen with white letters, it doesn't go into my Sd card at all.
I already tried putting some of the folders in the root like the ReadMe says, but still no luck.

I ended up just switching to CTRXplorer :P
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs