File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ FFMPEG=$(type -p ffmpeg)
1616
1717# Defaults
1818if [[ " ${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 "
2020fi
2121
2222if [[ " ${NAME} " == " " ]]; then
@@ -63,11 +63,13 @@ elif [[ "${ROTATION}" == "270" ]]; then
6363 ROTATION_ACTION=" transpose=2,"
6464fi
6565
66+ CODEC=" h264"
67+ if [ " ${OS} " == " buster" ]; then
68+ CODEC=" h264_omx"
69+ fi
6670
6771S_TIMEOUT=" -stimeout"
68- CODEC=" h264_omx"
6972if [ " ${OS} " == " bookworm" ]; then
70- CODEC=" h264"
7173 S_TIMEOUT=" -timeout"
7274fi
7375
Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ elif [[ "${ROTATION}" == "270" ]]; then
6363 ROTATION_ACTION=" transpose=2,"
6464fi
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 "
6969fi
7070
7171# Start streaming
You can’t perform that action at this time.
0 commit comments