[Libav-user] How to optimize v360 filter config_output

thông trần minh minhthong494 at gmail.com
Fri Jan 29 17:58:56 EET 2021


here is the my v360 filter setting
v360=input=fisheye:output=flat:ih_fov=180:iv_fov=180:h_fov=95:v_fov=90:w=%d:h=%d:roll=%d:pitch=%d:rorder=rpy
.
I ran some debug and found that both s->in_transform and s->out_transform
were FISHEYE.
Is it possible to bring the current algorithm to GPU. May I ask for
documentation/article on how the algorithm works?

Vào Th 6, 29 thg 1, 2021 vào lúc 18:47 Paul B Mahol <onemda at gmail.com> đã
viết:

>
>
> On Thu, Jan 28, 2021 at 12:16 PM thông trần minh <minhthong494 at gmail.com>
> wrote:
>
>> 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.
>>
>
> Also you have not provided info what input/output projection you use.
>
>
>>
>>
>> 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
>>> --------------------------------------
>>>
>>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/libav-user
>>
>> To unsubscribe, visit link above, or email
>> libav-user-request at ffmpeg.org with subject "unsubscribe".
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210129/86c677fc/attachment.html>


More information about the Libav-user mailing list