Skip to content

Commit f5ab895

Browse files
committed
Impove surveillance camera image quality
1 parent 08d85d5 commit f5ab895

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

release_notes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Version 3.0.1: (2025-05-05)
55
- Improved error handling and logging for V4 systems if PC relay override
66
is switched on and Yocto is sleeping or brown-out protection has
77
triggered
8+
- Impove surveillance camera image quality
89

910
Version 3.0.0: (2025-04-03)
1011
- Integrate yocto-pictor-gps

utils/webcam_get_image.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ function take_picture(){
4545
else
4646
loglevel=24
4747
fi
48-
ffmpeg -v $loglevel -y -i rtsp://"$CREDENTIALS$IP_ADDRESS":554 -update 1 -frames:v 1 \
49-
"$OUTPUT_DIR/$FILEPREFIX$DATE.jpg"
48+
49+
ffmpeg -v $loglevel -y -rtsp_transport tcp -i rtsp://"$CREDENTIALS$IP_ADDRESS":554 \
50+
-update 1 -frames:v 10 -q:v 1 "$OUTPUT_DIR/$FILEPREFIX$DATE.jpg"
5051

5152
if [[ $? -eq 0 ]] ; then
5253
echo "[INFO] Output File is : '$OUTPUT_DIR/$FILEPREFIX$DATE.jpg'"

0 commit comments

Comments
 (0)