<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">El 3/4/21 a las 06:21, Сергей Икол
escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAGodDiRa_tdnMTe5dUAYO-3b_oCx3oeaU8d-uxK2mYqS6RB7YA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">Hello!<br>
<br>
I use this example<br>
<a
href="https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/2_remuxing.c"
target="_blank" moz-do-not-send="true">https://github.com/leandromoreira/ffmpeg-libav-tutorial/blob/master/2_remuxing.c</a><br>
<br>
I want to change this example a little to resize the output
video stream<br>
Is it posible?<br>
Can I use sws_scale() for this? Or do I need to use some
other method for this?<br>
<br>
I would be glad for any advice!)<br>
</div>
</div>
</div>
<br>
</blockquote>
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.<br>
</body>
</html>