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

Eoff, Ullysses A ullysses.a.eoff at intel.com
Wed Jul 10 18:02:44 EEST 2019


> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Lynne
> Sent: Wednesday, July 10, 2019 7:52 AM
> To: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH] avfilter: add rawdump filter
> 
> 
> 
> 
> Jul 10, 2019, 3:26 PM by ullysses.a.eoff at intel.com:
> 
> >> -----Original Message-----
> >> From: Paul B Mahol [mailto:onemda at gmail.com]
> >> Sent: Wednesday, July 10, 2019 7:20 AM
> >> To: Eoff, Ullysses A <ullysses.a.eoff at intel.com>
> >> Cc: FFmpeg development discussions and patches <ffmpeg-devel at ffmpeg.org>
> >> Subject: Re: [FFmpeg-devel] [PATCH] avfilter: add rawdump filter
> >>
> >> On 7/10/19, Eoff, Ullysses A <ullysses.a.eoff at intel.com> wrote:
> >> >> -----Original Message-----
> >> >> From: Paul B Mahol [mailto:onemda at gmail.com]
> >> >> Sent: Wednesday, July 10, 2019 3:25 AM
> >> >> 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, 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.
> >> >> >
> >> >>
> >> >> Maybe, I still fail how this filter is useful, when user can use split
> >> >> filter to dump video
> >> >> at any point in graph.
> >> >>
> >> >
> >> > If there are already other ways to achieve the same result without this
> >> > filter then that's great!  Essentially, I'm trying to achieve exactly what
> >> > Linjie stated so we can compare raw results across different decoder
> >> > solutions.  And the forced insertion of the auto scaler in ffmpeg makes
> >> > that difficult for multi-resolution cases.
> >>
> >> Please provide examples of filtergraph where you are supposed to use
> >> this "filter".
> >>
> >
> > ffmpeg -v verbose -hwaccel vaapi -vaapi_device /dev/dri/renderD128 \
> >  -i input.h264 -vf 'format=nv12,rawdump=file=./ffdump.yuv' -f null -
> >
> 
> You can make the decoder output nv12 directly via -hwaccel_output_format nv12

Agree.  There are many ways to specify format.  But there are some formats
which one might want to dump that some hw drivers can't output directly
without conversion. 

> _______________________________________________
> 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