Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
updated eis rtsp stream script error (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil-parida authored Sep 29, 2020
1 parent bc17b87 commit e4fc7c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ images_to_import=(
"ia_video_ingestion:${eis_version}"
"ia_video_analytics:${eis_version}"
"ia_visualizer:${eis_version}"
"ia_web_visualizer:${eis_version}"
)

export_docker_image () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ helpPrint()
echo "Usage: $0 <filename> <port_no>"
echo -e "Example:"
echo -e " $0 /root/pcb_d2000.avi 8554"
echo -e " $0 /root/Safety_Full_Hat_and_Vest.avi 8554"
echo -e " $0 /root/Safety_Full_Hat_and_Vest.avi 8554"
exit 1 # Exit with help
}

if [[ $# -ne 2 ]] ; then
echo "No of argument are not correct"
helpPrint
fi
name=$1
port=$2

pkill -9 cvlc
sleep 2

cvlc -vvv "$name" --sout ="#gather:rtp{sdp=rtsp://0.0.0.0:$port/}" --loop --sout-keep
sout="#gather:rtp{sdp=rtsp://0.0.0.0:$2/}"
cvlc -vvv "$1" --sout "$sout" --loop --sout-keep

0 comments on commit e4fc7c4

Please sign in to comment.