Skip to content

Commit 79bbdcd

Browse files
committed
Fixes for bullseye os :( #1027
1 parent 30e2113 commit 79bbdcd

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

hardware/webcam/rtsplive_webcam.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ FFMPEG=$(type -p ffmpeg)
1616

1717
# Defaults
1818
if [[ "${DEVICE}" == "" ]]; then
19-
DEVICE="rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mp4"
19+
DEVICE="rtsp://192.168.5.132/axis-media/media.amp?videocodec=mpeg4"
2020
fi
2121

2222
if [[ "${NAME}" == "" ]]; then
@@ -63,11 +63,13 @@ elif [[ "${ROTATION}" == "270" ]]; then
6363
ROTATION_ACTION="transpose=2,"
6464
fi
6565

66+
CODEC="h264"
67+
if [ "${OS}" == "buster" ]; then
68+
CODEC="h264_omx"
69+
fi
6670

6771
S_TIMEOUT="-stimeout"
68-
CODEC="h264_omx"
6972
if [ "${OS}" == "bookworm" ]; then
70-
CODEC="h264"
7173
S_TIMEOUT="-timeout"
7274
fi
7375

hardware/webcam/usblive_webcam.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ elif [[ "${ROTATION}" == "270" ]]; then
6363
ROTATION_ACTION="transpose=2,"
6464
fi
6565

66-
CODEC="h264_omx"
67-
if [ "${OS}" == "bookworm" ]; then
68-
CODEC="h264"
66+
CODEC="h264"
67+
if [ "${OS}" == "buster" ]; then
68+
CODEC="h264_omx"
6969
fi
7070

7171
# Start streaming

0 commit comments

Comments
 (0)