Just use the command below:
ffmpeg -i INPUT_FILE \
-vf scale=3840x2160:flags=lanczos \
-c:v libx264 \
-crf 13 \
-c:a aac -b:a 512k \
| @echo off | |
| setlocal | |
| if "%~1"=="" ( | |
| echo Please provide the path to the folder containing the APKs. | |
| exit /b | |
| ) | |
| set APK_FOLDER=%~1 | |
| set OUTPUT_APK_NAME=%~2 |
| @echo off | |
| setlocal enabledelayedexpansion | |
| if "%~1"=="" ( | |
| echo Please provide a package ID or partial package ID. | |
| exit /b | |
| ) | |
| set package_input=%~1 | |
| set output_dir=output |
| [ | |
| "GS", | |
| "GD", | |
| "CH", | |
| "SL", | |
| "HU", | |
| "TW", | |
| "WF", | |
| "BB", | |
| "PN", |
| $vm = "VMNAME" | |
| Remove-VMGpuPartitionAdapter -VMName $vm | |
| Add-VMGpuPartitionAdapter -VMName $vm | |
| Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionVRAM 1 | |
| Set-VMGpuPartitionAdapter -VMName $vm -MaxPartitionVRAM 11 | |
| Set-VMGpuPartitionAdapter -VMName $vm -OptimalPartitionVRAM 10 | |
| Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionEncode 1 | |
| Set-VMGpuPartitionAdapter -VMName $vm -MaxPartitionEncode 11 | |
| Set-VMGpuPartitionAdapter -VMName $vm -OptimalPartitionEncode 10 | |
| Set-VMGpuPartitionAdapter -VMName $vm -MinPartitionDecode 1 |
| package color | |
| var ( | |
| // Reset | |
| ColorOff = "\033[0m" // Text Reset | |
| // Regular Colors | |
| Black = "\033[0;30m" // Black | |
| Red = "\033[0;31m" // Red | |
| Green = "\033[0;32m" // Green |