[Cin] OpenCV, again!

Andrew Randrianasulu randrianasulu at gmail.com
Sat May 21 13:02:31 CEST 2022


attached new patch and old patch  too..


On Saturday, May 21, 2022, Andrew Randrianasulu <randrianasulu at gmail.com>
wrote:

>
>
> On Saturday, May 21, 2022, Andrew Randrianasulu <randrianasulu at gmail.com>
> wrote:
>
>>
>>
>> On Saturday, May 21, 2022, Andrea paz via Cin <cin at lists.cinelerra-gg.org>
>> wrote:
>>
>>> I tried using your patch
>>> (0001-Try-to-disable-jasper-jpeg2000-in-opencv.patch) and still the
>>> opencv plugins do not appear. As usual I attach cin5.log and
>>> config.log.
>>
>>
>> cin5.log 9404246/9289K 98%
>> /home/paz/cinelerra5/cinelerra-5.1/thirdparty/opencv/modules/videoio/sr
>> c/cap_ffmpeg_impl.hpp:541:5: error: ‘AVBSFContext’ does not name a type
>> ; did you mean ‘AVIOContext’?
>>   541 | AVBSFContext* bsfc;
>>       | ^~~~~~~~~~~~
>>       | AVIOContext
>> cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid fo
>> r C/ObjC but not for C++
>> /home/paz/cinelerra5/cinelerra-5.1/thirdparty/opencv/modules/videoio/sr
>> c/cap_ffmpeg_impl.hpp: In member function ‘void CvCapture_FFMPEG::init(
>> )’:
>>
>>
>> so now it breaks in different place... can you try to disable ffmpeg
>> integration too?
>>
>
> from documentation...
> ===
>
> It is possible to use CMake tool to print all available options:
>
> # initial configuration
> cmake ../opencv
> # print all options
> cmake -L
> # print all options with help message
> cmake -LH
> # print all options including advanced
> cmake -LA
> ====
>
> FFmpeg
> WITH_FFMPEG (default: ON)
>
> 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:
>
> avcodec
> avformat
> avutil
> swscale
> avresample (optional)
> 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.
>
> Note
> Libav library can be used instead of FFmpeg, but this combination is not
> actively supported.
> GStreamer
> WITH_GSTREAMER (default: ON)
>
> 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.
>
> Various GStreamer plugins offer HW-accelerated video processing on
> different platforms.
>
> https://docs.opencv.org/4.x/db/d05/tutorial_config_reference.html
>
>
> ===
>
>
>>
>>
>>
>>>
>>> PS: I was thinking that since compiling the latest version on git
>>> works (4.5, on https://github.com/opencv/opencv.git), can we try
>>> putting this in CinGG git? I mean instead of the current version 3.
>>>
>>
>>
>> if it does not demand too much from cmake/gcc..
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220521/64979d81/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Try-to-disable-jasper-jpeg2000-in-opencv.patch
Type: text/x-diff
Size: 942 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220521/64979d81/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Disable-more-in-opencv-build.patch
Type: text/x-diff
Size: 1058 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20220521/64979d81/attachment-0003.bin>


More information about the Cin mailing list