-
Notifications
You must be signed in to change notification settings - Fork 195
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
Video: add screenshot function #1612
base: master
Are you sure you want to change the base?
Conversation
0722e69
to
8894163
Compare
Useful to create screenshots for regression testing. Signed-off-by: Rouven Czerwinski <[email protected]>
8894163
to
45cfc3a
Compare
This should probably be exposed in |
59d9a8c
to
d7005cf
Compare
Implement screenshots for HTTP video cameras. For this we factor out the default_port function out of stream() and reuse it for screenshot(). The screenshot function takes the stream, waits for 75 buffers to ensure we have hit an i-frame in the pipeline so we can encode a complete picture and than encodes the picture into a jpeg file. Signed-off-by: Rouven Czerwinski <[email protected]>
Extend the protocol with the screenshot function. Signed-off-by: Rouven Czerwinski <[email protected]>
d7005cf
to
71f9d83
Compare
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## master #1612 +/- ##
========================================
- Coverage 55.8% 55.7% -0.2%
========================================
Files 170 170
Lines 13380 13425 +45
========================================
+ Hits 7469 7478 +9
- Misses 5911 5947 +36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Description
Add screenshot support to the
VideoProtocol
and implement it for both drivers.Checklist