mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 06:33:03 +00:00
22890f3ba1
Let ffmpeg rotate, align to stride and convert to RGBA. Do not allocate a framebuffer for every frame. Signed-off-by: Janne Grunau <j@jannau.net>
7 lines
227 B
Bash
Executable file
7 lines
227 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ ! -f bad_apple.webm ] ; then
|
|
yt-dlp -o bad_apple 'https://www.youtube.com/watch?v=UkgK8eUdpAo'
|
|
fi
|
|
|
|
ffmpeg -i bad_apple.webm -vf scale=80:60,rotate='PI/2:oh=iw:ow=ih+4' -f rawvideo -pix_fmt rgba -y out.bin
|