[FFmpeg-devel] [PATCH] avfilter: add rawdump filter

Eoff, Ullysses A ullysses.a.eoff at intel.com
Wed Jul 10 17:21:24 EEST 2019


> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Hendrik Leppkes
> Sent: Wednesday, July 10, 2019 4:13 AM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] avfilter: add rawdump filter
> 
> On Wed, Jul 10, 2019 at 12:13 PM Fu, Linjie <linjie.fu at intel.com> wrote:
> >
> > > -----Original Message-----
> > > From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> > > Of Paul B Mahol
> > > Sent: Wednesday, July 10, 2019 15:55
> > > To: FFmpeg development discussions and patches <ffmpeg-
> > > devel at ffmpeg.org>
> > > Cc: Eoff, Ullysses A <ullysses.a.eoff at intel.com>
> > > Subject: Re: [FFmpeg-devel] [PATCH] avfilter: add rawdump filter
> > >
> > > On 7/10/19, U. Artie Eoff <ullysses.a.eoff at intel.com> wrote:
> > > > This filter enables raw frames to be dumped to a
> > > > file before they are sent through the auto-inserted
> > > > scaler filter and useful when you want unscaled
> > > > raw frames in an output file.
> > > >
> > >
> > > Why?
> > >
> > > -f rawvideo doesn't work for you?
> >
> > unscaled raw video could be dumped through this filter in resolution changing cases.
> >
> > IMHO, it will be great if there are some options available to disable/enable the auto scaling filter
> > in pipeline, thus the whole stream doesn't need to be scaled into the same size of the first frame.
> > The difference in scale algorithms will make it hard to compare the output with other decoder.
> >
> 
> I believe using -reinit_filter 0 with ffmpeg can achieve such a
> result., as long as you make sure all filtering done (preferably none)
> is capable of on-the-fly changes.
> 

Excellent!  I wouldn't have thought to try -reinit_filter 0 for such a scenario.  I
just tried it and it achieves the exact result we're looking for.  But it's unfortunate
that it generates a warning message for every frame processed.  Is there a simple
way to silence that message, yet still get other verbose logging (I don't want to
flood our automation logs)?

U. Artie

> - Hendrik
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list