VVCEasy/MPV.md

195 lines
13 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)
2023-08-03 12:08:57 +02:00
# MPV Windows/Linux/Android Player (libvvdec + xHE-AAC support)
2022-05-22 10:50:19 +02:00
MPV Windows/Linux/Android Player (libvvdec + xHE-AAC support) can play your VVC decoded video file and mixed MP4 container with VVC video codec + audio, also it plays xHE-AAC audio with Fraunhofer FDK library.
2022-05-22 10:50:19 +02:00
2023-08-03 12:08:57 +02:00
Screenshot preview, see top-left information of toggle stats on Windows/Linux/Android device:
2022-05-22 10:50:19 +02:00
2024-04-10 12:00:03 +02:00
![mpv-vvceasy-windows](Screenshots/mpv-vvceasy-windows.png)
2022-05-23 11:39:37 +02:00
2024-04-10 12:00:03 +02:00
![mpvlinuxvvceasy](Screenshots/mpv-vvceasy-linux.png)
2022-07-02 08:59:48 +02:00
2024-04-10 12:00:03 +02:00
![mpv-vvceasy-android](Screenshots/mpv-vvceasy-android.png)
2023-08-03 12:08:57 +02:00
2024-01-20 12:24:01 +01:00
# Download MPV Windows/Linux/Android Player (libvvdec + xHE-AAC plugin)
2022-07-02 08:59:48 +02:00
[Windows 7 and later x64](https://mega.nz/file/j9N0WRCK#OpX7ySNnH82xuhIPyBpj4v4RbI_8SLRzMeUbKuhufrw)
2022-05-22 10:50:19 +02:00
[Windows MPV.NET VVCEasy version x64](https://mega.nz/file/6okC0DDS#TQM_C-mpgPJomwvaoQHRHo_T44dF8h6bMSBlGmGR1dE)
[Windows MPVLIB VVCEasy version x64](https://mega.nz/file/G492CYII#_Ad6nswQyVbg5andNzEzxXFeQW1IVXf2ZU9fXEgfgeE)
[Windows 7 and later x86_64-v3 native](https://mega.nz/file/u1l2zTYA#HmiZtkd46EMd9pqcTnhWGC-M3nCv3Y__jLN9T7jLc-c)
[Windows MPVLIB VVCEasy version x86_64-v3 native](https://mega.nz/file/24UggbYD#CsTqPGLa4nEfs_9UheV0auISenDXqFdu465PZfRqozY)
[Linux MPV VVCEasy version x64](https://mega.nz/file/GoFiCK5A#qal_VVgzBuxVUa10NHEumencJ4L2kRQNEdX2zxxaito)
2023-08-03 12:08:57 +02:00
[Arch Linux MPV VVCEasy version x64](https://mega.nz/file/2pFDTSzT#GwoVQ0u6RStUwjk3rc5LkIzLQgmSDMhgV1Xk8WMeQ-w)
[Android API 29 .APK Debug (Recommended)](https://mega.nz/file/DkswgKIT#rRhjtWR1TzwZU6yZECQsoPaWRLmnqgbWORZYi0RnlQI)
2022-05-22 10:50:19 +02:00
[Android API 29 .APK Release unsigned](https://mega.nz/file/6gNRVLrR#cmgB7AaBFIm2XgG3spuAdGbzw9VCUHSLD5mPwSIIJok)
# Official MPV VVC native decoder implementation
It started at January 4 2024 when the native VVC decoder is released on FFmpeg, but it was experimental without IBC (Intra Block Copy).
On February 24 2024, the finally moment about Intra Block Copy has been merged into FFmpeg's official repository, which means native VVC decoder on FFmpeg is completed and it's stable.
His hard work is very good and made by [nuomi2021](https://github.com/nuomi2021) to make native VVC decoder release to FFmpeg.
Now you can use official MPV binaries by shinchiro or my custom build of MPV VVCEasy build to play or decode VVC in MPV. Also FFmpeg too with Btbn or Gyan or VVCEasy builds. :)
Update of 21.03.2024: On March 14th 2024, the official FFmpeg native VVC decoder set to experimental for some little bugs.
See the FFmpeg commit: https://github.com/FFmpeg/FFmpeg/commit/110d8549d575aae6b2f627cd63e2eb7082ab8926
Switched native VVC decoder back to external VVC decoder of libvvdec after native VVC decoder is experimental.
### Changelog
2023-05-06 05:53:10 +02:00
Please check the changelog before you download the new version.
```
20/06/2024 - Updated Windows MPV/MPV.NET/MPV LIB & Linux standalone AppImage VVCEasy build with FFmpeg, vvdec, MediaInfo and others.
17/06/2024 - Updated Android MPV VVCEasy latest build by replacing old FFmpeg by current new FFmpeg-VVC.
2024-05-30 13:06:52 +02:00
30/05/2024 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg, vvdec and others.
29/04/2024 - Updated Windows MPV/MPV.NET/MPV LIB & Linux standalone AppImage VVCEasy build with FFmpeg and others. Added official VVC Matroska tag of V_MPEGI/ISO/VVC, also still supports vvc1 fourcc on V_QUICKTIME tag.
28/04/2024 - Updated Windows MPV/MPV.NET/MPV LIB & Linux standalone AppImage VVCEasy build with FFmpeg, MediaInfo and others. Added support matroska VVC demux on MPV & SAC demuxer (code by Martin Eesmaa).
09/04/2024 - Removed unnecessary shared object files of libgbm, libm, libc and libgcc_s on Linux and Arch Linux AppImages, but now standard Linux AppImage works for all Linux distributions without segmentation fault and Arch Linux AppImage works for Arch based only.
2024-04-08 15:03:25 +02:00
08/04/2024 - Updated FFmpeg for up to 7.0 with nightly latest with MPV VVCEasy Linux latest version and others.
07/04/2024 - Fixed the bug of Android MPV VVCEasy builds by allowing & showing permission of Files and media since Android 13 to access all full of files, also older than Android 13 is still fine.
07/04/2024 - Updated Android MPV VVCEasy latest build with FFmpeg for up to 7.0 with nightly, vvdec and others. Removed libxml2 for configuration and compilation error for using latest version and NDK, so next time or some times I'll put libxml2 back when problem is solved. Downgraded from mbedtls v3 to v2 to make sure include "mbedtls/certs.h" is found during FFmpeg compiling.
07/04/2024 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg for up to 7.0 with nightly, MediaInfo and others.
2024-04-04 02:00:06 +02:00
04/04/2024 - Updated FFmpeg latest with MPV VVCEasy Linux latest version, vvdec and others.
22/03/2024 - Added Windows MPV/MPV.LIB VVCEasy native x64-v3 build with use LLVM, Clang, mimalloc and LTO on, requested by Andarwinux at issue #42 improved.
21/03/2024 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg, vvdec and others. Official FFmpeg commit made native VVC decoder set to experimental, now using libvvdec to decode VVC video. Fixed issue #42.
2024-03-06 13:00:22 +01:00
06/03/2024 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg, vvdec and others. Switched from external VVC decoder to native VVC decoder for reduce CPU usage.
01/03/2024 - Just small added words on instructions.
29/02/2024 - Note about official Windows MPV (shinchiro) and VVCEasy builds can play stable video of VVC for playing via decode. I'll release soon later...
2024-01-20 12:14:11 +01:00
20/01/2024 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg, vvdec and others. About vvdec update, this lowers CPU usage than previous build.
2024-01-05 06:10:37 +01:00
05/01/2024 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg and others.
2023-12-28 11:29:27 +01:00
28/12/2023 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build with FFmpeg, vvdec, Mediainfo and others.
2023-12-02 12:32:38 +01:00
02/12/2023 - Updated FFmpeg latest with MPV VVCEasy Linux latest version and others.
01/12/2023 - Updated Android MPV VVCEasy latest build
2023-11-29 09:15:07 +01:00
29/11/2023 - Fixed MPV Android VVCEasy build for file picker legacy issue
2023-11-29 08:46:13 +01:00
29/11/2023 - Updated Android MPV VVCEasy build with latest FFmpeg, vvdec and others.
2023-11-18 11:11:59 +01:00
18/11/2023 - Updated FFmpeg with MPV/MPV.NET/MPV LIB VVCEasy Windows build, vvdec and others.
2023-10-24 08:36:52 +02:00
24/10/2023 - Updated Android MPV VVCEasy build with vvdec and others.
23/10/2023 - Removed libmujs for error shared libraries loading reason on Arch Linux.
23/10/2023 - Added X11 support to Arch Linux AppImage of MPV VVCEasy build.
23/10/2023 - Added Arch Linux support to avoid segmentation fault reason, just another new AppImage.
2023-10-11 10:26:32 +02:00
11/10/2023 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build, vvdec, Mediainfo and others.
2023-09-20 09:53:48 +02:00
20/09/2023 - Update vvenc & libraries on FFmpeg.
16/09/2023 - Update MPV Linux VVCEasy build with libraries.
2023-08-14 15:09:51 +02:00
14/08/2023 - Update Android MPV VVCEasy build with vvdec updated.
2023-08-11 14:58:19 +02:00
11/08/2023 - Update Linux MPV VVCEasy build and vvdec.
2023-08-11 14:26:13 +02:00
11/08/2023 - Updated Windows MPV/MPV.NET/MPV LIB VVCEasy build, vvdec, Mediainfo and others.
2023-08-03 12:08:57 +02:00
03/08/2023 - Initial release of MPV Linux version AppImage.
2023-07-05 13:48:37 +02:00
05/07/2023 - Updated MPV/MPV.NET VVCEasy build.
18/06/2023 - Improved codes and new commits of Android MPV VVCEasy custom build standalone.
17/06/2023 - Cross compiled of Windows using Arch Linux for improved libraries and updated FFmpeg, MPV & MPV.NET VVCEasy build. New libmpv build.
04/04/2023 - New Android MPV VVCEasy build with new FFmpeg VVCEasy libraries for updated vvenc and vvdec. For gpu-next build, still experimental.
03/04/2023 - New MPV and MPV.NET latest VVCEasy build with new FFmpeg VVCEasy libraries for updated vvenc, vvdec and added libjxl, shaderc, libplacebo and vulkan to make gpu-next available.
2023-03-29 12:31:49 +02:00
29/03/2023 - Update MPV Android package and icons. Tip: You can have two builds between official and VVCEasy build.
19/02/2023 - Add Android TV support of APK builds & update Android MPV VVCEasy builds.
15/02/2023 - Added Android MPV VVCEasy build with gpu-next support.
2023-02-14 13:32:21 +01:00
14/02/2023 - Update Android MPV VVCEasy build latest, but vulkan support is removed for some reason.
2023-01-29 07:29:30 +01:00
29/01/2023 - Updated vvdec code, mpv.net and others on Windows MPV VVCEasy build.
11/01/2023 - Updated vvdec, added Vulkan with shaderc on MPV Android VVCEasy build.
11/10/2022 - Removed libvorbis + updated SDL2 & mpv.net latest.
10/10/2022 - libplacebo removed (does not work Dolby Vision with my custom build) + update mpv, added zimg, & two improved decoders of libspeex & libvorbis.
11/09/2022 - Complete static adding LDFLAGS="-static" to fix new Intel CPU processor users for mpv.net.
11/09/2022 - Added libplacebo + ffnvcodec.
11/09/2022 - Added optional features: SDL2 gamepad, dvdnav & libbluray.
10/09/2022 - Initial release of MPV.NET.
01/09/2022 - New complete static of Windows MPV VVCEasy build.
```
# Limitations & Tips
2022-05-22 10:50:19 +02:00
2024-04-10 13:28:06 +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, Windows requires to run x64 or Linux requires to run x64.
2022-05-22 10:50:19 +02:00
2023-08-03 12:08:57 +02:00
Windows/Linux/Android MPV Player doesn't work seek duration of VVC decoded file only, but only mp4 video container mixed with VVC video codec is only seek supported, including audio & subtitle too.
2022-07-02 08:59:48 +02:00
2023-08-03 12:08:57 +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.
2023-05-06 05:53:10 +02:00
Solution: Please download latest mp4box nightly version and re-mux from .266 to .mp4 file again.
AppImage needs required fuse installed of your Linux distribution on your computer.
2023-08-03 12:08:57 +02:00
2023-08-04 13:23:04 +02:00
Some Linux distributions may not work for AppImage, which may result segmentation fault. Builded & tested on Ubuntu 22.04.2.
2023-08-03 12:08:57 +02:00
2024-04-10 13:28:06 +02:00
About Linux MPV VVCEasy AppImage problem before solution: The problem was that I put four shared object files of libgbm, libm, libc and libgcc_s on both AppImages, which makes some Linux distributions problem
Solution: Please update latest version of Linux or Arch Linux MPV VVCEasy AppImage, because I removed four shared object files of libgbm, libm, libc and libgcc_s to make all Linux distributions work on standalone Linux AppImage, also includes Arch Linux AppImage can work for only all Arch based operating systems.
If you're using Arch Linux or Arch based, please download the Arch Linux AppImage version. You can still use standalone Linux AppImage on Arch Linux or Arch based systems.
### 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 claimed is malicious by Play Protect, press "Install anyway" on your phone.
2022-05-24 14:10:11 +02:00
2024-01-20 12:24:01 +01:00
On Windows, there is available MPV.NET custom build on this download. You can have look for source code: https://github.com/stax76/mpv.net
2022-07-02 08:59:48 +02:00
# SHA256 SUMS
```
ee5d8b2ebdda7e9bacfe4a9dd2ce199e96f2a16ac56a8840190a5c66d86e2471 MPV-VVCEasy-API29debug.apk
cc4ba84d91b91edda102bc0086fbfbfdee1a8b1dd9196bc76edd00101fdaff10 MPV-VVCEasy-API29release-unsigned.apk
9a54dcc4f0afe2dc86eb0053afd9231e87d67272327709b412ef1b836925c3d8 MPV-VVCEasy-Windows-x64.7z
80fb94921463e1c1b7e1afe19ba785d5aaedb14da22ccd59c2efbcea6b7fc3de MPV.NET-VVCEasy-Windows-x64.7z
596d5381baa9c460f6f88fc9ea63eb5d3d0357267ad32b951b7ddc0730bbdb2c MPVLIB-VVCEasy-Windows-x64.7z
8d486291a371c8663e7ddd1d9845cf54f81c316a9c795333a5b490f7621a6cb3 MPV-VVCEasy-Windows-NativeX64.7z
003dbdf1cd6639ff906c2c17dde69a16c1df7fa565cf310ba014ea24b5b330a5 MPVLIB-VVCEasy-Windows-NativeX64.7z
94a7c7372cb6309a891f6f7d5670cb21bd706e15fecf861699777b977efe1b85 MPV-VVCEasy-Linux-x64.7z
ab23b1928069bd3584297dae1d90a95fe2910f91936766ddfa5bdafd53c8a300 MPV-VVCEasy-ArchLinux-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:
```
2022-12-03 05:30:04 +01:00
cd
2022-08-16 13:29:54 +02:00
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
```
2022-08-16 14:01:05 +02:00
Before you build, you need to search `#ifdef __ANDROID__` and delete the lines by end `#endif`:
```
nano deps/fdkaac/libSBRdec/src/lpp_tran.cpp
```
2022-08-16 14:01:05 +02:00
Save the file in nano editor, when you finished removing `#ifdef __ANDROID` lines.
2023-05-06 05:53:10 +02:00
**TIP: You can edit script of vvdec.sh on your own choice.**
2022-08-16 13:29:54 +02:00
Continue follow instructions to build your own MPV build:
https://github.com/MartinEesmaa/mpv-android-vvc/blob/master/buildscripts/README.md
2022-08-16 13:29:54 +02:00
2023-05-06 05:53:10 +02:00
- Martin Eesmaa