redemption icon indicating copy to clipboard operation
redemption copied to clipboard

Error recording,test not passed

Open Maurotb opened this issue 4 years ago • 1 comments

Hi, i can record with mp4 only with version 8.1.25. All other version not wotk, it record only one frame and mp4 files is small....

No relevant line in logs... This is output of test with 8.1.75 , my system is debian 10

Running 8 test cases... tests/capture/test_video_capture.cpp(153): error: in "TestSequencedVideoCaptureMP4": check ::tu::fsize(wd.add_file("video-000001.mp4")) == ::tu::int_(22338 +- 2000_v) has failed [filesize(/tmp/:usr:local:src:redemption@TestSequencedVideoCaptureMP4@[email protected]@release__/video-000001.mp4)= 25064 != 22338+-2000 [20338, 24338]] Failure occurred in a following context: wd: /tmp/:usr:local:src:redemption@TestSequencedVideoCaptureMP4@[email protected]@release__/

*** 1 failure is detected in the test module "./tests/capture/test_video_capture.cpp"

LD_LIBRARY_PATH="/usr/bin:/usr/lib:/usr/lib32:/usr/lib64:/usr/local/src/redemption/bin/gcc-8.3.0/release:$LD_LIBRARY_PATH"

export LD_LIBRARY_PATH

 "bin/gcc-8.3.0/release/tests/capture/test_video_capture"  && touch  "bin/gcc-8.3.0/release/tests/capture/test_video_capture.passed"

...failed testing.unit-test bin/gcc-8.3.0/release/tests/capture/test_video_capture.passed...

Maurotb avatar May 01 '21 21:05 Maurotb

Recording in mp4 format is historical (and untested), you must record in wrm format and convert to mp4 with redrec.

Video tests (test_do_recorder and test_video_capture) are based on an interval in the size of the generated files. Unfortunately, this size depending on the version of ffmpeg and possibly other external factors. A failure of these tests is not always significant.

jonathanpoelen avatar May 05 '21 11:05 jonathanpoelen