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. > > > https://github.com/FFmpeg/FFmpeg/search?q=static+av_always_inline+int+v360_slice > \ > You are CPU limited. Changing parameters will need to recalculate bunch of stuff and on CPU this is pretty slow. > > 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".
