Skip to content

Several test cases in videoio/videocapture_acceleration.read fail on Windows (VP9) #19694

@asmorkalov

Description

@asmorkalov
System information (version)
  • OpenCV => 4.5.2-dev
  • Operating System / Platform => Windows 10 64 Bit
  • Compiler => Visual Studio 2019 + Ninja
  • Hardware: Xeon® Silver 4210 + Quadro P2000 (CUDA 11.2).
Detailed description
[ RUN      ] videoio/videocapture_acceleration.read/61, where GetParam() = (sample_322x242_15frames.yuv420p.libvpx-vp9.mp4, FFMPEG, ANY, false)
VideoCapture FFMPEG:D3D11
VideoCapture with acceleration = D3D11  @ FFMPEG     on sample_322x242_15frames.yuv420p.libvpx-vp9.mp4 with PSNR-original = 2.37643
C:\Slave\workspace\nightly-master\windows10\opencv\modules\videoio\test\test_video_io.cpp(764): error: Expected: (min_psnr_original) >= (psnr_threshold), actual: 2.37643 vs 30
[  FAILED  ] videoio/videocapture_acceleration.read/61, where GetParam() = (sample_322x242_15frames.yuv420p.libvpx-vp9.mp4, FFMPEG, ANY, false) (187 ms)
[ RUN      ] videoio/videocapture_acceleration.read/62, where GetParam() = (sample_322x242_15frames.yuv420p.libvpx-vp9.mp4, FFMPEG, MFX, false)
[ERROR:0] global /build/opencv/modules/videoio/src/cap_ffmpeg_impl.hpp (1103) open VIDEOIO/FFMPEG: Failed to initialize VideoCapture
[     SKIP ] FFMPEG VideoCapture on sample_322x242_15frames.yuv420p.libvpx-vp9.mp4 not supported with HW acceleration, skipping
[       OK ] videoio/videocapture_acceleration.read/62 (3 ms)
[ RUN      ] videoio/videocapture_acceleration.read/63, where GetParam() = (sample_322x242_15frames.yuv420p.libvpx-vp9.mp4, FFMPEG, D3D11, false)
VideoCapture FFMPEG:D3D11
VideoCapture with acceleration = D3D11  @ FFMPEG     on sample_322x242_15frames.yuv420p.libvpx-vp9.mp4 with PSNR-original = 2.37643
C:\Slave\workspace\nightly-master\windows10\opencv\modules\videoio\test\test_video_io.cpp(764): error: Expected: (min_psnr_original) >= (psnr_threshold), actual: 2.37643 vs 30
[  FAILED  ] videoio/videocapture_acceleration.read/63, where GetParam() = (sample_322x242_15frames.yuv420p.libvpx-vp9.mp4, FFMPEG, D3D11, false) (186 ms)

The issue is reproducible with OpenCV CN Jenkins, e.g. :

I'll add extended log later.

Issue submission checklist
  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues,
    forum.opencv.org, Stack Overflow, etc and have not found solution
  • I updated to latest OpenCV version and the issue is still there
  • There is reproducer code and related data files: videos, images, onnx, etc

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions