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

Michael Niedermayer michael at niedermayer.cc
Fri Jul 12 21:20:46 EEST 2019


On Wed, Jul 10, 2019 at 07:54:32PM +0000, Eoff, Ullysses A wrote:
> > -----Original Message-----
> > From: Eoff, Ullysses A
> > Sent: Tuesday, July 09, 2019 6:45 PM
> > To: ffmpeg-devel at ffmpeg.org
> > Cc: Eoff, Ullysses A <ullysses.a.eoff at intel.com>
> > Subject: [PATCH] avfilter: add rawdump filter
> > 
> > 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.
> > 
> 
> The primary goal that I'm trying to achieve here is
> dump raw "unscaled" yuv to an output file while 
> decoding a multi-resolution video.  Unfortunately,
> the ffmpeg utility auto-inserts a scaler into the filter
> graph, so -f rawvideo doesn't suffice here since the
> decoded data passes through the scaler before it's
> handed off to the rawvideo filter.
> 
> I experimented with the alternative methods suggested
> in earlier feedback.  More specifically, "reinit_filter"
> and "split" were suggested.
> 
> For "split" filter, I couldn't find a way that it could bypass
> the auto-inserted scaler.
> 

> Although -reinit_filter 0 works in some cases, it is quite
> verbose.  And I have found many other cases where it
> doesn't work when we need to specify additional filters
> (e.g. hwupload, hwdownload when doing qsv or vaapi
> accelerated decoding with hw output formats).

can you fix the cases which do not work so the code works with
-reinit_filter 0 ?

Thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190712/204da0ad/attachment.sig>


More information about the ffmpeg-devel mailing list