NXMP Nintendo Switch Media Player

nxmp-banner.jpg


NXMP is an open-source Nintendo Switch media player based on MPV and FFMPEG, supporting a wide range of media file formats and codecs.
NXMP is coded by @proconsule54 and @darkxex

It support HTTP,FTP,SFTP,Samba,NFS streaming and it also support Enigma2 decoders. Starting from 0.7.0 Version it features HW Decoding for H264,HEVC,VP9,VP8,MPEG2 up to 4K HDR@30fps

NXMP it's on early versions and active dev state so expect any kind of bugs, anyways it's fully functional and tested before every release

Project repository|Stable Build
Stable: v0.9.0



Features:
  • HW Decoding (since v0.7.0) for (H264,HEVC,VP9,VP8,MPEG2)
  • Extense support of media file formats and codecs, including audio too as well​
  • Touch and controller support, control the MP as you want​
  • Video deinterlace support
  • Advanced image settings, configure the brightness and color options, change aspect ratio and rotate the screen​
  • Custom subtitles, you can configure options like color, text size and position to your preferences​
  • Full sound EQ, allow adjust the sound equalizer to your preferences, you can define presets too​
  • Chapters navigator with titles support​
  • Selector of Video/Audio/Subtitle tracks during play​
  • Playlist queue, allow to enque desired files on a playlist for non-stop play​
  • Resume play, you can continue your videos where you previusly stop it​
  • Watch status, watched videos are marked as green on file explorer​
  • Shadermania, you can apply any shader compatible with MPV to NXMP​



Media sources supported:
  • Nintendo Switch SD Card
  • USB drive attached to dock or Switch with USB C adapter (FAT, NTFS and EXT4, up to 32 drives)
  • HTTP/S files through network
  • FTP and SFTP files
  • Samba (SMB) files shared throught network
  • NFS
  • Enigma2 (allow to view TV channel from satellite decoders compatible with this protocol)


Screenshoots:

2021110300034400.jpg2021110300031500.jpg2021110300032100.jpg2021110300023000.jpg



Post here any kind of bug/suggestions.
Enjoy!

Thanks to libusbhsfs https://github.com/DarkMatterCore/libusbhsfs for USB drives support
Thanks to @averne for HW Decoding FFMpeg! and for many many hints
Thanks to @bodyXY for the banner and the icons!
Thanks to @Godorowski for player UI design and releated icons
Thanks to @Chocola for beta testing a player guide
 
Last edited by proconsule54,

will67

Well-Known Member
Newcomer
Joined
Apr 3, 2015
Messages
58
Trophies
0
Age
52
XP
206
Country
France
Thanks proconsule,
NFS seems fixed now and working well.
Smb seems unreachable with the same credentials with previous version. Ftp is working but when reading a video and going fast forward the video freeze.

Edit: Tested ftp with vsftpd on openwrt router

Edit2: Retested ftp and finally everything is working perfectly. Must had a network failure during my previous tests.
 
Last edited by will67,
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,741
Country
Italy
For ftp keep in mind that is a library written by myself, so is not working as expected outside the test i have done, but i can adopt to any usage, so when you feedback a issue with ftp the configuration used (the server version/os) is an important information

I tested it with vsftpd (many versions) on linux only
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,741
Country
Italy
If i pause a movie it dosent resume at the point Where i stopped (enabled database) what is the 5seconds options for?
Resume is working on my side, i will investigate.

Dev Update:

Since m3u playlist is supported by mpv but badly handled by nxmp (it just shot the playlist to mpv) i make a m3u parser that "mount" the playlist and use it as a list of folder (for using groups in future) with the single link inside
m3u-test1.png

m3u-test2.png

Is very useful for IPTV streams, can be further optimized, is just a first try but it works well
 

Beetlejuice90

Active Member
Newcomer
Joined
Jul 23, 2022
Messages
29
Trophies
0
Location
Berlin
XP
319
Country
Germany
Resume is working on my side, i will investigate.

Dev Update:

Since m3u playlist is supported by mpv but badly handled by nxmp (it just shot the playlist to mpv) i make a m3u parser that "mount" the playlist and use it as a list of folder (for using groups in future) with the single link inside
View attachment 410902
View attachment 410903
Is very useful for IPTV streams, can be further optimized, is just a first try but it works well
OMG you can read my mind or something? I was going to request m3u IPTV support, but thought they have already a lot to do, better don't bother them during christmas.
Post automatically merged:

I see that you are testing 720p streams, unfortunately with beta 0.9.0 FHD streams are buffering endlessly when trying to back out from channel or it crashes the NXMP. Can you look into it?
 
Last edited by Beetlejuice90,
  • Haha
Reactions: proconsule54

Growingcow

Member
Newcomer
Joined
Dec 11, 2023
Messages
13
Trophies
0
Age
49
XP
116
Country
United States
Resume is working on my side, i will investigate.

Dev Update:

Since m3u playlist is supported by mpv but badly handled by nxmp (it just shot the playlist to mpv) i make a m3u parser that "mount" the playlist and use it as a list of folder (for using groups in future) with the single link inside
View attachment 410902
View attachment 410903
Is very useful for IPTV streams, can be further optimized, is just a first try but it works we

