<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div><br></div><div>Many thanks, Paul, for your detailed answer. </div><div>I just want to confirm that s->in_transform was FISHEYE and s->out_transform was FLAT. </div><div><br></div><div>Regards, </div><div>thong</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Vào Th 6, 29 thg 1, 2021 vào lúc 23:09 Paul B Mahol <<a href="mailto:onemda@gmail.com">onemda@gmail.com</a>> đã viết:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 4:59 PM thông trần minh <<a href="mailto:minhthong494@gmail.com" target="_blank">minhthong494@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>here is the my v360 filter setting <span style="color:rgb(0,128,0)">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 .</span></div><div>I ran some debug and found that both s->in_transform and s->out_transform were FISHEYE.</div></div></div></div></div></div></blockquote><div><br></div><div>Your debugging session info is not correct, as with above options that could not happen.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Is it possible to bring the current algorithm to GPU. May I ask for documentation/article on how the algorithm works?</div></div></div></div></div></div></blockquote><div><br></div><div>GPU version of filter may be implemented fully by using vulkan API, I'm looking for sponsors.</div><div>Until then you could make use of program_opencl filter, if you have OpenCL compatible hardware.</div><div>Note that program_opencl filter does not support filter commands, but that could be added somehow I guess.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Vào Th 6, 29 thg 1, 2021 vào lúc 18:47 Paul B Mahol <<a href="mailto:onemda@gmail.com" target="_blank">onemda@gmail.com</a>> đã viết:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 28, 2021 at 12:16 PM thông trần minh <<a href="mailto:minhthong494@gmail.com" target="_blank">minhthong494@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi everyone, <div><br></div><div>I'm trying to change v360 filter params such as roll, pitch at real-time speed. I'm using <span style="color:rgb(0,103,124)">avfilter_graph_send_command() </span>to make thing happen. The problem came when the image became larger (<span style="color:rgb(32,33,34);font-family:sans-serif;font-size:14px">4096 × 2160 or larger)</span>, 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.</div><div> I'm appreciated any advice to help me deal with it. </div></div></blockquote><div><br></div><div>Also you have not provided info what input/output projection you use.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div><div><a href="https://github.com/FFmpeg/FFmpeg/search?q=static+av_always_inline+int+v360_slice" target="_blank">https://github.com/FFmpeg/FFmpeg/search?q=static+av_always_inline+int+v360_slice</a><br></div><div><br></div><div>Regards, </div><div><br></div><div>thongtm2</div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Vào Th 5, 28 thg 1, 2021 vào lúc 17:59 thông trần minh <<a href="mailto:minhthong494@gmail.com" target="_blank">minhthong494@gmail.com</a>> đã viết:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi everyone, <div><br></div><div>I'm trying to change v360 filter params such as roll, pitch at real-time speed. I'm using <span style="color:rgb(0,103,124)">avfilter_graph_send_command() </span>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() </div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><br></div><div>---------------------------------------</div><div><b>Full Name</b>: Trần Minh Thông </div><div><b>Phone</b>: (+84) 38 731 0304</div><div>--------------------------------------</div><div><br></div></div></div></div></div></div></div></div>
</blockquote></div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div></div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div></div>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>