ffmpeg -f avfoundation -framerate 30 -s "640x480" -i "0" -c:v rawvideo -pix_fmt rgb24 -f caca -s "640x480" output4.mp4
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libcaca
ffmpeg -i vitrine.mp4 -vf scale=1024:-1 -q:vscale 0 vitrine.avi
| PowerShell -Command "Set-ExecutionPolicy Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1 | |
| PowerShell C:\Users\YOUR_USERNAME\Desktop\hotspot-keepalive.ps1 >> "%TEMP%\StartupLog.txt" 2>&1 |
| # https://superuser.com/a/1434648 | |
| Add-Type -AssemblyName System.Runtime.WindowsRuntime | |
| $asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0] | |
| Function Await($WinRtTask, $ResultType) { | |
| $asTask = $asTaskGeneric.MakeGenericMethod($ResultType) | |
| $netTask = $asTask.Invoke($null, @($WinRtTask)) | |
| $netTask.Wait(-1) | Out-Null | |
| $netTask.Result |
ffmpeg -f avfoundation -framerate 30 -s "640x480" -i "0" -c:v rawvideo -pix_fmt rgb24 -f caca -s "640x480" output4.mp4
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-libcaca
ffmpeg -i vitrine.mp4 -vf scale=1024:-1 -q:vscale 0 vitrine.avi