Repository: opencv
Issue: videoio: sporadic failures of Media.audio test (GStreamer)
Labels: bug,category: videoio

relates #22930

https://github.com/opencv/opencv/actions/runs/3792983716/jobs/6449670506

<details>

```
[----------] 1 test from Media
[ RUN      ] Media.audio/0, where GetParam() = ("test_audio.mp4", 1, 0.15, 16, 240, 320, 90, 132299, 30, 30, GSTREAMER)

(opencv_test_videoio:7863): GStreamer-WARNING **: 09:42:56.658: Name 'uridecodebin3' is not unique in bin 'pipeline8', not adding
[ WARN:0@13.314] global cap_gstreamer.cpp:1697 open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0@13.314] global cap_gstreamer.cpp:1728 open OpenCV | GStreamer warning: Cannot query video position: status=1, value=0, duration=-1
[ WARN:0@13.316] global cap_gstreamer.cpp:1903 getProperty OpenCV | GStreamer: CAP_PROP_AUDIO_SHIFT_NSEC property is not supported
[ WARN:0@13.316] global cap_gstreamer.cpp:1817 getProperty OpenCV | GStreamer: CAP_PROP_POS_MSEC property result may be unrealiable: https://github.com/opencv/opencv/issues/19025
video0 timestamp: 0  audio0 timestamp: 0 (audio shift nanoseconds: 0 , seconds: 0)
frame=0:  audioFrameSize=1470  videoTimestamp=0 ms
frame=1:  audioFrameSize=2940  videoTimestamp=33.3333 ms
frame=2:  audioFrameSize=1470  videoTimestamp=100 ms
frame=3:  audioFrameSize=0  videoTimestamp=133.333 ms
frame=4:  audioFrameSize=1470  videoTimestamp=133.333 ms
frame...
frame=85:  audioFrameSize=1470  videoTimestamp=2866.67 ms
frame=86:  audioFrameSize=1470  videoTimestamp=2900 ms
frame=87:  audioFrameSize=1470  videoTimestamp=2933.33 ms
frame=88:  audioFrameSize=0  videoTimestamp=2966.67 ms
frame=89:  audioFrameSize=0  videoTimestamp=2966.67 ms
Total audio samples=130829
/home/ci/opencv/modules/videoio/test/test_audio.cpp:46: Failure
Expected equality of these values:
  numberOfSamples
    Which is: 132299
  audioData[nCh].size()
    Which is: 130829
nCh=0
[  FAILED  ] Media.audio/0, where GetParam() = ("test_audio.mp4", 1, 0.15, 16, 240, 320, 90, 132299, 30, 30, GSTREAMER) (215 ms)
[----------] 1 test from Media (215 ms total)
```

</details>

http://pullrequest.opencv.org/buildbot/builders/precommit_opencl_linux/builds/100049/steps/test_videoio-ippicv-opencl/logs/stdio

<details>

