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,

averne

Well-Known Member
Member
Joined
Jan 21, 2020
Messages
187
Trophies
0
XP
1,957
Country
France
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 and most filesystem libraries internally buffer directory entries, so calling readdir is effectively just increasing a pointer. Both libsmb2 and libnfs do this for sure, as well as libnx for its posix layer. I just checked and libssh2 seems to do it as well.
I don't know about libusbhsfs and its dependencies, but I think adding buffering should be rather trivial.
 
Last edited by averne,
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
755
Trophies
1
Age
43
XP
2,706
Country
Italy
A small gift/preview.
Since audio playback is a bit ugly i worked a lot to get something better for nxmp. i cant get it ready for 0.9.0 version and need more work to be ready for NXMP so to preview what i am doing a create this

https://mega.nz/file/249TjIxQ#n5zWP63ZOkHhCY6u1wvfBfx-1AZ2GUi5qsqnncNXKQI

Is called NXMilk and is what the name suggest. milkdrop for switch.
put a mp3 file called test.mp3 in /switch/nxmp/ and start it.
It should play and show some nice vis.

Commands:
  • A -> change the vis preset
  • + -> Exit NXMilk
All the vis are milk file UNMODIFIED.

Enjoy! and let me know what you think about it!

This is the only version i will make. is just to preview my effort for making audio playback better!
 

AriaSterling

New Member
Newbie
Joined
Jan 12, 2024
Messages
1
Trophies
0
Age
25
XP
19
Country
Antarctica
Hello dev, nxmp usb mount at firmware 17.0.0 is not working( both usb from dock or from usb c switch).. i was using at below 17.0.0 and its was working fine.

was this issues at my end or what. my nxmp version is 0.9.0 (that i get from hb store)

choosing usb mount result to device error. thanks before
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
755
Trophies
1
Age
43
XP
2,706
Country
Italy
Hello dev, nxmp usb mount at firmware 17.0.0 is not working( both usb from dock or from usb c switch).. i was using at below 17.0.0 and its was working fine.

was this issues at my end or what. my nxmp version is 0.9.0 (that i get from hb store)

choosing usb mount result to device error. thanks before
I am very sorry about that, i will investigate ( i have tested only on 16.10. i will do other tests on fw > 16
 
  • Like
Reactions: AriaSterling

brotherkm

New Member
Newbie
Joined
Oct 13, 2023
Messages
2
Trophies
0
Age
39
XP
29
Country
Russia
Hello dev, nxmp usb mount at firmware 17.0.0 is not working( both usb from dock or from usb c switch).. i was using at below 17.0.0 and its was working fine.

was this issues at my end or what. my nxmp version is 0.9.0 (that i get from hb store)

choosing usb mount result to device error. thanks before
tested nxmp 0.9.0 on 17.0.1. And it worked so as usb mounting through dockstation. Got an error though when pressing Y to return to home and then back to usb... for a few times in a raw...
 

HEV1205

New Member
Newbie
Joined
Feb 1, 2024
Messages
2
Trophies
0
Age
29
XP
8
Country
United States
I am trying to install the latest release onto my switch and am having some trouble. I have uploaded the NXMP release to the SD card and added a second folder with my video in it (there is a preexisting Nintendo folder), but the switch is not recognizing any files on the SD card. Is an SD card the preferred/only way to upload the release or is it possible to do via USB or other method?

Is there other software required that I am missing? For example, is a bootloader like hekate or other program required in addition to the NXMP release?
 
Last edited by HEV1205,

BaamAlex

UDE GA NARU ZE!
Member
Joined
Jul 23, 2018
Messages
6,064
Trophies
1
Age
29
Location
Lampukistan
Website
hmpg.net
XP
6,183
Country
Germany
No - it's pretty much out of the box. I haven't picked it up in a long time and used it minimally before then but am interested if it can be used as a video player. I'm not well versed in modifying the switch though.
But...you need a custom firmware like atmosphère for that...otherwise you can't use nxmp.
 

Growingcow

Member
Newcomer
Joined
Dec 11, 2023
Messages
13
Trophies
0
Age
49
XP
116
Country
United States
I know you are busy with the bug fixes, not sure how difficult it is to do this, but do you think you can enable subtitle selection? Or if it's there already available let me know.
 

BaamAlex

UDE GA NARU ZE!
Member
Joined
Jul 23, 2018
Messages
6,064
Trophies
1
Age
29
Location
Lampukistan
Website
hmpg.net
XP
6,183
Country
Germany
I know you are busy with the bug fixes, not sure how difficult it is to do this, but do you think you can enable subtitle selection? Or if it's there already available let me know.
It is already available. Press right on the dpad (or moving the left stick to the right should work too), then "Tracks". Inside there is an option for video, audio and subs. And inside "Subs" you can choose/enable/disable subtitles.
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
755
Trophies
1
Age
43
XP
2,706
Country
Italy
It is already available. Press right on the dpad (or moving the left stick to the right should work too), then "Tracks". Inside there is an option for video, audio and subs. And inside "Subs" you can choose/enable/disable subtitles.
You explained it very well, thanks.

The right menu is the last one who need a rewrite/redesign.
 
  • Love
Reactions: BaamAlex

brotherkm

New Member
Newbie
Joined
Oct 13, 2023
Messages
2
Trophies
0
Age
39
XP
29
Country
Russia
While proconsule54 working hard with his new version, for that goes my thanks, I found a little solution for app crashing after you change a track and then stop. If you set playback on pause and then change the track (either sub or audio) you can return to filelist with A safely.
 

Growingcow

Member
Newcomer
Joined
Dec 11, 2023
Messages
13
Trophies
0
Age
49
XP
116
Country
United States
Oh my goodness how did i miss that subtitle selection doh!. Thanks for pointing it out me. NXMP is great for my morning train commute.
Okay, so I'm wondering if i am missing something again. I have a video file that's called myshow.mp4. I also have 2 SRT files in the same folder, one is myshow.eng.srt and the other is myshow.ko_KR.srt, neither of the subtitle files show up in the subtitle screen. If I rename the myshow.eng.srt or myshow.ko_KR.srt to myshow.srt then it works. Since I share the switch with my significant other I have to rename the subtitles back and forth all the time.
 
  • Like
Reactions: proconsule54

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: Lol