El 3/4/21 a las 06:21, Сергей Икол escribió:
Hello!

I use this example
https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/2_remuxing.c

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.
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to