cfsworks / shrdvr Goto Github PK
View Code? Open in Web Editor NEWTools for interfacing with Samsung SHR-brand (and SHR-based) SmartViewer DVRs
Tools for interfacing with Samsung SHR-brand (and SHR-based) SmartViewer DVRs
Hi
Sorry to ask here, but I feel like a moron. I can't get rtsp_proxy.py to run.
I can get svtool.py to connect after changing line 78 to send unencoded username/pass
#1 (comment)
python2 .\svtool.py --username admin --password 4321 http://192.168.2.200 authorize
1081249063-01-07
But now I have no idea how to call rtsp_proxy.py
I keep getting
socket.error: [Errno 10049] The requested address is not valid in its context
Can someone please give me an example command on how to call rtsp_proxy.py properly? I've been trying for like an hour and no joy
Line 444 in 81ffcb6
self.set_header(resp_headers, self.req_transport)
to make it work, because the readers like Vlc or ffplay gave me 'Bad Header transport or less'.
But the problem now is that the video stream is very poor unlike the WEB version or the Samsung program.
Do you have any idea how to solve it?
Thank you.
Hi Sam,
I'm trying to use your script for my SHR 2082.
IP : 192.168.0.130. TCP configuration (not UDP)
Can you please provide a sample call for the script ?
I tried several commands but always get main_.AuthenticationError: WRONG_ID.
You are my last chance !
Thks Sam
Here's my wireshark trace performed during opening of SmartViewer on my PC. Apparently username and password are not encoded... :
SV..V...AUTHENTICATE..............TEXT......ID:Mfd7I44=
PW:nHrZrptdaThzVlB2CM0tOg==
SV..7...AUTHENTICATE_OK...........TEXT......WRONG_ID
.SV..~...AUTHENTICATE..............TEXT......ID:Mfd7I44=
PW:fe2592b42a727e977f055947385b709cc82b16b9a87f88c6abf3900d65d0cdc3
SV..7...AUTHENTICATE_OK...........TEXT......WRONG_ID
.SV..^...AUTHENTICATE..............TEXT......ID:Mfd7I44=
PW:d93591bdf7860e1e4ee2fca799911215
SV..7...AUTHENTICATE_OK...........TEXT......WRONG_ID
.SV..?...AUTHENTICATE..............TEXT......ID:ADMIN
PW:4321
SV..6...AUTHENTICATE_OK...........TEXT......SUCCESS
.SV..,...DESCRIBE..................TEXT......SV......DESCRIBE_OK...............TEXT......encoder_number:8
version:B3.03E-K1.54-V2.23_0711221059
authority:1050856324-01-04
unicast:port=8032-8039
time:1493202397
video:11111111
audio:00000000
ptz:00000000
cameraname:Portail.CAM 02.CAM 03.CAM 04.CAM 05.CAM 06.CAM 07.CAM 08.
alarm:0001.0002.0004.0008.0010.0020.0040.0080
ddns:samsung
mac:00-16-6C-22-73-0E
model_name:SHR-2082
protocol_version:V1.1
.
Thks
Laurent
Try to connect to my SHR-5042 DVR using Python 2.7
I run the scripts on the command line like: svtool.py --username test --password test url RTSP://IP off DVR:PORT of DVR
I keep getting an error like: url {describe,authorize}
Please give an example how to give the right arguments.
Many thanks (y)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.