Better failure handling and frame name for image capture
Build Docs / build (push) Failing after 47s
Details
Build Docs / build (push) Failing after 47s
Details
This commit is contained in:
parent
b07870936c
commit
f9f17d1f8b
|
@ -8,9 +8,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
image: restreamio/gstreamer:2024-11-14T15-53-57Z-prod
|
image: restreamio/gstreamer:2024-11-14T15-53-57Z-prod
|
||||||
volumes:
|
volumes:
|
||||||
- ${SDK_ROOT}/survey/${ROBOT_NAME}:/survey
|
- ${SDK_ROOT}/survey/${ROBOT_NAME}:/survey/
|
||||||
environment:
|
environment:
|
||||||
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
- RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
|
||||||
command: sh -c "rm /survey/* && gst-launch-1.0 -vc udpsrc port=$GSTREAMER_UDP_PORT close-socket=false auto-multicast=true ! application/x-rtp, payload=96 ! rtph264depay ! decodebin3 ! videoconvert ! videorate ! video/x-raw,framerate=1/2 ! jpegenc ! multifilesink location=/survey/img_"frame%d".jpg throttle-time=1"
|
command: sh -c "rm -f /survey/*; gst-launch-1.0 -vc udpsrc port=$GSTREAMER_UDP_PORT close-socket=false auto-multicast=true ! application/x-rtp, payload=96 ! rtph264depay ! decodebin3 ! videoconvert ! videorate ! video/x-raw,framerate=1/2 ! jpegenc ! multifilesink location=/survey/img_%05d.jpg throttle-time=1"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue