PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Play RTSP Cam Steams Via Linux

Go down

Play RTSP Cam Steams Via Linux Empty Play RTSP Cam Steams Via Linux

Post by jamied_uk 8th April 2018, 21:54



Code:
ffplay 'rtsp://username:password@ip_address:port/url'


More

unix.stackexchange.com/questions/25368/how-to-play-rtsp-stream-under-linux-for-the-bosch-autodome-junior-hd-iva-camera


Last edited by jamied_uk on 8th April 2018, 22:43; edited 1 time in total
jamied_uk
jamied_uk
Admin

Posts : 2942
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Play RTSP Cam Steams Via Linux Empty Re: Play RTSP Cam Steams Via Linux

Post by jamied_uk 8th April 2018, 22:13

Code
Script To Playback Streams Via Linux Terminal Example


Code:
#!/bin/bash
# jnet.forumotion.com/t1598-play-rtsp-cam-steams-via-linux?highlight=play+rtsp+cam+stream+linux
#
# Usage: ./play.sh ip
#
# ./Cam_Play.sh "192.168.0.34"
#
#

if [ $# -lt 1 ]; then
   echo 1>&2 "$0: Enter IP"
   read ip
fi


ip="$1"
port="554"
#ffplay 'rtsp://username:password@ip_address:'$port'/url'
# ffplay 'rtsp://'"$ip"':'$port''
ffplay "rtsp://$ip:$port"

Code:
./play.sh 192.168.1.14
jamied_uk
jamied_uk
Admin

Posts : 2942
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum