[FFmpeg-devel] [PATCH] lavfi/buffersrc: push the frame deeper if requested.
michael at niedermayer.cc
Sat Dec 24 05:04:46 EET 2016
On Sat, Dec 24, 2016 at 03:18:11AM +0100, Michael Niedermayer wrote:
> On Sat, Dec 24, 2016 at 03:10:28AM +0100, Michael Niedermayer wrote:
> > 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(+)
> > deadlocks
> > ./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
> > http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket4074/mpegts_with_dvbsubs.ts
> > also this patch changes the output of ffmpeg in many cases
> heres one case that shows artifacts
> create a file with: (can be any ffmpeg version)
> ./ffmpeg -i matrixbench_mpeg2.mpg -an -vcodec utvideo -t 1 -pix_fmt yuv420p -pred median utv.avi
> if this is played with ffplay (with patch) it shows a brighter
> artifact on the left side of te screen
the utvideo change is caused by ea93052db3594f93f2d10be085a770184da0513d.
not by this patch. i had both locally and just now double checked
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel