add GStreamer helper scripts
This commit is contained in:
13
main.cpp
13
main.cpp
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user