3ds video player, why is it so hard?

Discussion in '3DS - Homebrew Development and Emulators' started by Dotmore, Mar 20, 2016.

  1. Dotmore
    OP

    Dotmore GBAtemp Advanced Fan

    Member
    698
    75
    Apr 9, 2012
    Netherlands
    Why is it so hard to make an Video player homebrew for 3DS? Is it due to 3DS limitations?
     
    Real_Redwolf and yuyuyup like this.


  2. TheCruel

    TheCruel Developer

    Banned
    1,351
    2,883
    Dec 6, 2013
    United States
    o3ds has no decent hardware accelerated video decoding ability. The n3ds has some, but I'm not sure how much devs understand it currently.
     
    yuyuyup, Games&Stuff and MasterFeizz like this.
  3. 3than_H

    3than_H Monado Boy

    Member
    358
    50
    Jan 29, 2016
    United States
    pepe's chicken nugget land
  4. dubbz82

    dubbz82 GBAtemp Advanced Maniac

    Member
    1,500
    812
    Feb 2, 2014
    United States
    Besides what's already been mentioned, the video format that's used in most games hasn't been completely reverse engineered yet (for what it's worth, that format is .moflex, and although there's been some progress, there's still no way to convert video TO this format yet to the best of my knowledge). Between this and the lack of proper hardware acceleration, our choices of video formats are limited, especially for the o3ds. I could see the o3ds maybe some day pulling off like mpeg/maybe xvid/divx, but it certainly wouldn't be able to pull off anything heavier than that, simply because of the lack of cpu power (and it would have to be encoded to fit the screen, you certainly wouldn't be able to just drop in whatever video you may have grabbed from the internet and expect it to work without some more work on your end).
     
    ravihpa and Minnow like this.
  5. squee666

    squee666 Advanced Tech Pleb

    Member
    1,587
    890
    Sep 17, 2010
    Belfast
    That just uses the MJPEG AVI format the 3DS can play in the camera app as a JPGV CIA player.

    Downside is even though they are both the same file type that homebew cant play videos at native speed on OLD3DS yet it can do it via the camera APP only downside is 10min limit

    Also its funny because its based on LPP3DS whic is based off the PSP version which has MP4 Libs

    Oh devs can easily start doing it they just not

    https://gbatemp.net/threads/release-3damnesic-a-poc-video-player.396184/

    https://github.com/Lectem/3Damnesic
     
    yuyuyup likes this.
  6. raystriker

    raystriker Alpha PC Builder

    Member
    1,263
    409
    Dec 28, 2011
    India
    Bloomington
    I think its a little different. The videos are encoded into JPGV format directly.
     
  7. TecXero

    TecXero Technovert

    Member
    2,814
    906
    Apr 13, 2014
    United States
    Mainframe
    Lack of interest, most likely. There are fewer good homebrew developers developing for the 3DS than on the PSP or Wii. Of those developers, who's going to want to watch videos on the 3DS when most of your Androids already have decent media players and better screens? Rin has been working on a couple of options, though. I'd recommend keeping an eye on his work.
     
    Real_Redwolf and Minnow like this.
  8. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,101
    4,025
    Oct 7, 2007
    United States
    Levelland, Texas
    It would be easier to just patch out the 10 minute limit from the camera app. Hell I even made a seperate version I modified to install to NAND and even managed to patch the .code so it looked in different directories so one wouldn't have to dump their videos in with their other stuff in the original DCIM folder. I had mine looking in the "MCIM" folder instead. :P

    Couldn't get anyone to look into REing it and finding out how to fix the 10 minute limit. I doubt it's a hardware limitation. It's just bone headed software design by Nintendo. :P

    There's SunShell and the video channel maker. But they don't support playing movies in 3D which is really the thing people are waiting for. The 3DS has a neat glasses free 3D viewing method and would be great to watch 3D movies on...But nope. Nintendo c*ck blocked us and limited us to 2D YouTube and Netflix. Sure the n3DS has 3D support in YouTube (not sure about Netflix. Did they ever update the Netflix app for 3D support on the n3DS?)_. But that's not the same. A Plex app would be awesome. I know you can use it with the browser, but it's not as convenient. :P
     
    Last edited by Apache Thunder, Mar 21, 2016
    democracy, weatMod and zoogie like this.
  9. TecXero

    TecXero Technovert

    Member
    2,814
    906
    Apr 13, 2014
    United States
    Mainframe
    Oh yeah, forgot the 3DS supports 3D. The 10min limit I could deal with but the 20fps limit makes videos look too choppy to me.
     
    Last edited by TecXero, Apr 19, 2016
  10. Apache Thunder

    Apache Thunder I have cameras in your head!

    Member
    4,101
    4,025
    Oct 7, 2007
    United States
    Levelland, Texas
    Remember moonshell? That could barely push 24FPS and I found that an enjoyable experience. I'm perfectly fine being limited to 20FPS if the 3D works. :P

    I think the camera app still runs in o3DS mode on n3DS. I bet that could be run with n3DS clock speeds to allow better frame rates. (though frame rate limit is probably hardcoded, so you'd have to patch that out too)
     
    democracy, Games&Stuff and zoogie like this.
  11. TecXero

    TecXero Technovert

    Member
    2,814
    906
    Apr 13, 2014
    United States
    Mainframe
    I loved moonshell for music and comics, but can't say I enjoyed it for video. :grog:
     
  12. squee666

    squee666 Advanced Tech Pleb

    Member
    1,587
    890
    Sep 17, 2010
    Belfast
    JPGV is just MJPEG AVI they both the exact same format. Except JPGV has headers in it so media players cannot player and also it doesnt contain the audio.
    Both are MJPEG with PCM audio
    his CIA converter uses OGG now (though it didnt originally it was the LQ setting derp)

    JPGV Audio and Vide both get merged in the CIA making.

    Btw if you look at how the JPGV encoder works it doesnt do a DIRECT conversion.
    It extracts every single frame of the video into the Stuffs/Temp folder (strangely enough rotated 90 degrees) they are also resized t. So easily 10k+ jpgs
    While it does this it converts the resolution to 400x240

    His video encoder doesnt even handle stuff like bitrates etc or different passes. It only does Qscale.

    Btw the downside of his JPGV converter is also the fact media players cannot play it and it will only convert directly to cia.

    If he just made it convert to MJPEG avi which is the same. People could then play the files in their media players to Test the quality of the output, instead of waiting to isntall it on 3DS to hit and miss.
     
  13. raystriker

    raystriker Alpha PC Builder

    Member
    1,263
    409
    Dec 28, 2011
    India
    Bloomington
    hmm so you mean to tell me that his apps that play JPGVs are basically like the Nintendo Photos app without the time restriction?
    Also, I'm not talking about his converter, i'm talking about the jpgv format.
    There is one alternate conv to convert to jpgv files 'jpgvthon', you can find it here on the forum.
     
  14. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna
    JPGV container and AVI container are way different:

    1) Vorbis audiocodec support
    2) Frames are rotated to match 3DS screens (just to not wate CPU clocks to rotate it through software).
    3) JPGV has native support to stereoscopic 3D (not implemented in VCC but already worked on and fully working: ), normal AVI files use a workaround to reproduce 3D effect. ( https://github.com/Rinnegatamante/lpp-3ds/blob/master/source/luaVideo.cpp#L606-L763 )

    I assume you're answering to a post made by squee666 or whatever is his nickname.
    He's just an asshole shitposting about my works when he doesn't have any coding skill to reply about such technical questions, don't worry about his shit, just leave it shittalk how much he wants.
     
    Konno Ryo, VinsCool, Seriel and 3 others like this.
  15. ashxu

    ashxu GBAtemp Regular

    Member
    205
    10
    Dec 16, 2008
    Melbourne
    Moonshell was at a time where the most popular mp3 player was the iPod which was incredibly expensive. Video player on the go was also something not many people had. So if you had a DS + Flash cart, moonshell was really good.

    Now everyone has a smartphone so no one really cares about a 3DS video player.
     
  16. dubbz82

    dubbz82 GBAtemp Advanced Maniac

    Member
    1,500
    812
    Feb 2, 2014
    United States

    By all means, if you believe it to be so easy, no one is stopping you from taking a swing at attempting it.
     
  17. TecXero

    TecXero Technovert

    Member
    2,814
    906
    Apr 13, 2014
    United States
    Mainframe
    I wouldn't say no one. I don't care about it but there seems to be some people in this thread that do, a couple of them being talented coders.
     
  18. ashxu

    ashxu GBAtemp Regular

    Member
    205
    10
    Dec 16, 2008
    Melbourne
    Well if someone wants to do it, be my guest. I just don't see a reason why you'd want to as smartphones are very common and a lot easier to use for videos. Also even if someone makes a 3DS video player, it won't look as good as on a smartphone.

    Seems like a lot of work for a small pay off.
     
  19. raystriker

    raystriker Alpha PC Builder

    Member
    1,263
    409
    Dec 28, 2011
    India
    Bloomington
    @Rinnegatamante since jpgv is the container, what is the encoder? Just curious.
     
  20. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna