blob: 48d9da74bf18dbcb2633f5b942aaa7a9e3790931 [file] [log] [blame]
Yash Maheshwarie0b25c52024-05-22 20:23:36 -07001#!/bin/bash
2
3# Some configurations to avoid dropping frames
4# 640x480@30fps, 400x300@60fps.
5# Bitrate 500000-1500000
6WIDTH=640
7HEIGHT=480
8BITRATE=1500000
9LISTEN_ON="/camera/downsized"
10# Don't interfere with field webpage
11STREAMING_PORT=1181
12
13# Handle weirdness with openssl and gstreamer
14export OPENSSL_CONF=""
15
16# Enable for verbose logging
17#export GST_DEBUG=4
18
19export LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu/gstreamer-1.0
20
21exec ./image_streamer --width=$WIDTH --height=$HEIGHT --bitrate=$BITRATE --listen_on=$LISTEN_ON --config=aos_config.json --streaming_port=$STREAMING_PORT
22