2022-09-15 01:55:11 +02:00
|
|
|
# Android vvdec/uvg266 applications (Termux app)
|
|
|
|
|
2024-04-11 12:00:22 +02:00
|
|
|
Requirements: Termux app with apk or F-Droid app. For uvg266/vvdecapp pipe, it requires FFmpeg installed on Termux app.
|
2022-09-15 01:55:11 +02:00
|
|
|
|
|
|
|
See the screenshot of vvdecapp in Termux app:
|
|
|
|
|
|
|
|
![termuxvvdecappinandroid](https://user-images.githubusercontent.com/88035011/176990694-52279bf1-86fd-419e-a2b7-1b6d1038ac18.jpg)
|
|
|
|
|
2023-05-06 05:53:10 +02:00
|
|
|
All system types of arm64, armeabi, x86 and x86_64 is built on vvdecapp & uvg266, it is use of Termux app.
|
2022-09-15 01:55:11 +02:00
|
|
|
|
|
|
|
arm64 - API 21 (64-bit phones only)
|
|
|
|
|
|
|
|
armeabi - API 19 (32-bit phones)
|
|
|
|
|
2024-03-31 13:54:49 +02:00
|
|
|
x86 - API 19 (32-bit tablets only)
|
2022-12-03 05:30:04 +01:00
|
|
|
|
|
|
|
x86_64 - API 21 (64-bit tablets only)
|
2022-09-15 01:55:11 +02:00
|
|
|
|
|
|
|
TIP: You can install my built applications:
|
|
|
|
|
|
|
|
```
|
2022-12-03 05:30:04 +01:00
|
|
|
chmod +x vvdecapp uvg266 vvencapp
|
|
|
|
cp vvencapp vvdecapp uvg266 $PREFIX/bin
|
2022-09-15 01:55:11 +02:00
|
|
|
```
|
|
|
|
|
2022-12-03 05:30:04 +01:00
|
|
|
### vvencapp encoder (Fraunhofer HHI)
|
|
|
|
|
|
|
|
Screenshot (tested my phone):
|
|
|
|
|
|
|
|
![vvencapptermux](vvencapptermux.png)
|
|
|
|
|
|
|
|
Please note, that supports 64-bit programs only.
|
|
|
|
|
|
|
|
### uvg266 encoder (Scalable video encoder)
|
2022-09-15 01:55:11 +02:00
|
|
|
|
|
|
|
Screenshot:
|
|
|
|
|
|
|
|
![termuxuvg266inandroid](https://user-images.githubusercontent.com/88035011/190282518-13c6dfd1-41a4-4a9b-aefe-de9e43c26759.jpg)
|
|
|
|
|
2023-05-06 05:53:10 +02:00
|
|
|
Before you download, there were two separated programs:
|
2022-09-15 01:55:11 +02:00
|
|
|
|
|
|
|
AndroidUVG266.7z - 10-bit input/encoder only.
|
|
|
|
|
|
|
|
AndroidUVG266-8bit.7z - 8-bit input/encoder only.
|
|
|
|
|
|
|
|
If you want pipe from FFmpeg to uvg266, you can do command:
|
|
|
|
```
|
2022-09-15 02:10:36 +02:00
|
|
|
ffmpeg -i example.mp4 -f yuv4mpegpipe -pix_fmt yuv420p10 -strict -1 - | uvg266 -i - --input-file-format y4m --input-bitdepth 10 -o converted.266
|
2022-09-15 01:55:11 +02:00
|
|
|
```
|
|
|
|
|
2022-09-15 02:10:36 +02:00
|
|
|
For 8-bit uvg266 application, remove `-strict -1`, change from `yuv420p10` to `yuv420p` and remove `--input-bitdepth-10`.
|
2022-09-15 01:55:11 +02:00
|
|
|
|
2024-04-11 12:00:22 +02:00
|
|
|
When you want make device sleep during uvg266 encoding, tap **Acquire wake lock** on Termux notification.
|
2022-09-15 01:55:11 +02:00
|
|
|
|
2024-04-11 12:00:22 +02:00
|
|
|
If uvg266 froze itself for couple minutes without printing the info, it means finished, tap CTRL + C.
|
2022-09-15 02:14:53 +02:00
|
|
|
|
2022-09-15 04:11:54 +02:00
|
|
|
VVDEC might not decode with some uvg266 options (example uvg266 presets unplayable with vvdec: preset placebo & lossless.
|
2022-09-15 01:55:11 +02:00
|
|
|
|
2022-09-15 02:10:36 +02:00
|
|
|
- Martin Eesmaa
|