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

Michael Niedermayer michael at niedermayer.cc
Sat Dec 24 04:18:11 EET 2016


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


[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- 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/d72af631/attachment.sig>


More information about the ffmpeg-devel mailing list