1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-21 06:11:09 +08:00
Commit Graph

6 Commits

Author SHA1 Message Date
cudawarped
6a18431421 Merge pull request #3001 from cudawarped:fix_cudacodec_wh
* Correct width/height returned by cudacodec::VideoReader::FormatInfo()

* Remove redundant calls to VideoCapture
2021-07-10 12:57:23 +00:00
cudawarped
5f99ff97b9 Update cudacodec to work with Nvidia Video Codec SDK 11.0 2020-12-07 10:01:02 +00:00
cudawarped
7cbe83f217 Merge pull request #2362 from cudawarped:fix_cudacodec_python
Fix cudacodec::VideoReader::nextFrame python bindings

* Signla to python bindings generator that nextFrame's OutputArray is a GpuMat.
Also remove duplicate test in cudacodec

* cudacodec: drop CV_GPU, wrap GpuMat only

* Make it explicit that frame in nextFrame is GpuMat and cannot be multiple types as implied by OutputArray
2019-12-04 18:58:06 +03:00
cudawarped
53b9880f8e Merge pull request #2180 from cudawarped:example_fix_for_cudacodec
OpenCV fix 14774 breaks cudacodec

* Example to describe comilation issue

* Added required changes, builds with -DWITH_FFMPEG=ON|OFF

* Working with standard ffmpeg cap.

* Changed cudacodec to use new retrieveRaw() function, to retrieve the raw encoded bitstream, from the videoio module  instead of its own implementation.

* Fix cv::cudacodec::VideoWriter

* Update to use VideoContainer

* Remove header used in testing

* Remove warning

* remove dependence on redundant ffmpeg codecs

* cudacodec: use .set(CAP_PROP_FORMAT, -1) to extract RAW streams

* whitespace

* addressed alalek's comment
2019-11-18 21:02:12 +03:00
James Bowley
66aba496f1 Add missing codecs to cudacodec which uses Nvidia Video Codec SDK including checks to ensure codec used in input video file is supported on the current device.
Re-enable cudacodec performance test.
2019-06-12 13:51:47 +01:00
Alexander Alekhin
82733fe56b cuda: move CUDA modules to opencv_contrib
OpenCV 4.0+
2018-09-19 18:57:43 +03:00