add GStreamer helper scripts
This commit is contained in:
6
scripts/get_formats.sh
Executable file
6
scripts/get_formats.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Get available camera formats
|
||||
|
||||
SOCKET="/tmp/vizion_control.sock"
|
||||
|
||||
echo '{"command":"get_formats"}' | socat - UNIX-CONNECT:$SOCKET | python3 -m json.tool 2>/dev/null || echo '{"command":"get_formats"}' | socat - UNIX-CONNECT:$SOCKET
|
||||
Reference in New Issue
Block a user