mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Updated Filter (markdown)
parent
08d0c5047f
commit
f073a8a1a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue