[Libav-user] Video scaling
arnaud.bienner at gmail.com
Mon Dec 22 15:18:19 CET 2014
OK, thanks a lot for your prompt answer :)
2014-12-22 15:15 GMT+01:00 Stefano Sabatini <stefasab at gmail.com>:
> On date Monday 2014-12-22 15:11:56 +0100, Arnaud Bienner encoded:
> > Hi,
> > Looking at the examples provided with ffmpeg (2.5) there are two examples
> > to scale an image if I'm right: scaling_video.c but also
> > which filter is "scale=78:24" so I assumed it is also doing some scaling.
> > I believe that once the filter will be parsed and interpreted, this will
> > lead to same underlying code being executed, but I just wanted to be
> > Or is there any reason to prefer on method over the other, regarding
> > performance/features available? (except that filters are probably more
> > convenient to use, but here I'm really interested in performance issues,
> > features missing when using filters and vice versa).
> The scale filter provides a high-level wrapper around libswscale. If
> you don't want/need to use other filters, e.g. to build complex
> filtergraphs, then probably it's better to use libswscale directly, to
> not incur in the libavfilter filtering (relatively small) overhead.
> FFmpeg = Fundamentalist Formidable Mean Prodigious Exciting Gem
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user