gocv icon indicating copy to clipboard operation
gocv copied to clipboard

expose apiPreference in VideoWriter

Open nibbleshift opened this issue 3 years ago • 3 comments

This pull request adds VideoWriter_OpenCap that accepts apiPrefrence.

To create a VideoWriter with apiPreference, the function VideoWriterCap has been exposed to accept the apiPreference. A test has been added to videoio_test to test gstreamer caps.

nibbleshift avatar Jul 30 '20 01:07 nibbleshift

I am going to make some updates to this PR. I will look at gstreamer pipeline elements that are provided in the default install of gstreamer and remove the need for the h264 encoder.

The test I added does require gstreamer. Is this an issue in the AppVeyor configuration?

nibbleshift avatar Jul 30 '20 13:07 nibbleshift

I think that opencv is not built with gstreamer inside appveyor. It uses appveyor.yml which calls appveyor_build_opencv.cmd for compiling opencv, and there is nothing about gstreamer.

golubaca avatar Aug 20 '20 21:08 golubaca

one question , can this pr still be merged?

Is there other way to achive this visbility to create VideoWriters to gstreamer?

jackesdavid avatar May 31 '23 17:05 jackesdavid