-
Notifications
You must be signed in to change notification settings - Fork 88
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
Fixed camera stream too big and colorimetry setting #137
base: develop
Are you sure you want to change the base?
Conversation
@@ -11,14 +11,7 @@ X::X() | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you'll want to remove your personal changes here
|
||
DASH_LOG(info) << "[CameraPage] Creating GStreamer pipeline with " << this->config->get_cam_local_device().toStdString(); | ||
std::string pipeline = "v4l2src device=" + this->config->get_cam_local_device().toStdString() + | ||
" ! capsfilter caps=\"video/x-raw,width=" + std::to_string(res.width()) + ",height=" + std::to_string(res.height()) + ";image/jpeg,width=" + std::to_string(res.width()) + ",height=" + std::to_string(res.height()) + "\"" + | ||
" ! capsfilter caps=\"video/x-raw,width=" + std::to_string(res.width()) + ",height=" + std::to_string(res.height()) + ",colorimetry=bt601;image/jpeg,width=" + std::to_string(res.width()) + ",height=" + std::to_string(res.height()) + "\"" + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does that break the pipeline for other cameras? we'll want to add something similar to this->config->get_cam_local_device()
(and maybe default it to an empty string?) if that's the case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idk if it breaks or if it works. For my camera it works. Someone gotta test this out. But I think it would be perfect to put it in the config like you said.
test rimosso bloccato
Description:
Related issue (if applicable): fixes #
Checklist: