change output resolution in stream io #38
-
|
expected result code result expected result p.s. best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The correct approach is to make the reader to output small frames: The FFmpeg |
Beta Was this translation helpful? Give feedback.
The correct approach is to make the reader to output small frames:
The FFmpeg
soption (or-soption in cli) sets the output frame size (implicitly inserts a resize filter). If you wish to only set height or width and automatically scale the other, keeping the aspect ratio, specify the dependent dimension as-1or-2if you need to make sure even number of pixels. For example,