proconsule / nxmp

NXMP is a video player for Nintendo Switch based on MPV
177 stars 19 forks source link

NXMP

Banner NXMP is a video player for Nintendo Switch based on MPV. NXMP support most popular video format , 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,VP8,VP9,MPEG2 up to 4K HDR@30fps

Starting from 0.8.3 the deko3d version features HW Decoding for H264,HEVC,VP8,VP9,MPEG2 up to 4K HDR@60fps

NXMP is coded by proconsule and darkxex

Installation

Edit config.ini

[Main]
startpath=/switch/nxmp

[Network]

[Enigma2]

Network have syntax (you can add as many source as you like) up to version 0.7.0

Network]
source=TESTFtp|ftp://user:pass@192.168.1.10:21/path/
source=TestHTTP|http://192.168.1.10/path/
source=TestSFTp|sftp://192.168.1.10/path/ (without path it default to home)
source=TestSamba|smb://user:pass@192.168.1.10/share/ (share is a share name not a path)
source=TestNFS|nfs://192.168.1.10/export/

Network have syntax (you can add as many source as you like) from version 0.8.0

[Network]
TESTFtp = ftp://user:pass@192.168.1.10:21/path/
TestHTTP = http://192.168.1.10/path/
TestSFTp = sftp://user:pass@192.168.1.10/path/ (without path it default to home)
TestSamba = smb://user:pass@192.168.1.10/share/ (share is a share name not a path)
TestNFS = nfs://192.168.1.10/export/

Enigma2 have syntax

[Enigma2]
e2address=http://192.168.1.10/

Copy "nxmp" folder to switch sdcard (/switch/nxmp)

Usage

Buttons Mapping

FAQ

Question: My 4K file dont work? Why?

Answer Keep in mind that currently Homebrew apps can't access the HW Decoder, so all is done with CPU, 4K file is too heavy to be decoded From version 0.7.0 NXMP have HW Decoding for format H264,HEVC,VP9,MPEG2 it can decode up to 4K HDR@30fps

Q: What is Enigma2?

A: Enigma2 is an application used in Linux-based Digital Video Broadcasting (DVB-S, DVB-C, DVB-T) receivers or TV set-top boxes and Internet Protocol television receivers.

Q: What is ShaderMania?

A: ShaderMania is an useless but fun feature of NXMP, it uses the ability of MPV to load custom shader into the video output chain. I adopt some shaders from https://www.shadertoy.com/ to make shaders effects to the video. Some like grayscale may be usefull for someone others (like the sea shaders) is only for fun. Users can also make their custom shaders and place in mpv/shaders directory.

Translations

If you want to have NXMP translated to your native language use this https://github.com/proconsule/nxmp/blob/master/source/i18n/nxmp-en.h as reference,create a file for your lang and send it to me.

Thanks to