Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error recording,test not passed #129

Open
Maurotb opened this issue May 1, 2021 · 1 comment
Open

Error recording,test not passed #129

Maurotb opened this issue May 1, 2021 · 1 comment

Comments

@Maurotb
Copy link

Maurotb commented May 1, 2021

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...

@jonathanpoelen
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants