<div dir="ltr">OK, thanks a lot for your prompt answer :)<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-22 15:15 GMT+01:00 Stefano Sabatini <span dir="ltr"><<a href="mailto:stefasab@gmail.com" target="_blank">stefasab@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On date Monday 2014-12-22 15:11:56 +0100, Arnaud Bienner encoded:<br>
<span class="">> Hi,<br>
><br>
> Looking at the examples provided with ffmpeg (2.5) there are two examples<br>
> to scale an image if I'm right: scaling_video.c but also filtering_video.c,<br>
> which filter is "scale=78:24" so I assumed it is also doing some scaling.<br>
><br>
<br>
> I believe that once the filter will be parsed and interpreted, this will<br>
> lead to same underlying code being executed, but I just wanted to be sure.<br>
> Or is there any reason to prefer on method over the other, regarding<br>
> performance/features available? (except that filters are probably more<br>
> convenient to use, but here I'm really interested in performance issues, or<br>
> features missing when using filters and vice versa).<br>
<br>
</span>The scale filter provides a high-level wrapper around libswscale. If<br>
you don't want/need to use other filters, e.g. to build complex<br>
filtergraphs, then probably it's better to use libswscale directly, to<br>
not incur in the libavfilter filtering (relatively small) overhead.<br>
<span class="HOEnZb"><font color="#888888">--<br>
FFmpeg = Fundamentalist Formidable Mean Prodigious Exciting Gem<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</font></span></blockquote></div><br></div>