Media source not working with an RSTP IP Cam

Cecilio

New Member
I have an RSTP IP camera working just fine, namely with VLC:
Code:
rtsp://192.168.1.87:554/user=admin&password=admin&channel=1&stream=0.sdp?

But I couldn’t get it work in OBS using a “Media Source” source.
Yes, as a workaround I know I can use a “VLC Video Source” instead. But I still would like to know what I’m doing wrong here… or is this a bug?...



Here’s my logs for several URL combinations I’ve tried:

URL1:
14:48:47.668: User added source 'Media Source' (ffmpeg_source) to scene 'SceneUSAFEQLO2'
14:48:53.061: [Media Source 'Media Source']: settings:
14:48:53.061: input: rtsp://192.168.1.87:554/user=admin&password=admin&channel=1&stream=0.sdp?
14:48:53.061: input_format:
14:48:53.061: speed: 100
14:48:53.061: is_looping: no
14:48:53.061: is_linear_alpha: no
14:48:53.061: is_hw_decoding: no
14:48:53.061: is_clear_on_media_end: yes
14:48:53.061: restart_on_activate: yes
14:48:53.061: close_when_inactive: no
14:48:53.093: warning: 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)
14:48:53.093: warning: 'circular_buffer_size' option was set but it is not supported on this build (pthread support is required)

MediaSource settings.jpg



URL2:
14:33:19.822: input: rtsp://192.168.1.87:554/user=admin&password=admin&channel=1&stream=0.sdp?
14:33:19.852: error: method DESCRIBE failed: 401 Unauthorized
14:33:19.853: MP: Failed to open media: 'rtsp://192.168.1.87:554/user=admin&password=admin&channel=1&stream=0.sdp?'
14:33:19.862: [Media Source 'Media Source']: Disconnected. Reconnecting...
14:33:29.902: error: method DESCRIBE failed: 401 Unauthorized
14:33:29.902: MP: Failed to open media: 'rtsp://192.168.1.87:554/user=admin&password=admin&channel=1&stream=0.sdp?'


URL3:
14:53:14.140: input: rtsp://192.168.1.87:554/user=admin&password=admin
14:53:14.162: error: method DESCRIBE failed: 401 Unauthorized
14:53:14.162: MP: Failed to open media: 'rtsp://192.168.1.87:554/user=admin&password=admin'
14:53:14.180: [Media Source 'Media Source']: Disconnected. Reconnecting...
14:53:24.222: error: method DESCRIBE failed: 401 Unauthorized
14:53:24.222: MP: Failed to open media: 'rtsp://192.168.1.87:554/user=admin&password=admin'



So, am I doing something wrong here?... Do I need to set some other OBS parameter (e.g., “Input Format”)?...
Or is this an OBS bug?

Please clarify. Thank you.
 
Top