WIP PlayerNX - Finally, a (PoC) homebrew video player!

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by XorTroll, Sep 7, 2018.

  1. XorTroll
    OP

    XorTroll Dev: Brew.js, HomebrewWare, NSPack, Goldleaf...

    Member
    8
    Dec 28, 2017
    Spain
    Nowhere

    PlayerNX - (PoC) video player for homebrew!


    Hi guys!
    Many of you have asked me a lot of times to try making a video player. After managing to build the ffmpeg experimental pacman package, i've been working the entire day on a video player.

    Plays the MP4 placed at "sdmc:/media/video.mp4". It should automatically stop playback for any found errors, so crashes should not occur.

    Audio is still not working (I need to fix some stuff and learn how to use audout service on libnx properly)
    The playback is a bit laggy, but it still shows up ok.
    Enjoy playing videos from anytime, anywhere!

    GitHub repository: https://github.com/XorTroll/PlayerNX
    Releases page on GitHub: https://github.com/XorTroll/PlayerNX/releases

    Supported video formats: MP4, AVI, FLV, MKV, WMV, 3GP, WEBM

    Also, you can pause/resume or stop playback, or even fast forward!
    The controls are explained in the NRO.

    I also plan to embed this player to NSPower!
     
    Last edited by XorTroll, Sep 8, 2018
  2. Asia81

    Asia81 In my Ecchi World <3

    Member
    13
    Nov 15, 2014
    France
    Albi
    inb4 anyone watching hentai in the bed
     
  3. CoolerSugar955

    CoolerSugar955 Member

    Newcomer
    2
    Feb 8, 2018
    United States
    So hentai then?
     
  4. Wolfy

    Wolfy Person That Never Was

    Member
    5
    Aug 18, 2015
    United States
    Somewhere In The Aether...
    Too late, it has already begun...
     
    ccprodigy likes this.
  5. Asia81

    Asia81 In my Ecchi World <3

    Member
    13
    Nov 15, 2014
    France
    Albi
    Meh
     
  6. CoolerSugar955

    CoolerSugar955 Member

    Newcomer
    2
    Feb 8, 2018
    United States
    Fuck you beat me to it
     
    Asia81 and TotalInsanity4 like this.
  7. epickid37

    epickid37 ( ͡° ͜ʖ ͡°)

    Member
    7
    Jan 4, 2017
    United States
    mushroom kingdom
    Woo! This is awesome!
     
  8. Wolfy

    Wolfy Person That Never Was

    Member
    5
    Aug 18, 2015
    United States
    Somewhere In The Aether...
    Why meh? Time for rejoicing! Or at least another homebrew that I probably won't use since I barely touch my Switch anymore XD
     
    Asia81 likes this.
  9. Asia81

    Asia81 In my Ecchi World <3

    Member
    13
    Nov 15, 2014
    France
    Albi
    Anyways, it work fine and video quality is very good (except fps).
    A bit laggy and no sounds, but as you said, it's an early development.
    Good luck with improvements.

    — Posts automatically merged - Please don't double post! —

    @Cyan I'm sure you can stick it in the news main page, this is something everyone is waiting for.
     
    XorTroll likes this.
  10. jjbredesen

    jjbredesen WarezNX Owner

    Member
    13
    GBAtemp Patron
    jjbredesen is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Feb 16, 2018
    Norway
    Hyrule
    Amazing progress, this opens up the door for a lot of things such as a Youtube app :)
     
  11. HtheB

    HtheB GBAtemp Advanced Fan

    Member
    6
    May 15, 2006
    Netherlands
    Bize Her Yer Trabzon
    What codecs, bitrates, resolutions are supported?
    Need more information...
     
  12. 98otiss

    98otiss Phantom Thief

    Member
    4
    Aug 22, 2015
    Canada
    Metaverse
    i can only say one thing.
    REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
     
  13. XorTroll
    OP

    XorTroll Dev: Brew.js, HomebrewWare, NSPack, Goldleaf...

    Member
    8
    Dec 28, 2017
    Spain
    Nowhere
    For the moment a Mp4 file is hardcoded, but check all formats which ffmpeg supports (which are A LOT)
     
    Girtana1 and lordelan like this.
  14. HtheB

    HtheB GBAtemp Advanced Fan

    Member
    6
    May 15, 2006
    Netherlands
    Bize Her Yer Trabzon
    I hope that you do realize that the 'mp4' extension itself has nothing to do with codecs, bitrates and resolutions.....
     
    SavageNoble, VitaType and tiliarou like this.
  15. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    17
    Jan 17, 2013
    Mexico
    Important thing is...
    Is it waifu free?
     
    wicksand420 likes this.
  16. hippy dave

    hippy dave BBMB

    Member
    12
    Apr 30, 2012
    United Kingdom
    Can you work with NX Shell dev, to open a selected file passed as an argument? Just a suggestion to save you writing a file browser.
     
    Girtana1 and antiNT like this.
  17. Zer0w

    Zer0w Member

    Newcomer
    2
    Jul 14, 2018
    Netherlands
    And then you have Nintendo adding Toad icons, thanks for making this.
     
  18. XorTroll
    OP

    XorTroll Dev: Brew.js, HomebrewWare, NSPack, Goldleaf...

    Member
    8
    Dec 28, 2017
    Spain
    Nowhere
    @Joel16 already has plans related to ffmpeg (tagging him because afaik he was planning to add video support to NXShell)
     
    hippy dave likes this.
  19. Cyan

    Cyan GBATemp's lurking knight

    Global Moderator
    21
    Oct 27, 2002
    France
    Engine room, learning
    I'm bad to write a portal news, I'll let native english speaker and reporters doing it.
    @Chary :)

    For a portal news it's too bad there's no sound, but it's a new homebrew release announcement. it merits to keep an eye on it for future updates.
     
  20. RepeatingDigits

    RepeatingDigits GBAtemp Regular

    Member
    2
    Apr 9, 2015
    Chile
    I think mkv would be a better format than mp4, but for a PoC not bad.
     
    TotalInsanity4, Jayro and ccprodigy like this.
Loading...