Skip to content

Error getting stream profile list for Astra 2... #56

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

Open
drhalftone opened this issue May 7, 2025 · 3 comments
Open

Error getting stream profile list for Astra 2... #56

drhalftone opened this issue May 7, 2025 · 3 comments

Comments

@drhalftone
Copy link

drhalftone commented May 7, 2025

This used to work with V1. I am getting the error message, "Filter@FrameProcessor: config schema is empty, doesn't have any config value."

Here is my code:

// Create a pipeline to open the depth stream after connecting the device
pipeline = ob_create_pipeline_with_device(device, &error);
if (error){
errorString = QString("Error creating pipeline with device: %1").arg(error->message);
ob_delete_error(error);
error = nullptr;
return;
}

// Create config to configure the resolution, frame rate, and format of the depth stream
ob_config *config = ob_create_config(&error);
if (error){
    errorString = QString("Error creating configuration: %1").arg(error->message);
    ob_delete_error(error);
    error = nullptr;
    return;
}

// Configure the depth stream
depthProfiles = ob_pipeline_get_stream_profile_list(pipeline, OB_SENSOR_DEPTH, &error);
if (error){
    errorString = QString("Error getting stream profile list: %1").arg(error->message);
    ob_delete_error(error);
    error = nullptr;
    return;
}
@GentBinaku
Copy link

You need to run the executable in the same directory as the extension folder

@drhalftone
Copy link
Author

drhalftone commented May 13, 2025 via email

@drhalftone
Copy link
Author

As I wrote the above post, I realized that this issue might be mute as I can't actually use a profile to set the camera resolution. So my real issue is that I can't find an example of C code for asking a sensor what it's available resolutions are or how to set the resolution I want before I start acquiring video.

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