<br>attached new patch and old patch too.. <div><br></div><div><br>On Saturday, May 21, 2022, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>On Saturday, May 21, 2022, Andrew Randrianasulu <<a href="mailto:randrianasulu@gmail.com" target="_blank">randrianasulu@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br>On Saturday, May 21, 2022, Andrea paz via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I tried using your patch<br>
(0001-Try-to-disable-jasper-jp<wbr>eg2000-in-opencv.patch) and still the<br>
opencv plugins do not appear. As usual I attach cin5.log and<br>
config.log.</blockquote><div><br></div><div>cin5.log 9404246/9289K 98%</div><div>/home/paz/cinelerra5/cinelerra<wbr>-5.1/thirdparty/opencv/<wbr>modules/videoio/sr</div><div>c/cap_ffmpeg_impl.hpp:541:5: error: ‘AVBSFContext’ does not name a type</div><div>; did you mean ‘AVIOContext’?</div><div> 541 | AVBSFContext* bsfc;</div><div> | ^~~~~~~~~~~~</div><div> | AVIOContext</div><div>cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid fo</div><div>r C/ObjC but not for C++</div><div>/home/paz/cinelerra5/cinelerra<wbr>-5.1/thirdparty/opencv/<wbr>modules/videoio/sr</div><div>c/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::init(</div><div>)’:</div><div><br></div><div><br></div><div>so now it breaks in different place... can you try to disable ffmpeg integration too? </div></blockquote><div><br></div><div>from documentation... </div><div>=== </div><div><br></div><div>It is possible to use CMake tool to print all available options:</div><div><br></div><div># initial configuration</div><div>cmake ../opencv</div><div># print all options</div><div>cmake -L</div><div># print all options with help message</div><div>cmake -LH</div><div># print all options including advanced</div><div>cmake -LA</div><div>====</div><div><br></div><div>FFmpeg</div><div>WITH_FFMPEG (default: ON)</div><div><br></div><div>Integration with FFmpeg library for decoding and encoding video files and network streams. This library can read and write many popular video formats. It consists of several components which must be installed as prerequisites for the build:</div><div><br></div><div>avcodec</div><div>avformat</div><div>avutil</div><div>swscale</div><div>avresample (optional)</div><div>Exception is Windows platform where a prebuilt plugin library containing FFmpeg will be downloaded during a configuration stage and copied to the bin folder with all produced libraries.</div><div><br></div><div>Note</div><div>Libav library can be used instead of FFmpeg, but this combination is not actively supported.</div><div>GStreamer</div><div>WITH_GSTREAMER (default: ON)</div><div><br></div><div>Enable integration with GStreamer library for decoding and encoding video files, capturing frames from cameras and network streams. Numerous plugins can be installed to extend supported formats list. OpenCV allows running arbitrary GStreamer pipelines passed as strings to cv::VideoCapture and cv::VideoWriter objects.</div><div><br></div><div>Various GStreamer plugins offer HW-accelerated video processing on different platforms.</div><div><br></div><div><a href="https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html" target="_blank">https://docs.opencv.org/4.x/<wbr>db/d05/tutorial_config_<wbr>reference.html</a></div><div><br></div><div><br></div><div>===</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
PS: I was thinking that since compiling the latest version on git<br>
works (4.5, on <a href="https://github.com/opencv/opencv.git" target="_blank">https://github.com/opencv/open<wbr>cv.git</a>), can we try<br>
putting this in CinGG git? I mean instead of the current version 3.<br>
</blockquote><div><br></div><div><br></div><div>if it does not demand too much from cmake/gcc.. </div>
</blockquote>
</blockquote></div>