```
[----------] 1 test from Media
[ RUN      ] Media.audio/0, where GetParam() = ("test_audio.mp4", 1, 0.15, 16, 240, 320, 90, 132299, 30, 30, GSTREAMER)

(opencv_test_videoio:30393): GStreamer-WARNING **: 07:09:42.110: Name 'uridecodebin3' is not unique in bin 'pipeline8', not adding
[ INFO:0@10.155] global cap_gstreamer.cpp:1403 open OpenCV | GStreamer: /build/precommit_opencl_linux/4.x/opencv_extra/testdata/highgui/audio/test_audio.mp4
[ INFO:0@10.155] global cap_gstreamer.cpp:1436 open OpenCV | GStreamer: mode - FILE
[ WARN:0@10.160] global cap_gstreamer.cpp:1697 open OpenCV | GStreamer warning: unable to query duration of stream
[ WARN:0@10.160] global cap_gstreamer.cpp:1728 open OpenCV | GStreamer warning: Cannot query video position: status=1, value=0, duration=-1
video0 timestamp: 0.0333333  audio0 timestamp: 0.0333333 (audio shift nanoseconds: 0 , seconds: 0)
[ WARN:0@10.161] global cap_gstreamer.cpp:1903 getProperty OpenCV | GStreamer: CAP_PROP_AUDIO_SHIFT_NSEC property is not supported
[ WARN:0@10.161] global cap_gstreamer.cpp:1817 getProperty OpenCV | GStreamer: CAP_PROP_POS_MSEC property result may be unrealiable: https://github.com/opencv/opencv/issues/19025
frame=0:  audioFrameSize=1470  videoTimestamp=33.3333 ms
frame=1:  audioFrameSize=2940  videoTimestamp=33.3333 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033333333333333333, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.066666666333333333,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.033333333, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=1470 CAP_PROP_POS_MSEC=33.333332999999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=1
frame=2:  audioFrameSize=1470  videoTimestamp=100 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033333332999999993, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.133333333,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.10000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=4410 CAP_PROP_POS_MSEC=100
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=2
frame=3:  audioFrameSize=1469  videoTimestamp=133.333 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033333333333333326, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.16666666633333332,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.133333333, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=5880 CAP_PROP_POS_MSEC=133.33333299999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=3
frame=4:  audioFrameSize=1470  videoTimestamp=166.667 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705223, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.19997732392970521,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.16666666599999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=7349 CAP_PROP_POS_MSEC=166.66666599999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=4
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038529, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.23331065726303854,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.20000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=8819 CAP_PROP_POS_MSEC=200
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=5
frame...
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371918, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.26664399059637189,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.23333333299999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=10289 CAP_PROP_POS_MSEC=233.33333299999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=6
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705223, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.29997732392970522,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.266666666, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=11759 CAP_PROP_POS_MSEC=266.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=7
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038557, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.33331065726303855,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.29999999999999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=13229 CAP_PROP_POS_MSEC=300
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=8
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371918, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.36664399059637193,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.33333333300000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=14699 CAP_PROP_POS_MSEC=333.33333299999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=9
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705279, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.39997732392970525,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.36666666599999997, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=16169 CAP_PROP_POS_MSEC=366.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=10
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038557, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.43331065726303858,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.40000000000000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=17639 CAP_PROP_POS_MSEC=400
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=11
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371918, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.4666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.43333333299999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=19109 CAP_PROP_POS_MSEC=433.33333299999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=12
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705279, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.49997732392970523,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.46666666599999995, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=20579 CAP_PROP_POS_MSEC=466.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=13
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038501, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.5333106572630385,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.5, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=22049 CAP_PROP_POS_MSEC=500
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=14
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371862, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.56664399059637183,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.53333333299999997, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=23519 CAP_PROP_POS_MSEC=533.33333299999993
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=15
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705223, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.59997732392970515,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.56666666599999993, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=24989 CAP_PROP_POS_MSEC=566.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=16
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038501, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.63331065726303848,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.59999999999999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=26459 CAP_PROP_POS_MSEC=600
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=17
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371862, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.6666439905963718,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.63333333299999994, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=27929 CAP_PROP_POS_MSEC=633.33333299999993
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=18
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705112, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.69997732392970513,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.66666666600000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=29399 CAP_PROP_POS_MSEC=666.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=19
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038501, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.73331065726303857,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.70000000000000007, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=30869 CAP_PROP_POS_MSEC=700
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=20
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.76664399059637189,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.73333333299999992, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=32339 CAP_PROP_POS_MSEC=733.33333299999993
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=21
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705223, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.79997732392970522,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.766666666, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=33809 CAP_PROP_POS_MSEC=766.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=22
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038501, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.83331065726303855,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.80000000000000004, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=35279 CAP_PROP_POS_MSEC=800
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=23
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.86664399059637187,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.8333333329999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=36749 CAP_PROP_POS_MSEC=833.33333299999993
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=24
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705223, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.8999773239297052,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.86666666599999997, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=38219 CAP_PROP_POS_MSEC=866.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=25
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038501, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.93331065726303852,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.90000000000000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=39689 CAP_PROP_POS_MSEC=900
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=26
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371862, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.96664399059637185,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.93333333299999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=41159 CAP_PROP_POS_MSEC=933.33333299999993
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=27
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705223, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 0.99997732392970518,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 0.96666666599999995, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=42629 CAP_PROP_POS_MSEC=966.66666599999996
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=28
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.0333106572630386,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=44099 CAP_PROP_POS_MSEC=1000
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=29
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.066643990596372,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.0333333330000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=45569 CAP_PROP_POS_MSEC=1033.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=30
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705334, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.0999773239297053,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.0666666659999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=47039 CAP_PROP_POS_MSEC=1066.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=31
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.1333106572630387,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.1000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=48509 CAP_PROP_POS_MSEC=1100
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=32
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.1666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.1333333330000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=49979 CAP_PROP_POS_MSEC=1133.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=33
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705556, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.1999773239297054,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.1666666659999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=51449 CAP_PROP_POS_MSEC=1166.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=34
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.2333106572630386,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.2, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=52919 CAP_PROP_POS_MSEC=1200
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=35
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.266643990596372,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.233333333, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=54389 CAP_PROP_POS_MSEC=1233.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=36
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705334, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.2999773239297052,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.2666666659999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=55859 CAP_PROP_POS_MSEC=1266.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=37
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.3333106572630387,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.3, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=57329 CAP_PROP_POS_MSEC=1300
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=38
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.3666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.3333333330000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=58799 CAP_PROP_POS_MSEC=1333.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=39
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705334, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.3999773239297053,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.366666666, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=60269 CAP_PROP_POS_MSEC=1366.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=40
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.4333106572630385,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.4000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=61739 CAP_PROP_POS_MSEC=1400
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=41
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.466643990596372,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.433333333, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=63209 CAP_PROP_POS_MSEC=1433.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=42
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705556, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.4999773239297054,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.4666666659999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=64679 CAP_PROP_POS_MSEC=1466.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=43
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.5333106572630386,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.5, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=66149 CAP_PROP_POS_MSEC=1500
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=44
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.566643990596372,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.5333333330000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=67619 CAP_PROP_POS_MSEC=1533.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=45
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705334, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.5999773239297053,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.5666666659999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=69089 CAP_PROP_POS_MSEC=1566.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=46
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.6333106572630387,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.6000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=70559 CAP_PROP_POS_MSEC=1600
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=47
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.6666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.6333333330000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=72029 CAP_PROP_POS_MSEC=1633.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=48
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705556, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.6999773239297054,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.6666666659999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=73499 CAP_PROP_POS_MSEC=1666.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=49
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.7333106572630386,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.7, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=74969 CAP_PROP_POS_MSEC=1700
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=50
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596372195, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.766643990596372,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.7333333329999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=76439 CAP_PROP_POS_MSEC=1733.3333329999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=51
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705334, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.7999773239297052,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.7666666659999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=77909 CAP_PROP_POS_MSEC=1766.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=52
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263038612, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.8333106572630387,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.8, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=79379 CAP_PROP_POS_MSEC=1800
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=53
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371973, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.8666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.8333333329999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=80849 CAP_PROP_POS_MSEC=1833.3333329999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=54
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705334, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.8999773239297053,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.866666666, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=82319 CAP_PROP_POS_MSEC=1866.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=55
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.9333106572630385,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.9000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=83789 CAP_PROP_POS_MSEC=1900
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=56
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596372195, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.966643990596372,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.9333333329999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=85259 CAP_PROP_POS_MSEC=1933.3333329999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=57
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705556, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 1.9999773239297054,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 1.9666666659999998, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=86729 CAP_PROP_POS_MSEC=1966.6666659999999
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=58
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.0333106572630384,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=88199 CAP_PROP_POS_MSEC=2000
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=59
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.0666439905963716,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.0333333329999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=89669 CAP_PROP_POS_MSEC=2033.3333329999998
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=60
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705112, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.0999773239297053,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.0666666660000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=91139 CAP_PROP_POS_MSEC=2066.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=61
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.1333106572630385,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.1000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=92609 CAP_PROP_POS_MSEC=2100
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=62
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.1666439905963717,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.1333333329999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=94079 CAP_PROP_POS_MSEC=2133.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=63
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929704668, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.1999773239297049,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.1666666660000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=95549 CAP_PROP_POS_MSEC=2166.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=64
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.2333106572630386,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.2000000000000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=97019 CAP_PROP_POS_MSEC=2200
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=65
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.2666439905963718,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.233333333, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=98489 CAP_PROP_POS_MSEC=2233.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=66
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929704668, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.299977323929705,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.2666666660000003, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=99959 CAP_PROP_POS_MSEC=2266.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=67
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263037946, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.3333106572630382,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.3000000000000003, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=101429 CAP_PROP_POS_MSEC=2300
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=68
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.3666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.3333333330000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=102899 CAP_PROP_POS_MSEC=2333.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=69
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705112, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.3999773239297051,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.366666666, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=104369 CAP_PROP_POS_MSEC=2366.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=70
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.4333106572630383,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.3999999999999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=105839 CAP_PROP_POS_MSEC=2400
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=71
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371307, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.4666439905963715,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.4333333330000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=107309 CAP_PROP_POS_MSEC=2433.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=72
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705112, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.4999773239297052,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.4666666660000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=108779 CAP_PROP_POS_MSEC=2466.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=73
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.5333106572630384,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.5, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=110249 CAP_PROP_POS_MSEC=2500
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=74
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371307, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.5666439905963716,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.5333333330000003, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=111719 CAP_PROP_POS_MSEC=2533.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=75
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705112, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.5999773239297053,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.5666666660000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=113189 CAP_PROP_POS_MSEC=2566.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=76
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.6333106572630385,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.6000000000000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=114659 CAP_PROP_POS_MSEC=2600
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=77
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.6666439905963717,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.6333333329999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=116129 CAP_PROP_POS_MSEC=2633.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=78
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929704668, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.6999773239297049,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.6666666660000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=117599 CAP_PROP_POS_MSEC=2666.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=79
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.7333106572630386,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.7000000000000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=119069 CAP_PROP_POS_MSEC=2700
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=80
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.7666439905963718,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.733333333, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=120539 CAP_PROP_POS_MSEC=2733.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=81
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929704668, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.799977323929705,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.7666666660000003, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=122009 CAP_PROP_POS_MSEC=2766.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=82
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657263037946, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.8333106572630382,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.8000000000000003, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=123479 CAP_PROP_POS_MSEC=2800
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=83
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371751, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.8666439905963719,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.8333333330000001, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=124949 CAP_PROP_POS_MSEC=2833.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=84
frame=85:  audioFrameSize=1470  videoTimestamp=2866.67 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657929705112, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.8999773239297051,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.866666666, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=126419 CAP_PROP_POS_MSEC=2866.6666660000001
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=85
frame=86:  audioFrameSize=1470  videoTimestamp=2900 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.03331065726303839, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.9333106572630383,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.8999999999999999, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=127889 CAP_PROP_POS_MSEC=2900
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=86
frame=87:  audioFrameSize=1470  videoTimestamp=2933.33 ms
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:228: Failure
The difference between cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp and cap.get(CAP_PROP_POS_MSEC) * 1e-3 is 0.033310657596371307, which exceeds (1.0 / fps) * 0.3, where
cap.get(CAP_PROP_AUDIO_POS) / samplePerSecond + audio0_timestamp evaluates to 2.9666439905963715,
cap.get(CAP_PROP_POS_MSEC) * 1e-3 evaluates to 2.9333333330000002, and
(1.0 / fps) * 0.3 evaluates to 0.01.
CAP_PROP_AUDIO_POS=129359 CAP_PROP_POS_MSEC=2933.333333
Google Test trace:
/build/precommit_opencl_linux/4.x/opencv/modules/videoio/test/test_audio.cpp:181: frame=87
frame=88:  audioFrameSize=0  videoTimestamp=2966.67 ms
frame=89:  audioFrameSize=1470  videoTimestamp=2966.67 ms
Total audio samples=132299
[  FAILED  ] Media.audio/0, where GetParam() = ("test_audio.mp4", 1, 0.15, 16, 240, 320, 90, 132299, 30, 30, GSTREAMER) (111 ms)
[----------] 1 test from Media (111 ms total)
```

</details>