Homebrew [Release] ORGANIZ3D - Filebrowser for 3DS

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
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
166
Trophies
0
XP
330
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,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
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
166
Trophies
0
XP
330
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,161
Trophies
0
Age
26
Location
Bologna
Website
rinnegatamante.it
XP
4,662
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
166
Trophies
0
XP
330
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
166
Trophies
0
XP
330
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
10,502
Trophies
1
XP
6,071
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
23
XP
68
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
Developer
Joined
Jan 17, 2013
Messages
10,686
Trophies
1
XP
12,479
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
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • AkiraKurusu @ AkiraKurusu:
    ^ Nah. I actually love macOS; so much more user-friendly than Windows 10.
    Gift
  • AkiraKurusu @ AkiraKurusu:
    I would absolutely love it if Apple started licensing the OS out, like Microsoft does, though.
    Still love the OS, just quite ambivalent about the OS' owner.
    Gift
  • AkiraKurusu @ AkiraKurusu:
    So as long as macOS is restricted to Mac computers, I don't regret purchasing a MacBook.
    Gift
  • El_Doot @ El_Doot:
    well, VMs exist
    Gift
  • El_Doot @ El_Doot:
    just harder to get MacOS running on one ig
    Gift
  • kenenthk @ kenenthk:
    MacMiller was better
    Gift
  • 2short @ 2short:
    Just build a hackintosh. I've been running hackintoshes for 6 years now
    Gift
  • DinohScene @ DinohScene:
    ARM is going to be a problem one day
    Gift
  • DinohScene @ DinohScene:
    I'm fairly certain MacOS 11 and 12 will suffer the same fate as 10.6, it being nothing but a transition OS from x86 to ARM
    Gift
  • DinohScene @ DinohScene:
    that being said, Apple is obviously a lot bigger then what it was back in the PPC days
    +1
    Gift
  • DinohScene @ DinohScene:
    but knowing them and taking past experiences into consideration
    +1
    Gift
  • AkiraKurusu @ AkiraKurusu:
    Huh, pretty certain it just hailed tonight. That's rare, here in Sydney; been years since the last hailstorm - this ain't the Blue Mountains, where it does get quite cold.
    Gift
  • DinohScene @ DinohScene:
    congratz on surviving!
    Gift
  • Robika @ Robika:
    How do you people see this chip crisis ending? Are there any good altenatives?
    Gift
  • kenenthk @ kenenthk:
    Apu
    Gift
  • kenenthk @ kenenthk:
    @AkiraKurusu, I walked in a hailstorm once not a fun experience
    +1
    Gift
  • Gift
  • Psionic Roshambo @ Psionic Roshambo:
    Hail Hydra!
    Gift
  • TSP184 @ TSP184:
    Hail Hydra's back!
    Gift
  • mr_switch @ mr_switch:
    Well at least MacOS is ad free unlike Windows
    Gift
  • p1ngpong @ p1ngpong:
    lol typical reply to expect from someone called mr_switch
    Gift
  • p1ngpong @ p1ngpong:
    moar liek little bitch!
    Gift
  • p1ngpong @ p1ngpong:
    AHAHAHAHAHAHAHAHAHA
    Gift
  • mthrnite @ mthrnite:
    get a mac p1ng
    Gift
  • mthrnite @ mthrnite:
    also, RE4 on the quest is fucking magic
    Gift
    mthrnite @ mthrnite: also, RE4 on the quest is fucking magic