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

Paul B Mahol onemda at gmail.com
Wed Jul 10 17:32:18 EEST 2019


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 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 -
>
>> >
>> > Could you point me to an example of using split to achieve this?
>>
>> See documentation of split filter.
>
> Thanks.  I will take a look and experiment with it.

The resolution changing support is big hack, and should not be relied upon.
Use some other tool. Like gstreamer.

>
>>
>> >
>> > U. Artie
>> >
>> >>
>> >> > 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.
>> >> >
>> >> > - linjie
>> >> > _______________________________________________
>> >> > 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