VVCEasy/MPV.md

108 lines
4.4 KiB
Markdown
Raw Normal View History

2022-05-22 10:50:19 +02:00
![mpv-icon128](https://user-images.githubusercontent.com/88035011/169686347-e7f06fa5-01ea-4b13-9ec6-c87570873db7.png)
# MPV Windows/Android Player (libvvdec + xHE-AAC support)
2022-05-22 10:50:19 +02:00
MPV Windows/Android Player (libvvdec + xHE-AAC support) can play your VVC decoded video file and muxed MP4 container with VVC video codec + audio.
2022-05-22 10:50:19 +02:00
2022-07-02 08:59:48 +02:00
Screenshot preview, see top-left information of toggle stats on Windows/Android device:
2022-05-22 10:50:19 +02:00
![mpvandroidwithxheaacplusvvc](https://user-images.githubusercontent.com/88035011/184468869-7286272c-66e3-4b3e-b1cc-015a6e24103d.jpg)
2022-05-23 11:39:37 +02:00
2022-07-02 08:59:48 +02:00
![mpvplayerforwindowslibvvdec](https://user-images.githubusercontent.com/88035011/176990209-4c6bcc0d-ef14-4e4c-8738-edfbb9a6e1c1.png)
### Important Windows users for old builds
If you're using the old build, please download a new build of MPV VVCEasy version.
This is a fix of Intel CPU users and updated version of libvvdec.
Some are now static and some are shared, because enabling static build is saying ld not found (eg. -lpython3.10) on MinGW MSYS2.
Special thanks to @ZenKiyoshi for Intel build bug. See the issue: #16
2022-07-02 08:59:48 +02:00
Another special thanks to @ZenKiyoshi for xHE-AAC support. Requested completed: #17
# Download MPV Windows/Android Player (libvvdec + xHE-AAC plugin)
2022-07-02 08:59:48 +02:00
[Windows 7 and later x64](https://mega.nz/file/Hg8BmQ6T#wyBXlYWPRLnCZ8lKpPlninm3FVg8VY78N1Ip-H7zp84)
2022-05-22 10:50:19 +02:00
[Android API 29 .APK Debug (Recommended)](https://mega.nz/file/ywlyhTgY#CF3nPL4q6ughGKmh3fw84VrLiEKNcW-4ck_oBo4GDUA)
2022-05-22 10:50:19 +02:00
[Android API 29 .APK Release unsigned](https://mega.nz/file/fwMTGKCZ#K0DKjMwUs0uTNyVX9Cwn5pfy21-9EmBVxMFfk8TZY64)
2022-05-22 10:50:19 +02:00
[Android Default 30 .APK Debug](https://mega.nz/file/zgFGXYxS#w0vC8RPRheF_LIxWUGYvoPOzVj7XmFLzTYjV0Ft6OSc)
[Android Default 30 .APK Release unsigned](https://mega.nz/file/ftVwHTRZ#h5mdcyk3JURuz1vsr7sAwtN8MKXqBOjXNGk48jN0PNs)
# Limitations & Tips
2022-05-22 10:50:19 +02:00
This app might crash, slow or freeze on your Android phone for playing VVC high resolutions or/and old devices.
2022-07-02 08:59:48 +02:00
MPV Android libvvdec app requires your system type of ARM64 (aarch64), x86 (i686), ARMv7 (armeabi-v7a) and x86_64 to run on Android or Windows requires to run x64.
2022-05-22 10:50:19 +02:00
Windows/Android MPV Player doesn't work seek duration of VVC decoded file only, but only mp4 video container muxed with VVC video codec is only seek supported, including audio & subtitle too.
2022-07-02 08:59:48 +02:00
Some Android users for 10-bit pixel format or/and tier high might not show video in mp4 container with VVC video codec only.
Some Windows users might cannot run mpv-vvceasy of some builds with old CPU only.
### Tips
Make sure to allow apps from unknown sources. Link: [Wikihow](https://www.wikihow.com/Allow-Apps-from-Unknown-Sources-on-Android)
If Google warns you, that Android MPV (libvvdec plugin) app is malicious by Play Protect, press "Install anyway" on your phone.
2022-05-24 14:10:11 +02:00
2022-07-02 08:59:48 +02:00
On Windows, you can copy mpv-2.dll, mpv-vvceasy and mpv-vvceasy of DLL to mpv.net of https://github.com/stax76/mpv.net
# SHA256 SUMS
```
f36efd2e0de74a527df939dd3a24d604cd4190a019586cab8e0197f131733c84 MPV-VVCEasy-API29debug.apk
26ad71af3c45d030897e45f9c06117cb42926dadc1482a5130042f355d8f9004 MPV-VVCEasy-API29release-unsigned.apk
b977474f162f168b462b8fb33fbaccec2ef0200246f339208913348cb5683101 MPV-VVCEasy-debug.apk
f0117f9b8f6d21ed1e2b1d29ce53c22e15e7e62ea593a9816f4fc1a544a733ba MPV-VVCEasy-release-unsigned.apk
cc6fa2bfa39c255ddb72ad55340cf1d63032c8c5bae67398b773eae52a7bc63c MPV-VVCEasy-Windows-x64.7z
```
2022-08-16 13:29:54 +02:00
# Build MPV Android with VVC and xHE-AAC:
If you want to build MPV Android, you need to update & upgrade first, then install packages:
```
sudo apt update && sudo apt upgrade -y
sudo apt install build-essential cmake nasm libsimde-dev python3 git
```
Next download Temurin from Adoptium and follow the install instructions:
https://adoptium.net/installation/linux
After you installed Temurin from Adoptium, you can verify that is installed on your system:
```
java --version
```
After installing the packages on Linux, clone mpv-android-vvc repository:
```
cd ~
git clone https://github.com/MartinEesmaa/mpv-android-vvc
cd mpv-android-vvc/buildscripts
```
Give shell scripts permission in buildscripts folder:
```
chmod +x scripts/*.sh
```
Before you build, you need to search `#ifdef __ANDROID__` and delete the lines:
```
nano deps/fdkaac/libSBRdec/src/lpp_tran.cpp
```
2022-08-16 13:29:54 +02:00
**TIP: You can edit script of vvdec.sh on your own choise.**
Continue follow instructions to build your own MPV build:
https://github.com/mpv-android/mpv-android/blob/master/buildscripts/README.md
2022-05-22 10:50:19 +02:00
- Martin Eesmaa