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,

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
Current Changelog (probably the final one)

# NXMP Changelog

## [Unreleased 0.8.0]

### Added

- ISO DVD VIDEO Support (both DVD and HD-DVD) (it will play the longest track as default)
- GUI Updated (Now show file date on FS that support it)
- Media Probe (for Playlist duration parsing and in future for other cool things)
- Mini Player (while browsing NXMP contents)
- Battery % and Clock HH::MM on Menu
- Context Menu (For File Browsing and Playlist Menu)
- Sorting Files (Name,Date,Size)
- User extension list in config file (you can filter the file extensions you want)
- Disabled start if in applet mode (We need full RAM Access)
- Button description at the bottom of the screen for relevant functions


### Changes

- Config file for Network section changed (see README.md for details)

### Fixed

- VP9 HW Decoder Fix
- MPEG2 Video now default to HW Decoding
- Layout on dock mode
- Small fixes in code

### Knonw Issues

- Tons of changes can lead to tons of bugs...
- I know code is a mess but works (i am slowly trying to make it better)

Waiting for tests results, if all good a release will come
Post automatically merged:

@snk4ever i tested samba both with win 10 share and a linux box share, all goods.
common problems is share name error or password with char that messup the parser (like = or |)
Post automatically merged:

Take a look also here

https://gbatemp.net/threads/switchfin-jellyfin-client-for-nintendo-switch.639930/

Fresh air for the scene. Good work @dragonflylee
 
Last edited by proconsule54,

urherenow

Well-Known Member
Member
Joined
Mar 8, 2009
Messages
4,814
Trophies
2
Age
48
Location
Japan
XP
3,734
Country
United States
So... the latest updates... libnfs still doesn't want to "makepkg" in linux.

EDIT: Nevermind. My other VM was missing libtool, libtool-bin, intltool, and gtk-doc-tools
EDIT2: Assuming libdvdnav and libdvdread are from VLC... but I don't quite know how to build/install them. So I can't build nxmp right now.
 

Attachments

  • libnfs.txt
    4.4 KB · Views: 35
Last edited by urherenow,

dragonflylee

Member
Newcomer
Joined
Mar 3, 2023
Messages
22
Trophies
0
Age
36
XP
449
Country
China
So... the latest updates... libnfs still doesn't want to "makepkg" in linux.

EDIT: Nevermind. My other VM was missing libtool, libtool-bin, intltool, and gtk-doc-tools
EDIT2: Assuming libdvdnav and libdvdread are from VLC... but I don't quite know how to build/install them. So I can't build nxmp right now.
follow commit will help build portlib by github action workflow

https://github.com/proconsule/nxmp-portlibs/pull/7/commits/e0ce43f6451a718426cab0ea7b54389a48994a8c
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
Neat! Anyway, I already got my build done. Have to remove -ldvdnav and -ldvdread from the makefile at the moment.

good, prepare for next commit, is huge!
Nearly all files are changed......in some way
Post automatically merged:

libdvdnav and libdvdread are just a test i removed, will probably be used in future when usb-dvd are supported (i have a couple of idea for doing this)
 
  • Like
Reactions: Djakku

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
git commit
[master 92e34b6] Ready for 0.8.0 Release (only docs left)
63 files changed, 3815 insertions(+), 1213 deletions(-)

As i said nearly all changed
Post automatically merged:

# NXMP Release

## [0.8.0]

### Added

- ISO DVD VIDEO Support (both DVD and HD-DVD) (it will play the longest track as default)
- GUI Updated (Now show file date on FS that support it)
- Audren Audio Output (SDL still the default if not changed in settings)
- Media Probe (for Playlist duration parsing and in future for other cool things)
- Mini Player (while browsing NXMP contents)
- Battery % and Clock HH::MM on Menu
- Context Menu (For File Browsing and Playlist Menu)
- Sorting Files (Name,Date,Size)
- User extension list in config file (you can filter the file extensions you want)
- Disabled start if in applet mode (We need full RAM Access)
- Button description at the bottom of the screen for relevant functions


### Changes

- Config file for Network section changed (see README.md for details)
- Updated SQLite from 3.7.3 to 3.43.1

