[FFmpeg-trac] #11044(undetermined:new): padding is very frustrating.
FFmpeg
trac at avcodec.org
Fri Jun 7 11:30:52 EEST 2024
#11044: padding is very frustrating.
-------------------------------------+-------------------------------------
Reporter: elias | Owner: (none)
tsolis |
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Michael Koch):
Replying to [ticket:11044 elias tsolis]:
> this does not work
> "pad=width=2160:height=3840:x=width/2:y=height/2:color=red"
> "pad=width=2160:height=3840:x=iw/2:y=ih/2:color=red"
Your second example has the correct syntax and works for me:
ffmpeg -f lavfi -i testsrc2=s=1920x1080 -vf
"pad=width=2160:height=3840:x=iw/2:y=ih/2:color=red" -y out.png
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11044#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list