Cool, wondering if it's possible to select the language subtitle you want to load?
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,741
Country
Italy

Beetlejuice90

Active Member
Newcomer
Joined
Jul 23, 2022
Messages
29
Trophies
0
Location
Berlin
XP
319
Country
Germany
Hello, I just tested the latest Beta and IPTV doesn't work at all. The files are shown as (.m3u8) but nothing pops. I am on USB with wired network adapter so it can't be my settings since it did work in the Beta before.
 
  • Like
Reactions: proconsule54

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
699
Trophies
1
XP
2,530
Country
Russia
Devoptab has a nasty side effect: a huge overhead on enumerating files on directory listing when you need file sizes. So huge that listing 100+ files make browsing uncomfortable. That's why dbi not using devoptab at all even for USB flash.
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,741
Country
Italy
Devoptab has a nasty side effect: a huge overhead on enumerating files on directory listing when you need file sizes. So huge that listing 100+ files make browsing uncomfortable. That's why dbi not using devoptab at all even for USB flash.
if used with readdir and stat yes is very very slow, but i am calling directly direnext routine, it works great and fast. one call for name and stats

https://github.com/proconsule/nxmp/.../source/fileBrowser/fileBrowserClass.cpp#L141

take a look.
 

duckbill007

Well-Known Member
Member
Joined
May 5, 2011
Messages
699
Trophies
1
XP
2,530
Country
Russia
Yes, but still a call for each file. In most cases directory listing with all the info can be obtained with single call. Also, using dirnext directly does mean that you do not use devoptab API, but a different approach.
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,741
Country
Italy
Yes, but still a call for each file. In most cases directory listing with all the info can be obtained with single call. Also, using dirnext directly does mean that you do not use devoptab API, but a different approach.
Yes sure still using devoptab api, but in a more efficent way than normal use. in most scenario this approach is fast enough. but yes you are right, a more efficent way can be done, but is a step better than the prev implementation.
 

pleaseBUU

New Member
Newbie
Joined
Oct 21, 2023
Messages
2
Trophies
0
Age
22
XP
20
Country
Germany
"Database File Corrupted" on Toggle. Why?

Edit: Fixxed it by first starting the older Version 0.8.2 turning database on there and then starting 0.9.0 and then it upgraded it automaticly.
 
Last edited by pleaseBUU,
  • Like
Reactions: proconsule54

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Julie_Pilgrim @ Julie_Pilgrim:
    oh man, that always goes great!
  • Julie_Pilgrim @ Julie_Pilgrim:
    im sure half the responses won't be literal racial slurs or "drop table" jokes
  • Veho @ Veho:
    Look, it's China. They know what it's like when you give a poll to half a billion trolls.
    +1
  • K3Nv2 @ K3Nv2:
    How much dollar do you think it is?
  • Veho @ Veho:
    ONE MILLION DOLLA
    +1
  • Veho @ Veho:
    I know the pricing of electronics nowadays isn't "how much it actually costs" but "how much we can get away with", but putting up a poll is just cynical.
    +1
  • K3Nv2 @ K3Nv2:
    Probably $150 someone said Anbernic said around the same price as rg556
  • Julie_Pilgrim @ Julie_Pilgrim:
    you know which game i wish they would rerelease
  • Julie_Pilgrim @ Julie_Pilgrim:
    sonic unleashed
  • K3Nv2 @ K3Nv2:
    Make it a happy meal toy
  • Julie_Pilgrim @ Julie_Pilgrim:
    that game's engine is really fucking intensive so it runs like literal shit on xbox 360 and ps3
  • Veho @ Veho:
    Nah I'm getting value creep again. I look at a $50 console "but for just a few more dollars you could get XYZ" and I end up considering the Steam Deck.
    +1
  • Julie_Pilgrim @ Julie_Pilgrim:
    like the lighting in that game was genuinely so good
  • Veho @ Veho:
    Not getting dragged into that again.
  • Julie_Pilgrim @ Julie_Pilgrim:
    i dont get why they didn't port the one game that ran the worst on consoles, to pc
  • Julie_Pilgrim @ Julie_Pilgrim:
    like you port everything to pc except the one game where it would make the most sense. why. what do you gain from this
  • Julie_Pilgrim @ Julie_Pilgrim:
    is sega just personally fucking with me? are they laughing while watching me through my kinect camera as i get up to restart my xbox for the third time because the game froze again
  • K3Nv2 @ K3Nv2:
    Buy handhelds from five below better quality
  • K3Nv2 @ K3Nv2:
    Valve probably going to do another refresh of the deck this fall with rog ally like specs tbh
    +1
  • Veho @ Veho:
    A smaller form factor would be nice too.
    +1
  • K3Nv2 @ K3Nv2:
    A shield portable 2 would be nice aye Nvidia
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    The big leap in all things tech is when carbon based chips start hitting.
  • Psionic Roshambo @ Psionic Roshambo:
    Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)
    Psionic Roshambo @ Psionic Roshambo: Longer battery life cooler temps and faster! What's not to like lol (probably expensive as hell)