[Libav-user] How to optimize v360 filter config_output

thông trần minh minhthong494 at gmail.com
Thu Jan 28 13:15:50 EET 2021


Hi everyone,

I'm trying to change v360 filter params such as roll, pitch at
real-time speed. I'm using avfilter_graph_send_command() to make thing
happen. The problem came when the image became larger (4096 × 2160 or
larger), it took more time to init a new filter graph. I found that most of
the time it spent on running this callback v360_slice() . Firstly, I
thought I could vectorize two for loops inside v360_slice() but I was
unable to understand the algorithm in it. I tried to increase the number of
threads processing the slices but it did not work.
 I'm appreciated any advice to help me deal with it.

https://github.com/FFmpeg/FFmpeg/search?q=static+av_always_inline+int+v360_slice

Regards,

thongtm2

Vào Th 5, 28 thg 1, 2021 vào lúc 17:59 thông trần minh <
minhthong494 at gmail.com> đã viết:

> Hi everyone,
>
> I'm trying to change v360 filter params such as roll, pitch at
> real-time speed. I'm using avfilter_graph_send_command() to make thing
> happen. The problem came when the image became larger, it took more time to
> init a new filter graph. I found that most of the time it spent on running
> this callback v360_slice()
>
> ---------------------------------------
> *Full Name*: Trần Minh Thông
> *Phone*: (+84) 38 731 0304
> --------------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210128/bfa82a57/attachment.html>


More information about the Libav-user mailing list