[FFmpeg-devel] [PATCH] libavfilter: zscale performance optimization >4x

Paul B Mahol onemda at gmail.com
Thu Mar 10 20:47:14 EET 2022


On Thu, Mar 10, 2022 at 7:41 PM Victoria Zhislina <niva213 at gmail.com> wrote:

> Paul and all, do you have any chances to view my patch from Feb,19? I
> assume I'\ve fixed all you've kindly pointed out and even more. Please
> correct me if I'm wrong. The only question remaining is - are you ok
> with the combination of threading and conditional filter operation (= do
> something if it is really required only) or you prefer to split it to 2
> separate corresponding patches. I'd prefer the first option because it
> makes git ffmpeg repo and ffmpeg development cleaner not dirtier...
>

Patch was already applied and some found issues fixed.


>
> On Tue, Feb 22, 2022 at 11:15 AM Paul B Mahol <onemda at gmail.com> wrote:
>
>> On Tue, Feb 22, 2022 at 9:15 AM Paul B Mahol <onemda at gmail.com> wrote:
>>
>> >
>> >
>> > On Tue, Feb 22, 2022 at 6:25 AM Lynne <dev at lynne.ee> wrote:
>> >
>> >> 19 Feb 2022, 14:58 by niva213 at gmail.com:
>> >>
>> >> > By ffmpeg threading support implementation via frame slicing and
>> doing
>> >> > zimg_filter_graph_build that used to take 30-60% of each frame
>> processig
>> >> > only if necessary (some parameters changed)
>> >> > the performance increase vs original version
>> >> > in video downscale and color conversion  >4x is seen
>> >> > on 64 cores Intel Xeon, 3x on i7-6700K (4 cores with HT)
>> >> >
>> >> > Signed-off-by: Victoria Zhislina <Victoria.Zhislina at intel.com>
>> >> >
>> >>
>> >> Can't you patch such a feature into the upstream instead?
>> >>
>> >
>> > zscale already have own threading ability, but is very hard to use it,
>> > last time i tried.
>> >
>>
>> I mean zimg.
>>
>>
>> >
>> >
>> >> _______________________________________________
>> >> 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".
>> >>
>> >
>> _______________________________________________
>> 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