### Fixed

- VP9 HW Decoder Fix
- MPEG2 Video now default to HW Decoding
- Layout on dock mode
- Small fixes in code

### Knonw Issues

- Tons of changes can lead to tons of bugs...
- I know code is a mess but works (i am slowly trying to make it better)

### Release Info

- Since the ini parser changed is recommended to start with a fresh ini
- The network share syntax changed see README

Download: https://github.com/proconsule/nxmp/releases/tag/v0.8.0

Post feedback if you like that!
Enjoy!
 
Last edited by proconsule54,

spkatsi

Well-Known Member
Member
Joined
Jan 5, 2019
Messages
136
Trophies
0
XP
1,571
Country
Antarctica
Thanks for the update!

Current defaults: Sub Font Colour = Sub Font Border Colour = "black"
I think they should differentiate by default as white - black (or light grey - dark grey)

Can I change subtitle language (different srt files) during playback?

Bug: navigate to settings, press "Y" to exit, then navigate to settings again -> freezes the settings (can only exit)
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
require prod.key

bug report:
audio playback crashes nxmp
when try to play mp3 flac wave audio files
This IS a big bug, thanks for reporting it.

For the forwarder is for your private use so is fair to use prodkey
Post automatically merged:

Ok quick release to fix audio playback bug.

https://github.com/proconsule/nxmp/releases/tag/v0.8.1

## [0.8.1]

### Fixed

- Audio File playback crash fixed
- Fixed a typo error in popups

Enjoy.

More micro release will be released to fix bugs once they are reported.
 
Last edited by proconsule54,

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
The next release will change the backend from SDL2-OPENGL3 to GLFW3-OPENGL3
This is a intermediate step to move out all SDL mess and make code more similar to what will be when ported to deko3d.

I made some test and deko3d is amazing fast. a little harder to understand but once will be all done nxmp will for sure reach 4kHDR 60fps (what HW can do at best).
Post automatically merged:

Done all relevant changes for glfw, separated the mpv event part from input part.
Done a “debouncing” for glfw raw input from gamepad, all seems to work good
Also i updates imgui to last release, this at first screwed up all the interface but removing some workaround i did for the prev version of imgui all is bettere then everer.

Submit any bug found in 0.8.1 so it can be fixed in next version
 
Last edited by proconsule54,

grootus

Member
Newcomer
Joined
Oct 23, 2018
Messages
23
Trophies
0
XP
106
Country
United States
Thanks for the audio playback bug fix.

dvd iso issues
some dvd iso refuse to work and quit back to file browser.
when working, dvd iso navigation is diffcult with no dvd menu controls.
want to bypass dvd menu screen and straight to movie.
try chapter select, but nothing appears.
for mp2 audio tracks, no sound, but ac3, pcm audio tracks work fine.
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
Dvd iso is in very initial stage if dev, i will make some test to fix it, thanks for reporting it

For mp2 probably the codec is not compiled in. I will check
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
Bug-Report: opening certain (.jpg) files is crashing the Nintendo Switch.
Can you PM me files that fail to render, so i cam make some test
Post automatically merged:

C++:
const char *NXLANGNAME[] = {
    "English",
    "Italiano",
    "Español",
    "Deutsch",
    "Français",
    "Português",
    "日本語",
    "中国人",
};

Next version will have (initial) i18n!
Enjoy!
 
Last edited by proconsule54,

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,733
Country
Italy
nxmp-i18n.png

nxmp-i18n-2.png


Look nice in Japanese, somene can confirm that is correct (using translator i don't know well japanese just a little)
Post automatically merged:

I am working hard to bring the best player i can code.
But i can’t do all, i know only italian and english (not so well) for other lang i need translator for
  • Deutsch
  • French
  • Chinese
  • Japanese
And all other language you want to support i need a translation.

Dont be shy help me (i dont want shitty translation made by me on google translate)

Thanks to @nWo here is the Spanish translation
nxmp-i18n-3.png
 
Last edited by proconsule54,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
    BakerMan @ BakerMan: also happy birthday @Xdqwerty