1. 26 5月, 2023 1 次提交
  2. 17 5月, 2023 1 次提交
  3. 16 5月, 2023 1 次提交
    • M
      Merge pull request #23606 from mshabunin:fix-ffmpeg-packet-limit · 001a2c51
      Maksim Shabunin 提交于
      videoio/FFmpeg: increased packet read attempt limit, allow configuring it
      
      resolves #9455
      related #3225
      
      * Use different counters for wrong packets recieved by demuxer and errors from decoder
      * Allow modifying these counters via environment variables `OPENCV_FFMPEG_READ_ATTEMPTS`/`OPENCV_FFMPEG_DECODE_ATTEMPTS`
      * Added logging when reading breaks at one of error limits
      
      Notes:
      * I've been able to reproduce original issue with a video file with 14 total streams (video + audio + subtitles), at some point in the video only packets from the last stream are being sent by the demuxer, thus exceeding our limit. For my specific video total number of packets from wrong stream was about 2700. I've chosen 4096 as default value.
      * Default limit of decoding attempts is quite low, because I'm not sure in which cases it can be exceeded (network stream?). I tried to read 8k video from the disk, but it did not cause break at decode point.
      001a2c51
  4. 05 5月, 2023 2 次提交
  5. 25 4月, 2023 1 次提交
  6. 09 4月, 2023 1 次提交
  7. 05 4月, 2023 1 次提交
  8. 21 3月, 2023 1 次提交
    • I
      Merge pull request #23300 from... · a60408cd
      ippei.i 提交于
      Merge pull request #23300 from ippei-i:CAP_PROP_AUTO_WB-and-CAP_PROP_WHITE_BALANCE_BLUE_U_support_in_CAP_DSHOW
      
      Support VideoCapture CAP_PROP_AUTO_WB and CV_CAP_PROP_WHITE_BALANCE_BLUE_U for DShow
      
      ### Pull Request Readiness Checklist
      
      See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
      
      - [OK] I agree to contribute to the project under Apache 2 License.
      - [OK] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
      - [OK] The PR is proposed to the proper branch
      - [OK] There is a reference to the original bug report and related work
      https://github.com/opencv/opencv/issues/19621
      https://github.com/opencv/opencv/issues/21408
      
      ### Before apply this pull request console output.
      
      before AWB setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 2000
      CAP_PROP_AUTO_WB: -1
      
      after AWB disable setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 2000
      CAP_PROP_AUTO_WB: -1
      
      after AWB enable setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 2000
      CAP_PROP_AUTO_WB: -1
      
      after Manual WB(and Disable AWB) setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 2000
      CAP_PROP_AUTO_WB: -1
      
      ### After apply this pull request console output.
      
      before AWB setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 2000
      CAP_PROP_AUTO_WB: 0
      
      after AWB disable setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 4000
      CAP_PROP_AUTO_WB: 0
      
      after AWB enable setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 4000
      CAP_PROP_AUTO_WB: 1
      
      after Manual WB(and Disable AWB) setting
      CAP_PROP_WHITE_BALANCE_BLUE_U: 2000
      CAP_PROP_AUTO_WB: 0
      
      ### Test Code
      [OpenCvVideoCapTest.zip](https://github.com/opencv/opencv/files/10825399/OpenCvVideoCapTest.zip)
      a60408cd
  9. 11 2月, 2023 1 次提交
  10. 07 2月, 2023 1 次提交
  11. 25 1月, 2023 1 次提交
  12. 17 1月, 2023 1 次提交
  13. 23 12月, 2022 1 次提交
    • M
      Merge pull request #22930 from MaximMilashchenko:gstreamer_support · 62b3a20d
      Maxim Milashchenko 提交于
      Support one-time audio video reading
      
      * stream switching functionality
      
      * audio+video pipeline with switch stream functionality
      
      * audio video sync
      
      * fixed sync
      
      * removed switch swtream functionality
      
      * changed test for gstreamer audio
      
      * fixed error
      
      * fixed error
      
      * fixed issue
      
      * fixed issue
      
      * fixed error
      
      * fixed error
      
      * fixed error
      62b3a20d
  14. 22 12月, 2022 1 次提交
  15. 21 12月, 2022 1 次提交
  16. 16 12月, 2022 1 次提交
    • H
      Merge pull request #22936 from hzcyf:orbbec_new_cam_support · 47fb79bd
      hzc 提交于
      videoio: add Orbbec Gemini 2 and Astra 2 camera support
      
      ### Test Result
      
      | OS | Compiler | Camera | Result |
      |-----|-----------|---------|--------|
      |Windows11| (VS2022)MSVC17.3|Orbbec Gemini 2|Pass|
      |Windows11| (VS2022)MSVC17.3|Orbbec Astra 2|Pass|
      |Ubuntu22.04|GCC9.2|Orbbec Gemini 2|Pass|
      |Ubuntu22.04|GCC9.2|Orbbec Astra 2|Pass|
      
      ### Pull Request Readiness Checklist
      - [x] I agree to contribute to the project under Apache 2 License.
      - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
      - [x] The PR is proposed to the proper branch
      - [x] The feature is well documented and sample code can be built with the project CMake
      47fb79bd
  17. 15 12月, 2022 1 次提交
  18. 14 12月, 2022 1 次提交
  19. 12 12月, 2022 1 次提交
  20. 07 12月, 2022 1 次提交
  21. 02 12月, 2022 1 次提交
  22. 26 11月, 2022 1 次提交
  23. 12 11月, 2022 1 次提交
    • A
      Merge pull request #22706 from kallaballa:libavdevice_for_ffmpeg_v4l2 · da4ac6b7
      Amir Hassan 提交于
      Introduce libavdevice to make v4l2 available to the ffmpeg backend
      
      * introduce libavdevice to make v4l2 available to the ffmpeg backend
      
      * downgrade the min required libavdevice version to 53.2.0
      
      * make libavdevice optional
      
      * create OCV_OPTION OPENCV_FFMPEG_ENABLE_LIBAVDEVICE and add definition through ocv_add_external_target
      
      * move OCV_OPTION 'OPENCV_FFMPEG_ENABLE_LIBAVDEVICE' to detect_ffmpeg.cmake
      da4ac6b7
  24. 27 10月, 2022 1 次提交
  25. 25 10月, 2022 1 次提交
  26. 18 10月, 2022 1 次提交
    • H
      Merge pull request #22635 from hzawary:4.x · 6eb34716
      Hashem Zavvari 提交于
      Setting CAP_PROP_AUTO_EXPOSURE on VideoCapture with backend DSHOW does not change anything. Now with this implementation the property can be used with value 1 for availability.
      6eb34716
  27. 18 9月, 2022 1 次提交
  28. 15 9月, 2022 1 次提交
  29. 14 9月, 2022 1 次提交
  30. 12 9月, 2022 1 次提交
    • C
      Merge pull request #22248 from cudawarped:ffmpeg_rtsp_low_fps · 46d988e2
      cudawarped 提交于
      * Allow the number of threads FFMpeg uses to be selected during VideoCapture::open().
      Reset interupt timer in grab if
      err = avformat_find_stream_info(ic, NULL);
      is interupted but open is successful.
      
      * Correct the returned number of threads and amend test cases.
      
      * Update container test case.
      
      * Reverse changes added to existing videoio_container test case and include test combining thread change and raw read in the newly added videoio_read test case.
      46d988e2
  31. 23 8月, 2022 1 次提交
  32. 22 8月, 2022 2 次提交
  33. 19 8月, 2022 1 次提交
  34. 18 8月, 2022 1 次提交
  35. 14 8月, 2022 1 次提交
    • B
      videoio: Include missing condition_variable header · c2c539e3
      Biswapriyo Nath 提交于
      This fixes the following error with mingw toolchain:
      opencv/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp:160:10: error: 'condition_variable' in namespace 'std' does not name a type
        160 |     std::condition_variable streamStateCv_;
            |          ^~~~~~~~~~~~~~~~~~
      c2c539e3
  36. 09 8月, 2022 1 次提交
  37. 03 8月, 2022 1 次提交
  38. 02 8月, 2022 1 次提交