[Libav-user] Fwd: resize video stream
ggarra13 at gmail.com
Sat Apr 3 15:59:24 EEST 2021
El 3/4/21 a las 06:21, Сергей Икол escribió:
> I use this example
> I want to change this example a little to resize the output video stream
> Is it posible?
> Can I use sws_scale() for this? Or do I need to use some other method
> for this?
> I would be glad for any advice!)
Yes it is possible and yes you can use sws_scale for this. Just make
sure you are using the right pix_fmt and have the right linesizes in
addition to the new resolution and all should be fine.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user