Mauricio Guerta commited on
Commit
fa1602a
·
1 Parent(s): 4e1dd07

Adiciona teste local

Browse files
Files changed (2) hide show
  1. app.py +4 -3
  2. teste.mp4 +0 -0
app.py CHANGED
@@ -7,11 +7,12 @@ import streamlit as st
7
  # rtsp://177.94.213.14:554/user=atualli&password=Ope1w3r&channel=2&stream=0.sdp
8
 
9
  capture = [1,2,3,4,5,6,7,8]
10
- ip = '177.94.213.14'
11
- #ip = '192.168.0.131'
12
  for x in range(1):
13
  #capture[x] = cv2.VideoCapture('rtsp://atualli:Atualli22@'+ip+':1024/Streaming/channels/'+str(x+1)+'02/?transportmode=unicast')
14
- strrtsp = 'rtsp://'+ip+':554/user=atualli&password=Ope1w3r&channel='+str(x+1)+'&stream=0.sdp'
 
15
  capture[x] = cv2.VideoCapture(strrtsp)
16
  print (strrtsp)
17
 
 
7
  # rtsp://177.94.213.14:554/user=atualli&password=Ope1w3r&channel=2&stream=0.sdp
8
 
9
  capture = [1,2,3,4,5,6,7,8]
10
+ #ip = '177.94.213.14'
11
+ ip = '192.168.0.131'
12
  for x in range(1):
13
  #capture[x] = cv2.VideoCapture('rtsp://atualli:Atualli22@'+ip+':1024/Streaming/channels/'+str(x+1)+'02/?transportmode=unicast')
14
+ # strrtsp = 'rtsp://'+ip+':554/user=atualli&password=Ope1w3r&channel='+str(x+1)+'&stream=0.sdp'
15
+ strrtsp = "teste.mp4"
16
  capture[x] = cv2.VideoCapture(strrtsp)
17
  print (strrtsp)
18
 
teste.mp4 ADDED
Binary file (522 kB). View file