VVCEasy/Android/README.md

50 lines
1.7 KiB
Markdown
Raw Normal View History

# Android vvdec/uvg266 applications (Termux app)
Requirements: Termux app with apk or F-Droid app. For uvg266/vvdecapp pipe, require FFmpeg on Termux app.
See the screenshot of vvdecapp in Termux app:
![termuxvvdecappinandroid](https://user-images.githubusercontent.com/88035011/176990694-52279bf1-86fd-419e-a2b7-1b6d1038ac18.jpg)
All system types of arm64, armeabi, x86 and x86_64 are built on vvdecapp & uvg266, it is use of Termux app.
arm64 - API 21 (64-bit phones only)
armeabi - API 19 (32-bit phones)
x86 & x86_64 - API 21 (tablets only)
TIP: You can install my built applications:
```
chmod +x vvdecapp uvg266
cp vvdecapp uvg266 $PREFIX/bin
```
### uvg266 encoder
Screenshot:
![termuxuvg266inandroid](https://user-images.githubusercontent.com/88035011/190282518-13c6dfd1-41a4-4a9b-aefe-de9e43c26759.jpg)
Before you download, there were two seperated programs:
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:
```
ffmpeg -i example.mp4 -f yuv4mpegpipe -pix_fmt yuv420p10 -strict -1 - | uvg266 -i - --input-file-format y4m --input-bitdepth 10 -o converted.266
```
For 8-bit uvg266 application, remove `-strict -1`, change from `yuv420p10` to `yuv420p` and remove `--input-bitdepth-10`.
When you want make device sleep during uvg266 encoding, tap Acquire wakelock on Termux notification.
2022-09-15 02:14:53 +02:00
If uvg266 froze itself without printing info, means finished CTRL + C.
VVDEC might not decode with some uvg266 options (example uvg266 presets unplayable with vvdec: ultrafast, superfast, veryfast, veryslow, placebo).
- Martin Eesmaa