RTSP parameters

123456

Young grasshopper
Joined
Jun 8, 2015
Messages
57
Reaction score
0
in the URL path standard rtsp "rtsp://ip:554/Streaming/Channels/2" ,
you can specify other parameters as Bitrate Type, Video Quality and Resolution?

thanks for the support :)
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,979
Reaction score
6,802
Location
Scotland
When I've looked at network captures of the RTSP setup dialogue with the cameras, I've not seen any settings for bitrate, quality resolution, though that could I suppose suggest they are optional.
I think it uses what has been set in the camera configuration.
Hikvision's RTSP document isn't the best in terms of clarity, but here is a fragment that may confirm it:
//bit stream configured information is express by config​
the
information of config is vary along with the video parameters configuration.
And the original document is here:
http://www.hikvisioneurope.com/portal/index.php?dir=Integration and Development Materials/03 RTSP/
 

123456

Young grasshopper
Joined
Jun 8, 2015
Messages
57
Reaction score
0
I want to specify Bitrate Type and Resolutionin the URL rtsp, because by connecting the camera to Qnap NAS parameters are overwritten
 

Mike

Staff member
Joined
Mar 9, 2014
Messages
2,982
Reaction score
2,727
Location
New York
You can specify the bitrate and resolution in the cameras firmware. Since you are using the 2nd channel, the 'Sub Stream' is what you want to adjust.
 

123456

Young grasshopper
Joined
Jun 8, 2015
Messages
57
Reaction score
0
ok, but the problem is when I connect the camera to the Qnap nas, the parameters of the second channel the 'Sub Stream' are entered automatically:

"Bitrate Type:Constant"
"Resolution:352x288"
 

Mike

Staff member
Joined
Mar 9, 2014
Messages
2,982
Reaction score
2,727
Location
New York
ok, but the problem is when I connect the camera to the Qnap nas, the parameters of the second channel the 'Sub Stream' are entered automatically:

"Bitrate Type:Constant"
"Resolution:352x288"
You can adjust that when logging into the camera itself.
 

123456

Young grasshopper
Joined
Jun 8, 2015
Messages
57
Reaction score
0
yes, but I was looking for a solution in order to specify the parameters of rtsp url;
Remote I use VLC player and I can not always specify the parameters in the configuration web
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,293
yes, but I was looking for a solution in order to specify the parameters of rtsp url;
Remote I use VLC player and I can not always specify the parameters in the configuration web
What mike is saying is that if you adjust the parameters in the camera, then that is the stream it will send and that will be reflected in your qnap nas.
 

123456

Young grasshopper
Joined
Jun 8, 2015
Messages
57
Reaction score
0
if I modify the parameters "sub stream":

"Bitrate Type:Variable"
"Resolution:640x480"

i restart camera and when the camera is connected to qnap, the settings are getting:

"Bitrate Type:Constant"
"Resolution:352x288"
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,907
Reaction score
21,293
When you go back into the camera after your restart it what is the subtream set to?
 

123456

Young grasshopper
Joined
Jun 8, 2015
Messages
57
Reaction score
0
When you go back into the camera after your restart it what is the subtream set to?
"Bitrate Type:Constant"
"Resolution:352x288"



restart camera and
I think the nas qnap set this configuration :(
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,685
Reaction score
14,052
Location
USA
What a broken record thread. LOL.

To answer your question, 123456, it is not possible to have the camera encode h264 video with encoding parameters inserted into the RTSP URL. Such a thing would exceed the capabilities of the hardware as it would be trying to encode more than one unique h264 stream for each channel.
 
Top