add GStreamer helper scripts

This commit is contained in:
Maik Jurischka
2025-12-12 11:47:43 +01:00
parent 212a9ec64c
commit 43a1abdd31
11 changed files with 526 additions and 4 deletions

View File

@@ -71,11 +71,16 @@ int main() {
return -1;
}
std::cout << "\nVizion Streamer is running." << std::endl;
std::cout << "\n========================================" << std::endl;
std::cout << "VizionStreamer Ready" << std::endl;
std::cout << "========================================" << std::endl;
std::cout << "Control socket: " << socketPath << std::endl;
std::cout << "Default GStreamer pipeline: videoconvert ! autovideosink" << std::endl;
std::cout << "Use socket commands to start streaming and configure pipeline.\n" << std::endl;
std::cout << "Press Ctrl+C to exit.\n" << std::endl;
std::cout << "Default pipeline: videoconvert ! autovideosink" << std::endl;
std::cout << "\nQuick start:" << std::endl;
std::cout << " echo '{\"command\":\"start_stream\"}' | socat - UNIX-CONNECT:" << socketPath << std::endl;
std::cout << "\nTo change pipeline before starting:" << std::endl;
std::cout << " echo '{\"command\":\"set_pipeline\",\"params\":{\"pipeline\":\"YOUR_PIPELINE\"}}' | socat - UNIX-CONNECT:" << socketPath << std::endl;
std::cout << "\nPress Ctrl+C to exit.\n" << std::endl;
// Main loop - keep running until signaled to stop
while (g_running) {