VVCEasy/README.md

196 lines
9.4 KiB
Markdown
Raw Normal View History

2021-12-17 04:34:14 +01:00
# VVCEasy (Windows (Full), Mac and Linux (partial)
2022-01-06 03:51:15 +01:00
VVCEasy is that you don't have to compile or/and coding to encode VVC (known as Versatile Video Codec). Simple, Easy, Encode and Decode.
2021-10-20 05:47:19 +02:00
VVCEasy comes to one-easy of ffmpeg, vvenc, vvdec and YUView.
2021-10-20 11:46:13 +02:00
Installation: Go to releases and download latest version.
2021-10-20 12:49:09 +02:00
2021-10-20 13:44:26 +02:00
VVCEasy is not yet finished. I'm trying to work with codes. I'm not good coding programming, just simple coding.
Sorry to say that. I will give update once I release news.
2021-10-21 08:23:03 +02:00
2021-12-13 14:09:44 +01:00
Windows source run: RUNVVCEASY.bat
2021-10-21 08:23:03 +02:00
2021-12-17 04:34:14 +01:00
Note to Mac and Linux of o266player VLC: Sorry Mac and Linux users :(, on macOS 10.15.6, I tried build, but it failed, you can have a look for Stack Overflow: https://bit.ly/3GTtNTJ
On Linux, it won't support of VLC (o266player build).
If you want to run VLC (o266player version), you must run Windows only for virtual machine or your real computer.
2021-12-17 04:34:14 +01:00
2022-01-24 14:07:58 +01:00
# Donate to me using cryptocurrency
- **BTC:** `bc1qhf4zu5uythr7vyt2dru73qp0k2rzrx355fsx47yjxc2ueunz8frqxmwap3`
2022-01-24 14:07:58 +01:00
- **MONERO:** `85Ahh93M88gV8ekymtYwb6TS14TZ36jNGTFgceaRH7hj8Rtx1qVB9PobnJLR5siz4nYBnzWy3pkV6KaVroifGMVh7n4br3J`
- **BAT:** For Brave users, you can also contribute by support to me, I'm verified Brave user on Brave Rewards.
2022-01-24 14:07:58 +01:00
# Compatibility Windows Operating System (VLC Media Player v3.0.11.1, o266player build version)
2022-01-06 03:51:15 +01:00
2022-01-29 03:05:52 +01:00
Windows | Compatibility (only x64) | Screenshot
------- | ------- | --------------- |
2022-01-06 03:51:15 +01:00
Windows 2000/ME or older | ❌ (Cannot run custom build)
Windows XP | ⚠️ (Terminal only, GUI is not working)
Windows Vista | ⚠️ (GUI Works, but VVC won't work)
2022-01-29 03:05:52 +01:00
Windows 7 | :white_check_mark: (All checked) | [Link](https://i.postimg.cc/7hfJ22Qf/Windows-7-o266player-Martin-Eesmaa.png)
2022-01-06 03:51:15 +01:00
Windows 8 | :white_check_mark: (All checked)
2022-01-29 03:05:52 +01:00
Windows 8.1 | :white_check_mark: (All checked) | [Link](https://i.postimg.cc/L6QvwkM0/Windows-8-1-o266player-Martin-Eesmaa.png)
2022-01-06 03:51:15 +01:00
Windows 10 | :white_check_mark: (All checked)
Windows 11 | :white_check_mark: (All checked)
2022-01-29 03:05:52 +01:00
Windows Server | Check | Screenshot
------- | ------- | --------- |
2022-01-06 03:51:15 +01:00
Windows Server 2003 | ⚠️ (Terminal only, GUI is not working)
Windows Server 2008 | ⚠️ (GUI Works, but VVC won't work)
2022-01-29 03:05:52 +01:00
Windows Server 2012 | :white_check_mark: (All checked) | [Link](https://i.postimg.cc/NG7MfbJL/Windows-Server-2012-o266player.png)
2022-01-06 03:51:15 +01:00
Windows Server 2016 | :white_check_mark: (All checked)
Windows Server 2019 | :white_check_mark: (All checked)
Windows Server 2022 | :white_check_mark: (All checked)
VLC Custom build of o266player only accepts x64 / 64-bit to work. 32-bit / x86 won't work.
This cannot be run on Windows Vista / Windows Server 2008 or older to play VVC of VLC Custom build. Note: I'm trying to work it out of VLC 3.0.16.
2021-12-21 08:22:27 +01:00
# Compile of VVCEasy
First, before you compile to VVCEasy, you need Inno Setup to compile VVCEasy.
Inno Setup link: https://jrsoftware.org/isdl.php
Step 1: Clone VVCEasy git and open VVCEasy_compiler.iss
```
cd %userprofile%\Downloads
git clone https://github.com/MartinEesmaa/VVCEasy.git
VVCEasy_compiler.iss
2022-02-13 04:00:33 +01:00
```
Step 2: Before you compile, please replace example username by your username of LicenseFile, OutputDir and Source. See the image:
![Instructionsofcompilevvceasy](https://user-images.githubusercontent.com/88035011/153736145-a24a1997-1133-4933-8797-de7c62295d1d.png)
Step 3: Once you replaced of your username, press F9 to compile on your keyboard. After compiling, VVCEasy.exe will be on your Downloads folder.
![VVCEasyclickblueplaybutton](https://user-images.githubusercontent.com/88035011/153736303-b0949f5a-5ac5-4123-92c5-305211a8aadc.png)
2021-10-21 08:23:03 +02:00
# Encode/Decode (easy)
2022-01-13 06:44:21 +01:00
Before you run of RUNVVCEASY.bat or VVCEASY.exe, you need to change input from file name into input.mp4 (as example)
2021-10-21 09:14:44 +02:00
Follow the instructions, the commands will give your options. Since 21 October 2021, VVCEasy is pre-release, but it's construction mode, but you can have a look with .BAT code.
2021-10-21 08:23:03 +02:00
2021-10-20 13:44:26 +02:00
- Martin Eesmaa
2021-10-21 09:10:06 +02:00
# Without VVCEasy, experimental option for professional coders, other developers, and everyone (hard)
2021-10-21 09:10:06 +02:00
You need 7Zip (requires ffmpeg and ffplay), ffmpeg, ffplay, vvenc/vvdec(app) and YUView.
Here are the links:
2022-01-29 03:05:52 +01:00
FFMPEG/FFPLAY: https://www.gyan.dev/ffmpeg/builds/ffmpeg-git-full.7z (go to bin folder and extract two files of ffmpeg and ffplay)
VVENC/VVDEC (Windows, Mac and Linux):
Windows: https://github.com/MartinEesmaa/VVCEasy/blob/master/WindowsVVC/WindowsVVC.7z
Mac: https://github.com/MartinEesmaa/VVCEasy/tree/master/MacOSVVC/MacOSVVC.7z
Linux: https://github.com/MartinEesmaa/VVCEasy/blob/master/LinuxVVC/LinuxVVC.7z
2021-10-21 09:10:06 +02:00
YUView:
2021-10-28 12:04:53 +02:00
https://github.com/IENT/YUView/actions/runs/1365560321
2021-10-21 09:10:06 +02:00
2021-10-21 09:19:24 +02:00
Before we start, you need to make path environments for ffmpeg, ffplay and vvenc/vvdec to make easily.
2021-12-14 12:47:16 +01:00
In Command Prompt (Windows):
2021-12-13 06:27:44 +01:00
```
set PATH=%PATH%;C:\Users\blah\Downloads\VVCEasy\Executables
```
2022-01-29 03:05:52 +01:00
Verify path using Windows Command Prompt:
2021-12-14 12:47:16 +01:00
```
echo %PATH%
```
2021-10-21 09:19:24 +02:00
First:
2021-10-21 09:10:06 +02:00
Transcode any video formats to YUV/Y4M
2022-01-25 12:11:07 +01:00
For YUV transcode (lossy from web quality, YouTube videos and others):
2021-12-13 06:27:44 +01:00
```
2021-12-17 05:50:22 +01:00
ffmpeg -i input.mp4 -strict 1 inputtranscode.yuv
2021-12-13 06:27:44 +01:00
```
2021-10-21 09:10:06 +02:00
2022-01-25 12:11:07 +01:00
For Y4M transcode (lossless from uncompressed video files, only 8 bit):
2021-12-13 06:27:44 +01:00
```
2021-12-17 05:50:22 +01:00
ffmpeg -i input.mp4 -strict 1 inputtranscode.y4m
2021-12-13 06:27:44 +01:00
```
2021-10-21 09:10:06 +02:00
Verify ffplay before encoding with VVENC (important replace video size, otherwise it will not correctly show video, it's like scrambled eggs video):
2021-12-13 06:27:44 +01:00
```
2022-01-25 12:11:07 +01:00
ffplay -f rawvideo -pix_fmt yuv420p -s 854x480 -i inputtranscode.yuv
2021-12-13 06:27:44 +01:00
```
2021-12-17 05:50:22 +01:00
Or replace -i inputtranscode.yuv with `-i inputtranscode.y4m` for y4m users. For yuv420p10 on your input video 10 bit, replace `-pixel_format yuv420p10`.
For easy to verify YUV/Y4M, use YUView, open your YUV or Y4M encoded, make sure video size, YUV/Y4M format and frame rate same like from input video file (e.g. MP4, AVI, MKV and others.
2021-10-21 09:10:06 +02:00
2022-01-25 12:11:07 +01:00
After verifying correctly your YUV/Y4M video
Encode with VVENC (Simple settings, example)
2021-12-13 06:27:44 +01:00
```
vvencapp -i out.yuv -s 854x480 -r 30 -o vvc.266
```
2022-01-25 12:11:07 +01:00
-s means video size, -r means frame per second and -o means output. Note: (Simple) as Default settings is YUV420P (8-bit)
2021-10-21 09:10:06 +02:00
The default of VVENC: Constant Quality is 32 and speed is medium.
2022-01-25 12:11:07 +01:00
If you want to get smaller video size and lossy video, add --qp 38. (Not recommended)
If you want to get lossless video without losing quality, use CQ 16-19 and preset slow (optional slower). (Recommended, only Y4M, Raw and Uncompressed video files)
Lossy video/Smallest video size:
```
2022-01-24 07:52:27 +01:00
vvencapp --qp 38 -i out.yuv -s 854x480 -r 30 -o vvc.266
```
2022-01-29 03:05:52 +01:00
Lossless video (minimum loss quality, only Y4M, Raw, Uncompressed video used):
```
2022-01-25 12:11:07 +01:00
vvencapp --qp 18 -i out.yuv -s 854x480 -r 30 --preset slow -o vvc.266
```
Note to Apple Mac OS and Linux users: Command with `./vvencapp`
2021-12-14 12:47:16 +01:00
Optional Windows users using Windows PowerShell: Command with `.\vvencapp`
2022-01-13 06:44:21 +01:00
2022-01-29 03:05:52 +01:00
Encode with VVENC (Best settings (lossless only of Y4M, Raw and Uncompressed video files), replace video size (-s), framerate (-r) and maximize threads of your cores (--threads), example) (Minimum loss quality) If you want true lossless video, use FFV1 latest version 3.4.
2021-12-13 06:27:44 +01:00
```
2022-01-25 12:11:07 +01:00
vvencapp --qp 18 -i out.yuv -s 854x480 -r 30 --preset slow --threads 16 --tier high -o EXTREME.266
2021-12-13 06:27:44 +01:00
```
2021-10-21 09:10:06 +02:00
NOTE: It is acceptable only for encoding to .h266, .266 and .vvc file container.
Note to 10-bit YUV users: If you encode YUV 10 bit to VVC file, add `-c yuv420_10` before you type ending of -o EXTREME.266.
2022-01-25 12:11:07 +01:00
Note to 8-bit Y4M users: It is only from input video (8-bit) to Y4M (8 bit)
2021-12-21 08:22:27 +01:00
2021-10-28 12:04:53 +02:00
After VVEnc, you can play in YUView develop version, unfortunately this should not work on release version of June.
Drag any your video file of .h266, .266 or .vvc to play. YUView will play your video only about 10 seconds limit.
2021-10-21 09:10:06 +02:00
2021-12-21 08:22:27 +01:00
UPDATE 13th December 2021: VLC Media Player (custom VLC build of o266player, 3.0.11.1 Vetenari, Windows 11) is tested by Martin Eesmaa. It can play only about 600 frames limit / 20+ seconds.
![VLC Media Player (VVC test)](https://user-images.githubusercontent.com/88035011/145756567-d156f630-9e7f-4042-99b5-6ffe8a6b4b64.png)
2022-01-25 12:11:07 +01:00
If you are still not happy about VVC (known as Versatile Video Coding), that you think this is too hard to encode and decode, use AOMEDIA ONE (AV1) that is recommended for most users to easily play VLC Media Player and others. VVC should need played on VLC Media Player in future.
2021-12-13 13:31:19 +01:00
# Compatibility results (VVENC AND VVDEC) TEST COMPLETED BY MARTIN EESMAA
2021-12-13 13:31:19 +01:00
Windows (vvencapp):
![WindowsVVENCDEC](https://user-images.githubusercontent.com/88035011/145812753-eddf04c5-1a10-4892-9118-7478735b1475.png)
2021-12-13 13:31:19 +01:00
Mac (./vvencapp):
![MacOSterminal12](https://user-images.githubusercontent.com/88035011/146367066-1fbfcf2a-8e1f-470c-8701-c3ec8c2b9701.png)
2021-12-13 13:31:19 +01:00
Linux (./vvencapp):
![UbuntuVVENCDEC](https://user-images.githubusercontent.com/88035011/145812781-9a270e03-0dc0-47e6-95ad-4316757d3435.png)
2021-12-13 13:31:19 +01:00
2021-11-26 23:53:37 +01:00
# FAQ (known as Frequently Asked Questions)
2021-11-26 23:43:09 +01:00
Are you real creator of VVCEasy?
Yes... but I'm not real creator of VVC, I didn't build VVC, so it was Fraunhofer that he built VVC.
2021-11-26 23:43:09 +01:00
Are you trying to work build of VVCEasy?
Well yes... it takes longer time to make VVCEasy easier, but VVCEasy is not yet finished until further/update announcement. I don't have employees, so I'm only one.
2021-11-26 23:43:09 +01:00
Is it okay to bring proof screenshots of my errors?
I allow you to bring error screenshots, you can bring proof. More proofs, easier to solve it.
2021-11-26 23:43:09 +01:00
My question is not listed on FAQ. Can I ask any question?
2022-01-13 06:44:21 +01:00
Sure, just go to Issues tab, ask questions or/and give your issue to me.
Do you know what you have skills in your programming?
I know about Batch file and HTML programmer. Some hard programming languages might be difficult to me :/.
2021-11-26 23:43:09 +01:00
2021-10-21 09:10:06 +02:00
If you have any questions or any issues, please go to Issues tab and create your issue.
- Martin Eesmaa