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,755
Country
Italy
Do you only push changes to the repo after you're comfortable with a new release? Each commit or batch of commits used for these betas would normally be merged in other repos, but it seems the last one was in January, and it looks like a tiny tweak to the readme.
Yes ALL changes will be on repo, but when all is clean and stable, this version changes a lot under the hood and i want to mass test before a stable release.
There is still a subtitle issue, and a bug with mpeg (seems both ts and ps since fail on transport stream ad program stream) but beside this it seems rock solid
Post automatically merged:

some chinese characters ditn't displayed, follow code may be help

source/gui.cpp#L173-L199 from NX-Shell repo
Yes but this code is ok if you are using system fonts, nxmp use ttf,otf as it can be themed the code is a bit different. But i want to support all charset as it possible just started from this two (cyr and jap) others will be there soon (kor chin thai and so on)
 
Last edited by proconsule54,
  • Like
Reactions: nWo

darkverger

Member
Newcomer
Joined
Jul 25, 2021
Messages
9
Trophies
0
Age
35
XP
118
Country
Bahrain
time for a indev changelog.
So far this what changed:

  • HW Decoding (will be up to 4k 10bit for HEVC) supported codec [H264,HEVC,VP9,MPEG2]
  • SW Decoding for AV1 (yes supported but since is SW Decoding is not usable for video > 720p)
  • Removed WIN32 version (as is not used by anyone and future changes in gfx backend to deko3d will break this version)
  • Updated FFMPEG to 6.0.0 (this is the version used for HW Decoding)
  • Updated MPV to 0.36.0 (Needed for use new FFMPEG without issue)
  • Code Cleanup (removed warning on compilation)
  • Added Share Add Menu (you can now set a new network share within NXMP

Also for dev keep in mind that in the past weeks the HW Decoding feature had an huge impact on dev scene, many packages in dkp-pacman had been updated.

The FFMpeg now on portlibs is the one with HW Decoding compiled, but since i need also network stuff the one used by NXMP have changes for libsmb2, libnfs and so on i used a custom one. All the changes will be commited in nxmp-portlibs repo as soon as i cleaned up all codes.

A new beta will be out soon reflecting thoose changes.

Enjoy and post feedback on Open Beta.
Hi proconsule, i was the one asking for AV1 support, thank you for taking it into consideration.
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,755
Country
Italy
A small addition to playerWindow, the file ame/titlename now instead of being trucated if too long it will scroll ping-pong.

A small but nice change

(Probably it can be do on filelist also “subcalassing” th Selectable call of imgui

Any feedback on 4k? It runs?
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,755
Country
Italy
Can someone point me to a ts sample that give problem pls
Post automatically merged:

Docked mode looked bad..... i never tried it by myself so need a rewrite (just a bit)

Now Docked mode will look just the same as handled mode (in terms of size of font/icons and so on)
 
Last edited by proconsule54,
  • Like
Reactions: Beetlejuice90

Beetlejuice90

Active Member
Newcomer
Joined
Jul 23, 2022
Messages
29
Trophies
0
Location
Berlin
XP
322
Country
Germany
Can someone point me to a ts sample that give problem pls
Post automatically merged:

Docked mode looked bad..... i never tried it by myself so need a rewrite (just a bit)

Now Docked mode will look just the same as handled mode (in terms of size of font/icons and so on)
I just send you a PM.
 
  • Like
Reactions: proconsule54

nWo

The Game Master
Member
Joined
Oct 20, 2016
Messages
1,007
Trophies
0
Website
www.facebook.com
XP
2,954
Country
Mexico
You know, I used it in docked mode and thought that you have changed the font :rofl: it looks smaller, yes, but not necessarily bad. The only problem is the subtitles issue, up until now. Still making tests but everything looks great.
 
  • Like
Reactions: proconsule54

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,755
Country
Italy
Ok bug status:

  • For the subtitle bug is not a bug but an expected behaviour. if you use nro alone without mpv directory external subs are not render. to test the beta in the right way you have to use the stable release and replace the nro.
  • TS Bug. Seems like the TS read goods from sd card and have some problems from the USB. this is strange and have to be confirmed but in that case i will try build another version of libusbhsfs.
Need some feedback for 4k also (are ok now?)

Here it is Beta5 (hope the final one)

  • Changed dock mode size (should look the same as the handled version)
  • Scrolling text on player Window (hope you like it)

This is the zip with mpv folder also just unzip and test it!
https://mega.nz/file/CldRXZCb#KKf4MecjefLzH7vr08lzVEMfY-UZvuJY7tK7Uj5nIcU
 

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,755
Country
Italy
Started pushing commit into https://github.com/proconsule/nxmp for RC1

Next will be the portlibs (that has relevant part for HW Decoding)
Post automatically merged:

test-stats2.jpg


  • Added Video Stats (can be useful)
  • Added VSYNC option in settings
  • Added Context Menu for Network Browser (Can move/delete entry) along with an Add Share Menu Entry
Will be in the upcoming stable release!
Enjoy!

Edit:

This is the full changelog for 0.7.0

0.7.0 (WIP)

Changelog:
  • HW Decoding for (H264,HEVC,VP9,MPEG2) up to 4K HDR@30fps
  • Added AV1 Decoder (SW Decoding)
  • Added Network Share Add Menu (you can now add net share from NXMP)
  • Added Context Menu on Network Share Browser (Can Move Up/Down Delete Share)
  • Fixed Docked Mode Visual (now should be nearly the same as Handled Mode)
  • Updated SMB2 lib (should work far better) thanks to averne for the patch
  • Updated libusbhsfs to current master
  • Added support for Images (gif,png,jpg)
  • Removed Win32 port (probably was the only one who use it)
  • Added Power and Dec Stats (with all relevant info)
  • Added a scrolling text into playerWindow controls
  • Changed Battery Icon code (now show percentage also)
  • Added emuoverrides and loglevel into config.ini (emuoverrides exclude some part of code so can be run on emulators)
  • Changed how Battery info is fetched (in a more sane way)
  • Cleanup a bit the messy code (just a bit)
 
Last edited by proconsule54,

proconsule54

Well-Known Member
OP
Member
Joined
Nov 5, 2019
Messages
756
Trophies
1
Age
43
XP
2,755
Country
Italy
Updated https://github.com/proconsule/nxmp-portlibs with all changes made for nxmp to work

Despite a problem with VP9 Codec all seems stable now.

Expect a release Today (after 18:00 CEST)
Post automatically merged:

From github:

After a long time a new release! This time with a Huge News! HW Decoding!

Changelog:

  • HW Decoding for (H264,HEVC,VP8,MPEG2) up to 4K HDR@30fps thanks to averne for the code
  • Added AV1 Decoder (SW Decoding)
  • Added Network Share Add Menu (you can now add net share from NXMP)
  • Added Context Menu on Network Share Browser (Can Move Up/Down Delete Share)
  • Fixed Docked Mode Visual (now should be nearly the same as Handled Mode)
  • Updated SMB2 lib (should work far better) thanks to averne for the patch
  • Updated libusbhsfs to current master
  • Added support for Images (gif,png,jpg)
  • Removed Win32 port (probably was the only one who use it)
  • Added Power and Dec Stats (with all relevant info)
  • Added a scrolling text into playerWindow controls
  • Changed Battery Icon code (now show percentage also)
  • Added emuoverrides and loglevel into config.ini (emuoverrides exclude some part of code so can be run on emulators)
  • Changed how Battery info is fetched (in a more sane way)
  • Cleanup a bit the messy code (just a bit)
  • Many small changes inside to make things more sane
Known Issues:

  • VP9 is not working right now
  • Themes are not working right now (will be in future releases)
Is a big new release i expect can be some other issues. They will be fixed asap.

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

Enjoy and let me Know!
 
Last edited by proconsule54,

darkxex

Well-Known Member
Member
Joined
Jun 13, 2016
Messages
156
Trophies
0
Age
30
Location
Santiago
XP
979
Country
Chile
Sorry I don't have access to do so, i don't know the authors of hb app store.

This version despite is the fastest and better ever (and with HW Decoding) is like be ignored by nearly all.
Too bad.
I think I can make a request to update that cdn, I'll take care of it.
Post automatically merged:

So I tried to request an update. I'll still see if I can talk on discord to get it updated.
Post automatically merged:

New info about hb menu app
 

Attachments

  • Screenshot_2023-09-08-08-56-24-341_com.android.chrome.jpg
    Screenshot_2023-09-08-08-56-24-341_com.android.chrome.jpg
    319.4 KB · Views: 15
  • Screenshot_2023-09-08-12-17-11-810_com.discord.jpg
    Screenshot_2023-09-08-12-17-11-810_com.discord.jpg
    475 KB · Views: 15
Last edited by darkxex,

proconsule54

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

I am reorganizing the code to be more sane, the project deserve it. The first in order is the file browsing and playlist.

So i made lot of changes and now it will be better, with sorting order (asc/desc) date

A popup menu now will give you this options(along with add single file or selection to playlist)

Playlist system will also be updated to more flexible.

Other dev update will come soon with screenshot
testnewbrowser.png

😃


Sorry the blur....

The new file browser will also be more efficent in terms of max number of file can be display (thanks to ImGui ImGuiListClipper)

No more unresponsive browser with too many file or directory :D
Post automatically merged:

playlist-test1.png


Playlist
Post automatically merged:

Dev Update
Added custom port fot SFTP and FTP also in the Add Share UI
Post automatically merged:

Need someone to test SMB Shares with current 0.7.0.

On my switch it works very well, but i have an issue on girhub that report crash on working share with 0.6.3.

Can someone check this pls!

And Working on 0.7.1 with lots of changes on UI
 
Last edited by proconsule54,

nWo

The Game Master
Member
Joined
Oct 20, 2016
Messages
1,007
Trophies
0
Website
www.facebook.com
XP
2,954
Country
Mexico
New File Browser Context menu

View attachment 392840
Many other changes into the new 0.7.1, i am working hard on it. (if someone want to test a beta version let me know)
You know it! Please tell me how to download and test the beta, a well as if there is something especifically you want me to test.
 
  • Like
Reactions: proconsule54

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Just double click the folder and add it
  • K3Nv2 @ K3Nv2:
    The root folder where you have games stored
  • HiradeGirl @ HiradeGirl:
    Yeah, just try the "add new game directory".
  • JefferyCuddletrousers @ JefferyCuddletrousers:
    no error message, and its just a file not a folder
  • HiradeGirl @ HiradeGirl:
    And do what the troll said.
  • K3Nv2 @ K3Nv2:
    Yeah but Citra uses that to scan folders
  • K3Nv2 @ K3Nv2:
    So it could be like C:\\Games\folder\game.Cci
  • JefferyCuddletrousers @ JefferyCuddletrousers:
    nothing like that pops up
  • JefferyCuddletrousers @ JefferyCuddletrousers:
    wait i mightve gotten it
  • K3Nv2 @ K3Nv2:
    You'll want to add c:\\Games\folder
  • JefferyCuddletrousers @ JefferyCuddletrousers:
    it works now i have no clue what just happened?

    :nayps3:
  • K3Nv2 @ K3Nv2:
    You can also drag and drop the game into it for future reference
  • JefferyCuddletrousers @ JefferyCuddletrousers:
    i know that, it just wouldnt show because it had to be a file and it wasnt
  • K3Nv2 @ K3Nv2:
    Well now it works
  • JefferyCuddletrousers @ JefferyCuddletrousers:
    yeah im confused but thanks all for trying to help haha
  • Sicklyboy @ Sicklyboy:
    Think this Nyko PowerPak+ in my OG 3DS is starting to expand ever so slightly 😨 what a shame, to have to go back to an OG size battery soon.
  • K3Nv2 @ K3Nv2:
    Most emulators will be like that where it asks for a parent directory
  • K3Nv2 @ K3Nv2:
    @Sicklyboy, 3ds batteries are fairly cheap just don't overspend on oem
  • Sicklyboy @ Sicklyboy:
    Yeah I just like this massive extended battery lol
  • K3Nv2 @ K3Nv2:
    Lol length
  • K3Nv2 @ K3Nv2:
    I remember those psp batteries that came with bulged psp battery covers
  • Sicklyboy @ Sicklyboy:
    my PSP battery started swelling up AGES ago
  • Sicklyboy @ Sicklyboy:
    As in I got rid of the battery when I noticed
  • K3Nv2 @ K3Nv2:
    People were hacking batteries just to cfw them
    Xdqwerty @ Xdqwerty: @JefferyCuddletrousers, welcome