Поставлена задача наладить мне запись видео с камеры DCS-2102. Пробежавшись по гуглю нашел пару способов, там же нашел способ записи видео через всемогучий mplayer.
mplayer rtsp://camera-ip:554/
Выполняю:
mplayer rtsp://192.168.1.200:554/
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing rtsp://192.168.1.200:554/.
Resolving 192.168.1.200 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.200
Connecting to server 192.168.1.200[192.168.1.200]: 554...
MPlayer interrupted by signal 2 in module: open_stream
MPlayer interrupted by signal 2 in module: open_stream
так же пробовал:
mplayer rtsp://192.168.1.200/play1.sdp
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing rtsp://192.168.1.200/play1.sdp.
Resolving 192.168.1.200 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.200
Connecting to server 192.168.1.200[192.168.1.200]: 554...
librtsp: server responds: 'RTSP/1.0 401 Unauthorized'
rtsp_session: unsupported RTSP server. Server type is 'unknown'.
STREAM_LIVE555, URL: rtsp://192.168.1.200/play1.sdp
Stream not seekable!
file format detected.
Failed to get a SDP description from URL "rtsp://192.168.1.200/play1.sdp": cannot handle DESCRIBE response: RTSP/1.0 401 Unauthorized
Exiting... (End of file)
rtsp камеры включен и порт указан 554. Вероятно виной всему вкл. запрос логина пароля, но вот как их указать мплееру я не знаю, и пока не нашел (а отключать аутентификацию низя...)