Many thanks, Paul, for your detailed answer. I just want to confirm that s->in_transform was FISHEYE and s->out_transform was FLAT.
Regards, thong Vào Th 6, 29 thg 1, 2021 vào lúc 23:09 Paul B Mahol <[email protected]> đã viết: > > > On Fri, Jan 29, 2021 at 4:59 PM thông trần minh <[email protected]> > wrote: > >> 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. >> > > Your debugging session info is not correct, as with above options that > could not happen. > > >> Is it possible to bring the current algorithm to GPU. May I ask for >> documentation/article on how the algorithm works? >> > > GPU version of filter may be implemented fully by using vulkan API, I'm > looking for sponsors. > Until then you could make use of program_opencl filter, if you have OpenCL > compatible hardware. > Note that program_opencl filter does not support filter commands, but that > could be added somehow I guess. > > >> >> Vào Th 6, 29 thg 1, 2021 vào lúc 18:47 Paul B Mahol <[email protected]> >> đã viết: >> >>> >>> >>> On Thu, Jan 28, 2021 at 12:16 PM thông trần minh <[email protected]> >>> 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 < >>>> [email protected]> đã 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 >>>> [email protected] >>>> https://ffmpeg.org/mailman/listinfo/libav-user >>>> >>>> To unsubscribe, visit link above, or email >>>> [email protected] with subject "unsubscribe". >>> >>> _______________________________________________ >>> Libav-user mailing list >>> [email protected] >>> https://ffmpeg.org/mailman/listinfo/libav-user >>> >>> To unsubscribe, visit link above, or email >>> [email protected] with subject "unsubscribe". >> >> _______________________________________________ >> Libav-user mailing list >> [email protected] >> https://ffmpeg.org/mailman/listinfo/libav-user >> >> To unsubscribe, visit link above, or email >> [email protected] with subject "unsubscribe". > > _______________________________________________ > Libav-user mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe".
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
