Update vilib.py - to include flag that allows simultaneous video recording w/ audio#4
Draft
donrestarone wants to merge 5 commits intopicamera2from
Draft
Update vilib.py - to include flag that allows simultaneous video recording w/ audio#4donrestarone wants to merge 5 commits intopicamera2from
donrestarone wants to merge 5 commits intopicamera2from
Conversation
Author
|
need to fix: FfmpegOutput.start() got an unexpected keyword argument 'quality'
Please check whether the camera is connected wellYou can use the "libcamea-hello" command to test the camera
start
Error on request:umber: 0 | ex, ey: 0, 0 | yrp: 0, 0, 0
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 335, in run_wsgi
execute(self.server.app)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 324, in execute
for data in application_iter:
File "/usr/lib/python3/dist-packages/werkzeug/wsgi.py", line 500, in __next__
return self._next()
^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/werkzeug/wrappers/response.py", line 50, in _iter_encoded
for item in iterable:
File "/usr/local/lib/python3.11/dist-packages/vilib/vilib.py", line 90, in gen
frame = get_frame()
^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/vilib/vilib.py", line 72, in get_frame
return cv2.imencode('.jpg', Vilib.flask_img)[1].tobytes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cv2.error: OpenCV(4.11.0) :-1: error: (-5:Bad argument) in function 'imencode'
> Overload resolution failed:
> - img is not a numpy array, neither a scalar
> - Expected Ptr<cv::UMat> for argument 'img' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.