47 lines
1.5 KiB
Markdown
47 lines
1.5 KiB
Markdown
# 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 -o converted.266
|
|
```
|
|
|
|
For 8-bit uvg266 application, remove `-strict -1` and change from `yuv420p10` to `yuv420p`.
|
|
|
|
When you want make device sleep during uvg266 encoding, tap Acquire wakelock on Termux notification.
|
|
|
|
VVDEC might not decode with some uvg266 options (example uvg266 presets unplayable with vvdec: ultrafast, superfast, veryfast, veryslow, placebo).
|
|
|
|
- Martin Eesmaa |