[FFmpeg-devel] [PATCH] lavfi/buffersrc: push the frame deeper if requested.

Michael Niedermayer michael at niedermayer.cc
Sat Dec 24 04:10:28 EET 2016

On Fri, Dec 23, 2016 at 09:49:52PM +0100, Nicolas George wrote:
> Reduce peak memory consumption with ffmpeg in certain cases.
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
>  libavfilter/buffersrc.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)


./ffmpeg -i mpegts_with_dvbsubs.ts   -filter_complex '[#0xf30]scale=320:240:flags=bilinear[sub];[#0xfa8]scale=320:240:flags=bilinear[video];[video][sub]overlay[v]' -map '[v]' -map '#0x1048' -t 1 a.mkv


also this patch changes the output of ffmpeg in many cases

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

it is not once nor twice but times without number that the same ideas make
their appearance in the world. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161224/8b2955ab/attachment.sig>

More information about the ffmpeg-devel mailing list