1. 03 3月, 2021 2 次提交
  2. 02 3月, 2021 1 次提交
  3. 01 3月, 2021 1 次提交
    • M
      Merge pull request #19460 from mikhail-nikolskiy:videoio-hw · 7bcb51ed
      Mikhail Nikolskii 提交于
      videoio: HW decode/encode in FFMPEG backend; new properties with support in FFMPEG/GST/MSMF
      
      * HW acceleration in FFMPEG backend
      
      * fixes on Windows, remove D3D9
      
      * HW acceleration in FFMPEG backend
      
      * fixes on Windows, remove D3D9
      
      * improve va test
      
      * Copyright
      
      * check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
      
      * CAP_MSMF test on .mp4
      
      * .mp4 in test
      
      * improve va test
      
      * Copyright
      
      * check LIBAVUTIL_BUILD >= AV_VERSION_INT(55, 78, 100) // FFMPEG 3.4+
      
      * CAP_MSMF test on .mp4
      
      * .mp4 in test
      
      * .avi for GStreamer test
      
      * revert changes around seek()
      
      * cv_writer_open_with_params
      
      * params.warnUnusedParameters
      
      * VideoCaptureParameters in GStreamer
      
      * open_with_params
      
      * params->getUnused
      
      * Reduce PSNR threshold 33->32 (other tests use 30)
      
      * require FFMPEG 4.0+; PSNR 30 as in other tests
      
      * GStreamer AVI-demux plugin not installed in Ubuntu test environment?
      
      * fix build on very old ffmpeg
      
      * fix build on very old ffmpeg
      
      * fix build issues
      
      * fix build issues (static_cast)
      
      * FFMPEG built on Windows without H264 encoder?
      
      * fix for write_nothing test on VAAPI
      
      * fix warnings
      
      * fix cv_writer_get_prop in plugins
      
      * use avcodec_get_hw_frames_parameters; more robust fallback to SW codecs
      
      * internal function hw_check_device() for device check/logging
      
      * two separate tests for HW read and write
      
      * image size 640x480 in encode test
      
      * WITH_VA=ON (only .h headers used in OpenCV, no linkage dependency)
      
      * exception on VP9 SW encoder?
      
      * rebase master; refine info message
      
      * videoio: fix FFmpeg standalone plugin build
      
      * videoio(ffmpeg): eliminate MSVC build warnings
      
      * address review comments
      
      * videoio(hw): update videocapture_acceleration.read test
      
      - remove parallel decoding by SW code path
      - check PSNR against the original generated image
      
      * videoio: minor fixes
      
      * videoio(test): disable unsupported MSMF cases (SW and HW)
      
      * videoio(test): update PSNR thresholds for HW acceleration read
      
      * videoio(test): update debug messages
      
      * "hw_acceleration" whitelisting parameter
      
      * little optimization in test
      
      * D3D11VA supports decoders, doesn't support encoders
      
      * videoio(test): adjust PSNR threshold in write_read_position tests
      
      * videoio(ffmpeg): fix rejecting on acceleration device name mismatch
      
      * videoio(ffmpeg): fix compilation USE_AV_HW_CODECS=0, add more debug logging
      
      * videoio: rework VideoAccelerationType behavior
      
      - enum is not a bitset
      - default value is backend specific
      - only '_NONE' and '_ANY' may fallback on software processing
      - specific H/W acceleration doesn't fallback on software processing. It fails if there is no support for specified H/W acceleration.
      
      * videoio(test): fix for current FFmpeg wrapper
      Co-authored-by: NAlexander Alekhin <alexander.a.alekhin@gmail.com>
      7bcb51ed
  4. 28 1月, 2021 1 次提交
  5. 04 9月, 2020 1 次提交
  6. 25 8月, 2020 3 次提交
    • V
      fix: libavcodec version check for AVDISCARD_NONINTRA · f7e524cb
      Vadim Levin 提交于
       - AVDISCARD_NONINTRA flag is supported only for FFMPEG libraries pack
      f7e524cb
    • V
      e503ac50
    • V
      Merge pull request #18146 from VadimLevin:dev/vlevin/ffmpeg-remove-obsolte-versions-support · 458bd165
      Vadim Levin 提交于
      Remove obsolete FFMPEG versions support
      
      * refactor: removed obsolete FFMPEG version support
      
       - Oldest available version via official FFMPEG repository mirror has tag v.0.5
       LIBAVFORMAT version for this tag is 52.31.0
      
      * refactor: prefer std::min function to MIN macro
      
      * refactor: use appropriate macro instead of manual version calculation
      
      * refactor: remove macros for versions prior 0.5.15 release
      
      * refactor: remove libavcodec macros for versions < 54.35.1 (default to Ubuntu 14.04)
      
      * refactor: remove libavformat macro for versions < 54.20.4 (default ubuntu 14.04)
      
      * refactor: remove libavutil macro for versions < 52.3.0 (default ubuntu 14.04)
      
      * refactor: remove missed macros for libavcodec and libavformat
      
      * refactor: remove unused _opencv_ffmpeg_free function
      
      * build: add FFMPEG libraries versions checks
      
       - Add verbose message about what FFMPEG libraries are missing.
       - Add minimal versions check set to libav 9.20 release (default ubuntu 14.04) and FFMPEG 1.1.16 release.
         If the check is failed CMake produces user-friendly message instead of build error.
      
      * fix: libavcodec version guard for AVDISCARD_NONINTRA
      
      * fix: libav check of libavcodec version guard for AVDISCARD_NONINTRA
      
      * fix: version check for AV_CODEC_FLAG_GLOBAL_HEADER
      
      * fix: missing FFMPEG libraries output
      458bd165
  7. 17 8月, 2020 1 次提交
  8. 07 8月, 2020 1 次提交
  9. 23 7月, 2020 2 次提交
  10. 30 5月, 2020 1 次提交
  11. 10 3月, 2020 1 次提交
  12. 26 1月, 2020 1 次提交
  13. 19 11月, 2019 2 次提交
  14. 18 11月, 2019 1 次提交
    • C
      Merge pull request #15290 from cudawarped:ffmpeg_raw_retrieve · 0867e318
      cudawarped 提交于
      Add retrieve encoded frame to VideoCapture
      
      * Add capacity to retrieve the encoded frame from a VideoCapture object.
      
      * Correct raw codec and pixle format output from ffmpeg capture.
      
      * Remove warnings from build.
      
      * Added VideoCaptureRaw subclass.
      
      * Include abstract base class VideoCaptureBase and rename new subclass VideoContainer as suggested by mshabunin.
      
      * Remove using.
      
      * Change base class name for compatibility with jave bindings generator.
      
      * Move grab and retrieve and add override specifier
      
      * Add setRaw and readRaw to IVideoCapture interface
      -setRaw to disable video decoding and enable bitstream filters from mp4 to h254 and h265.
      -readRaw to return the raw undecoded/filtered bitstream.
      Add createRawCapture to initiate a backend with setRaw enabled.
      Remove inheritance and use an independant VideoContainer subclass with IVideoCapture member.
      
      * Address unused parameter warings.
      Remove VideoContainer from python bindings as it no longer returns a Mat.
      Use opencv type uchar instead of unsigned char.
      Add missing destructor to VideoContainer class.
      
      * Address build warnings and include all params in documentation.
      
      * Include deprecated bitstream filtering API.
      
      * Update codec_id query to work with older ffmpeg api's.
      Change api version defines to be consistent - most recent api version first.
      
      * Fix typo.
      
      * Update test to work with naming of new files in the extra repo
      
      * Investigate test failure
      
      * Check bytes read by ffmpeg
      
      * Removed mp4 video container test
      
      * Applied suggested changes.
      
      * videoio: rework API for extraction of RAW video streams
      
      - FFmpeg only
      
      * address review comments
      0867e318
  15. 07 8月, 2019 2 次提交
  16. 16 6月, 2019 1 次提交
  17. 11 4月, 2019 1 次提交
  18. 26 2月, 2019 1 次提交
  19. 03 11月, 2018 1 次提交
  20. 01 11月, 2018 1 次提交
  21. 17 10月, 2018 1 次提交
  22. 03 10月, 2018 1 次提交
    • P
      Obtain fourcc when `AVStream` is network stream · 042c486b
      Peter Rekdal Sunde 提交于
      The `codec_tag` is only available when opening a file from disk. If `AVStream` is a network stream then `fourcc` must be obtained using `codec_id`. I have tested the following scenarios:
      1) Open a `.mp4` file and verify that `codec_tag` is returned (old behavior)
      2) Open a `rtsp` stream and verify that `codec_fourcc` is returned (Tested with a MJPEG, H264 and H265 stream)
      042c486b
  23. 01 10月, 2018 1 次提交
  24. 18 9月, 2018 1 次提交
  25. 07 9月, 2018 2 次提交
    • C
      Merge pull request #12458 from DEEPIR:3.4 · 286c2c23
      cyy 提交于
      * may be an typo fix
      
      * remove identical branch,may be paste error
      
      * add parentheses around macro parameter
      
      * simplify if condition
      
      * check malloc fail
      
      * change the condition of branch removed by commit 3041502861318c85d901e8c08226ff67898c77ed
      286c2c23
    • H
      Utilize CV_UNUSED macro · a39e0daa
      Hamdi Sahloul 提交于
      a39e0daa
  26. 24 7月, 2018 1 次提交
  27. 29 5月, 2018 2 次提交
  28. 08 5月, 2018 1 次提交
  29. 14 3月, 2018 1 次提交
  30. 22 2月, 2018 1 次提交
  31. 20 2月, 2018 1 次提交
  32. 14 2月, 2018 1 次提交