Updated Filter (markdown)

Nyanmisaka 2023-12-28 18:47:34 +08:00
parent 08d0c5047f
commit f073a8a1a9

@ -137,7 +137,7 @@ rgaoverlay AVOptions:
---
* `overlay_rkrga` (Put the 540p image on top of 1080p image and center it. The main image can be YUV or RGB, overlay image must be RGB)
* `overlay_rkrga` (Put the 540p image on top of 1080p image and center it. The main image can be YUV or RGB, overlay image MUST be RGB)
```shell
./ffmpeg -init_hw_device rkmpp=hw -filter_hw_device hw -f lavfi -i color=c=cyan:s=1920x1080,format=nv12 -f lavfi -i testsrc2=s=960x540,format=bgra \
-filter_complex "[0:v]hwupload[main];[1:v]hwupload[overlay];[main][overlay]overlay_rkrga=eof_action=pass:repeatlast=0:format=nv12:x=(W-w)/2:y=(H-h)/2" \