mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
try different flip flags
This commit is contained in:
@@ -17,6 +17,7 @@ VIDEO_WIDTH="${VIDEO_WIDTH:-1920}"
|
|||||||
VIDEO_HEIGHT="${VIDEO_HEIGHT:-1080}"
|
VIDEO_HEIGHT="${VIDEO_HEIGHT:-1080}"
|
||||||
VIDEO_FPS="${VIDEO_FPS:-30}"
|
VIDEO_FPS="${VIDEO_FPS:-30}"
|
||||||
VIDEO_BITRATE="${VIDEO_BITRATE:-3000000}"
|
VIDEO_BITRATE="${VIDEO_BITRATE:-3000000}"
|
||||||
|
FLIP_ARGS=(--hflip --vflip)
|
||||||
|
|
||||||
if [[ -n "${LIBCAMERA_BIN:-}" ]]; then
|
if [[ -n "${LIBCAMERA_BIN:-}" ]]; then
|
||||||
LIBCAMERA_BIN_PATH="$LIBCAMERA_BIN"
|
LIBCAMERA_BIN_PATH="$LIBCAMERA_BIN"
|
||||||
@@ -44,8 +45,7 @@ run_pipeline() {
|
|||||||
--timeout 0 \
|
--timeout 0 \
|
||||||
--width "${VIDEO_WIDTH}" \
|
--width "${VIDEO_WIDTH}" \
|
||||||
--height "${VIDEO_HEIGHT}" \
|
--height "${VIDEO_HEIGHT}" \
|
||||||
--hflip \
|
"${FLIP_ARGS[@]}" \
|
||||||
--vflip \
|
|
||||||
--framerate "${VIDEO_FPS}" \
|
--framerate "${VIDEO_FPS}" \
|
||||||
--bitrate "${VIDEO_BITRATE}" \
|
--bitrate "${VIDEO_BITRATE}" \
|
||||||
--codec h264 \
|
--codec h264 \
|
||||||
|
|||||||
Reference in New Issue
Block a user