Forum rules
Please post only Windows specific questions in this forum category. If you don’t know where to post, please read the different forums’ rules. Thanks.
-
scaistar
- New Cone
- Posts: 3
- Joined: 20 Feb 2012 19:20
Strange connection error -10057 with rtsp stream
Hi to all. i have a strange problem with an rtsp stream from my DVR.
I created a fast link on my taskbar for control my five cameras
Code: Select all
"C:Program FilesVideoLANVLCvlc.exe" -R --loop --no-video-deco --no-embedded-video --video-x=1 --video-y=1070 --video-on-top --qt-system-tray --qt-start-minimized --no-playlist-cork --zoom 0.493 C:UsersPublictelecamere.m3u
The .m3u contain this…
Code: Select all
#EXTM3U
#EXTINF:0,IT : Studio
rtsp://admin:password@192.168.1.200:554/ch4/sub/av_stream
But when i click on link i have this error.
Code: Select all
live555 debug: connection error -10057
live555 error: Failed to connect with rtsp://192.168.1.200:554/ch4/sub/av_stream
main debug: no access_demux modules matched
main debug: creating access: rtsp://admin:aipl1234@192.168.1.200:554/ch4/sub/av_stream
main debug: (path: \admin:password@192.168.1.200:554ch4subav_stream)
main debug: looking for access module matching "rtsp": 27 candidates
satip debug: try to open 'rtsp://admin:aipl1234@192.168.1.200:554/ch4/sub/av_stream'
satip debug: connect to host '192.168.1.200'
main debug: net: connecting to 192.168.1.200 port 554
main debug: connection succeeded (socket = 1736)
qt debug: IM: Setting an input
main debug: net: opening 0.0.0.0 datagram port 9078
main debug: net: opening 0.0.0.0 datagram port 9079
satip error: read error: No error
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.1.200 port 554
main debug: connection succeeded (socket = 1736)
main error: read error: No error
main error: read error: No error
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input
Well.. at this point i simply enter DVR web interface http://192.168.1.200/ in Chrome and.. immediately after click LOGIN button.. the rtsp stream open correctly and all work until Windows restart.
I think related with port or socket.. but onestly don’t know what to do
-
Hitchhiker
- Big Cone-huna
- Posts: 2203
- Joined: 29 Jun 2018 11:40
- VLC version: 3.0.17.4
- Operating System: Windows 8.1
- Location: The Netherlands
Re: Strange connection error -10057 with rtsp stream
Postby Hitchhiker » 18 Mar 2021 10:43
-
scaistar
- New Cone
- Posts: 3
- Joined: 20 Feb 2012 19:20
Re: Strange connection error -10057 with rtsp stream
Postby scaistar » 19 Mar 2021 15:33
ok.. so.. what can i do?
i already use user:pass format
i have VLC 3.0.12
i have no idea how to add «privateNetworkClientServer» Capability
-
Hitchhiker
- Big Cone-huna
- Posts: 2203
- Joined: 29 Jun 2018 11:40
- VLC version: 3.0.17.4
- Operating System: Windows 8.1
- Location: The Netherlands
Re: Strange connection error -10057 with rtsp stream
Postby Hitchhiker » 20 Mar 2021 15:02
I would imagine you would need to add it to vlcrc since that’s where all vlc’s settings reside, but I’m not sure about the actual syntax.
The file is located at C:Users{Username}AppDataRoamingvlc (swap «Username» with whatever name you login to the OS with).
-
scaistar
- New Cone
- Posts: 3
- Joined: 20 Feb 2012 19:20
Re: Strange connection error -10057 with rtsp stream
Postby scaistar » 22 Mar 2021 17:30
i think solved changing my network type in Windows from PRIVATE to PUBLIC
-
Rémi Denis-Courmont
- Developer
- Posts: 14487
- Joined: 07 Jun 2004 16:01
- VLC version: master
- Operating System: Linux
-
Contact:
Re: Strange connection error -10057 with rtsp stream
Postby Rémi Denis-Courmont » 23 Mar 2021 08:48
The error code -10057, meaning -WSAENOTCONN, screams of a bug in the Live555 library. That being the case, it is possible but unlikely that changing VLC settings will have any effects there.
Someone should check if it occurs with newer versions of the library.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded
Return to “VLC media player for Windows Troubleshooting”
Who is online
Users browsing this forum: Tanksley and 11 guests
Всем привет! HELP-HELP!)
Есть китайская IP камера, на ней открыт порт 34567 (CMS система получает видео по TCP), WEB морда и порт 554 rtsp.
Если зайти через WEB-морду, то видео работает.
Помогите пожалуйста разобраться с запуском видео потока без родного WEb-интерфейса, а именно найти в коде JS все необходимое для запуска потока… мучаюсь уже тритий день)))
вот то, что мне удалось вытащить из уже созданного web-ом кода:
Код
<object classid="CLSID:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" id="mo" width="100%" height="100%" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> <param name="src" value="back.GIF"> <param name="allowFullScreen" value="true"> <param name="qtsrc" value="rtsp://10.0.0.108:554/user=admin&password=&channel=1&stream=1.sdp?real_stream--rtp-caching=100"> <param name="autoplay" value="true"> <param name="autohref" value="True"> <param name="target" value="myself "> <param name="href" value="javaScript:void(0)"> <param name="loop" value="false"> <param name="wMode" value="transparent"> <param name="controller" value="false"> <param name="scale" value="tofit"> <embed src="back.GIF" name="movie1" qtsrc="rtsp://10.0.0.108:554/user=admin&password=&channel=1&stream=1.sdp?real_stream--rtp-caching=100" controller="false" width="100%" height="100%" loop="false" scale="tofit" wmode="Transparent" autoplay="true" kioskmode="true" enablejavasript="true" href="javaScript:void(0)" target="Myself" allowfullscreen="true" bgcolor="black" plugin="quicktimeplugin" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/"> </object>
тут явно чего-то не хватает для старта потока. Пробую через VLC-плеер получить картинку по такому запросу:
rtsp://10.0.0.108:554/user=admin&password=&channel=1&stream= 1.sdp?real_stream—rtp-caching=100
и глухо…. лог плеера:
Код
core debug: no art finder modules matched core debug: art not found for rtsp://10.0.0.108:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100 core debug: no art finder modules matched core debug: art not found for rtsp://10.0.0.108:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100 qt4 debug: IM: Setting an input live555 debug: we will now try HTTP tunneling mode live555 debug: connection error -10057 live555 error: Failed to connect with rtsp://10.0.0.108:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100 core debug: no access_demux modules matched core debug: creating access 'rtsp' location='10.0.0.108:554/user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100', path='\10.0.0.108:554user=admin&password=&channel=1&stream=0.sdp?real_stream--rtp-caching=100' core debug: looking for access module matching "rtsp": 19 candidates core debug: net: connecting to 10.0.0.108 port 554 core debug: connection succeeded (socket = 1840)
и в таком формате тоже пробовал : rtsp://admin:@10.0.0.108:554/0.sdp
и создавал пользователя user с паролем user (rtsp://user:user@10.0.0.108:554/1.sdp)
….. и все никак)
файлы со скриптами web-интерфейса, которые смог вытащить, во вложении
__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь
The UWP VLC app in the windows store supports RTSP. Does the VLC.MediaElement support RTSP? I can’t connect to an RTSP url.
Turns out I can connect to an RTSP live stream. What doesn’t work is connecting to an RTSP stream that requires authentication. I’ve tried inserting credentials into the url via this convention: rtsp://[Username]:[Password]@[IP]:[Port], but it still doesn’t work. (FYI, the log says this convention is deprecated). How can I provide my credentials to the stream?
With VLC command line (https://wiki.videolan.org/VLC_command-line_help/), we can add these credentials with rtsp-user and rtsp-pwd options. I just created an Options property on the MediaElement to add options to the media. You must define this property before setting the source. Try to add rtsp-user and rtsp-pwd to this options dictionary, perhaps it will works.
Thanks for the quick reply! Unfortunately adding the user and pwd options didn’t work. I even set the dialog handlers on the Instance but ShowLoginDialog is never invoked. It’s strange that it works in the VLC Universal app but not here. I attached a debugger to the VLC Universal app and you can clearly see live555 returns «authentication failed». However, it then attempts to authenticate with my user and successfully opens the stream. My app never does that; instead live555 returns «connection error -10057» and vlc attempts some alternative methods which also fail. None of them seem to try and authenticate. Is it possible there is a missing configuration or even libVLCX is out of date?
Attached are the logs of both apps:
Non-working MediaElement log.txt
Working VLC Universal app log.txt
Follow-up: I just saw you updated libVLCX nuget package and added the keystore setting so that must not be it either.
If it works in the VLC Universal app, we must be able to make it work. In the VLC Universal app, it displays a login dialog box ?
It works both ways as expected in the VLC UWP App.
- With credentials in the url. No login box; stream just starts to play. (deprecated)
- No credentials in the url. Login box appears. After login stream starts to play.
I’ve tried both ways in the MediaElement app. I’m trying to understand why the logs are different for live555. Why does the same url return «connection error -10057» on my app, but VLC App returns «authentication failed» and then automatically attempts to authenticate?
I pulled down the VLC Universal app source to rule out the possibility of some strange build issue on my machine causing the problem. The local build VLC app ran just like the one downloaded from the store and played the stream properly. (Btw, I really appreciate the simplicity of your libVLC nuget package even more so after going though the build process).
This is a long shot… I noticed VLC is using async and await to make sure the player Instance is ready before attempting to play any media. Now that the KeyStore file was added to init; is it possible the keystore isn’t fully loaded before playing the stream and therefore VLC is skipping authentication logic?
Found the issue! VLC requires the «privateNetworkClientServer» Capability in the app manifest for authentication to work. I also added the «backgroundMediaPlayback» capability for good measure. Thanks for your help and putting this project out there!
Great !
I think it’s RTSP that requires privateNetworkClientServer capability because HTTP authentication works great without it.
I’m adding some events to manage the login dialog event.
-
#21
question, anyone know how to record specific/individual tabs of a web browser so that instead of having to deal with all of this hassle, I can just install flash, record the web gui streams/the specific web browser tabs with each stream with blu iris?
Umut
Getting the hang of it
-
#22
This NVR is a Juan OEM. Manufacturer website : Guangzhou Juan Intelligent Tech Joint Stock Co.,Ltd
RTSP url for cameras and NVRs:
rtsp:/camera_or_NVR_IP:554/ch0_0.264
Note: Put two slashes after the rtsp:. For cameras, you can also use web interface port instead of 554.
RTMP URL for NVRs:
rtmp:/NVR_IP:webinterfaceport/ch1_1.264
Note: Put two slashes after the rtmp: and also after the web interface port. If it didn’t work, try 1935 instead of the web interface port.
RTMP URL for cameras:
rtmp:/camera_IP:webinterfaceport/720p.264
rtmp:/camera_IP:webinterfaceport/360p.264
Note: Put two slashes after the rtmp: and also after the web interface port. If it didn’t work, try 1935 instead of the web interface port.
Alternative URLs:
http://NVR_IP:webinterfaceport/cgi-bin/view.cgi?chn=0&u=admin&p=your_admin_passsword
http://NVR_IP:webinterfaceport/cgi-bin/flv.cgi?chn=0&u=admin&p=your_admin_passsword
You can try all of them in VLC Player.
-
#23
This NVR is a Juan OEM. Manufacturer website : Guangzhou Juan Intelligent Tech Joint Stock Co.,Ltd
RTSP url for cameras and NVRs:
rtsp:/camera_or_NVR_IP:554/ch0_0.264Note: Put two slashes after the rtsp:. For cameras, you can also use web interface port instead of 554.
RTMP URL for NVRs:
rtmp:/NVR_IP:webinterfaceport/ch1_1.264Note: Put two slashes after the rtmp: and also after the web interface port. If it didn’t work, try 1935 instead of the web interface port.
RTMP URL for cameras:
rtmp:/camera_IP:webinterfaceport/720p.264
rtmp:/camera_IP:webinterfaceport/360p.264Note: Put two slashes after the rtmp: and also after the web interface port. If it didn’t work, try 1935 instead of the web interface port.
Alternative URLs:
http://NVR_IP:webinterfaceport/cgi-bin/view.cgi?chn=0&u=admin&p=your_admin_passsword
http://NVR_IP:webinterfaceport/cgi-bin/flv.cgi?chn=0&u=admin&p=your_admin_passswordYou can try all of them in VLC Player.
Hey, I tried all of these but they didnt work. Thanks for the help though!
Would you be able to tell me how you came to the conclusion that this nvr is such? and if so, couldnt I just reflash the firmware to the one provided, wouldnt that make the given urls work?
this url is the only one that gave me an endless loading loop on vlc.
Umut
Getting the hang of it
-
#24
Hey, I tried all of these but they didnt work. Thanks for the help though!
Would you be able to tell me how you came to the conclusion that this nvr is such? and if so, couldnt I just reflash the firmware to the one provided, wouldnt that make the given urls work?
this url is the only one that gave me an endless loading loop on vlc.
I came across this NVR web interface years ago. I had noted the important urls for this device. I don’t know why it didn’t work.
Can you show me a screenshot of your NVR login page and also one of your IP camera login page?
-
#25
Here it is. The cameras dont have a web interface from what I know. putting the cameras ip into the web browser doesnt take me anywhere
Umut
Getting the hang of it
-
#26
View attachment 112278
Here it is. The cameras dont have a web interface from what I know. putting the cameras ip into the web browser doesnt take me anywhere
Yes, it’s definitely a Juan OEM. Maybe your device running a newer firmware so the urls don’t work. What is the Dev model, SW version and Reldatetime at device settings page?
Also are you getting any error when you try this IP camera url in VLC Player?
-
#27
SW version | 2.8.7.0_22D22830 |
Reldatetime | 02/20/2019 16:37 |
Vlc error
Connection failed:
VLC could not connect to «192.168.1.190:554».
Your input can’t be opened:
VLC is unable to open the MRL ‘rtsp:/192.168.1.190/ch0_0.264’. Check the log for details.
Your input can’t be opened:
VLC is unable to open the MRL ‘rtsp:/192.168.1.190:80/ch0_0.264’. Check the log for details.
Connection failed:
VLC could not connect to «192.168.1.190:1935».
Your input can’t be opened:
VLC is unable to open the MRL ‘rtsp:/192.168.1.190:1935/ch0_0.264’. Check the log for details.
-
#28
Connection failed:
VLC could not connect to «192.168.1.190:554».
Your input can’t be opened:
VLC is unable to open the MRL ‘rtsp:/192.168.1.190/ch0_0.264’. Check the log for details.
Umut
Getting the hang of it
-
#29
It’s not working, because you are not trying the correct url. Please check the url again.
Two / after rtsp:
-
#30
holy crap, they really do reshell things and sell them under differrent names haha. just searched this up
by searching it up i found a lot of posts on it. Thanks for making me realize this.
Also,
event tried the nvr ip
Umut
Getting the hang of it
-
#31
holy crap, they really do reshell things and sell them under differrent names haha. just searched this up
by searching it up i found a lot of posts on it. Thanks for making me realize this.
Also, View attachment 112311
View attachment 112312event tried the nvr ip
The error says : Port 554 on 192.168.1.190 is closed. But your Blue Iris log at the previous page says port 554 on 192.168.1.190 is open.
Your cameras are using static IPs or getting dynamic IPs from DHCP server? When you enter
on your browser, are you getting a blank page or getting a closed port message?
-
#32
I have set the NVRs DHCP option off, and the IPs are coming from my main router as I used an ethernet connection to the cameras. In my router I did set an static Ip to the NVR, its always 192.168.1.205. As to this camera in specific, it is also set with a static ip
-
16.8 KB
Views: 9
-
#33
connecting to this camera on firefox with port 554.
-
#34
Here i tried accessing the camera with vlc with rtsp:/192.168.1.190:554/ch0_0.264
main debug: processing request item: rtsp:/192.168.1.190:554/ch0_0.264, node: Playlist, skip: 0
main debug: rebuilding array of current — root Playlist
main debug: rebuild done — 8 items, index 7
main debug: starting playback of new item
main debug: resyncing on rtsp:/192.168.1.190:554/ch0_0.264
main debug: rtsp:/192.168.1.190:554/ch0_0.264 is at 7
main debug: creating new input thread
main debug: Creating an input for ‘rtsp:/192.168.1.190:554/ch0_0.264’
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:UsersromosAppDataLocalTemp
main debug: `rtsp:/192.168.1.190:554/ch0_0.264′ gives access `rtsp’ demux `any’ path `192.168.1.190:554/ch0_0.264′
main debug: creating demux: access=’rtsp’ demux=’any’ location=’192.168.1.190:554/ch0_0.264′ file=’\192.168.1.190:554ch0_0.264′
main debug: looking for access_demux module matching «rtsp»: 15 candidates
live555 debug: version 2016.11.28
main debug: looking for meta fetcher module matching «any»: 1 candidates
lua debug: Trying Lua scripts in C:UsersromosAppDataRoamingvlcluametafetcher
lua debug: Trying Lua scripts in C:Program FilesVideoLANVLCluametafetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching «any»: 2 candidates
lua debug: Trying Lua scripts in C:UsersromosAppDataRoamingvlcluametaart
lua debug: Trying Lua scripts in C:Program FilesVideoLANVLCluametaart
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart0_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart0_musicbrainz.luac
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart1_googleimage.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart1_googleimage.luac
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart2_frenchtv.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart2_frenchtv.luac
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart3_lastfm.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart3_lastfm.luac
main debug: no art finder modules matched
qt debug: IM: Setting an input
live555 debug: connection error -10057
live555 error: Failed to connect with rtsp:/192.168.1.190:554/ch0_0.264
main debug: no access_demux modules matched
main debug: creating access: rtsp:/192.168.1.190:554/ch0_0.264
main debug: (path: \192.168.1.190:554ch0_0.264)
main debug: looking for access module matching «rtsp»: 27 candidates
satip debug: try to open ‘rtsp:/192.168.1.190:554/ch0_0.264’
satip debug: connect to host ‘192.168.1.190’
main debug: net: connecting to 192.168.1.190 port 554
main error: connection failed: Connection refused by peer
satip error: Failed to connect to RTSP server 192.168.1.190:554
main debug: net: connecting to 192.168.1.190 port 554
main error: connection failed: Connection refused by peer
access_realrtsp error: cannot connect to 192.168.1.190:554
access_realrtsp debug: could not connect to: 192.168.1.190:554/ch0_0.264
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input
main debug: changing item without a request (current 7/8)
main debug: nothing to play
Umut
Getting the hang of it
-
#35
Try this:
If it asks username and password, it will work. Dont forget two / after rtsp:
-
#36
So it stps instantly as soon i click play/no loading.
This is the log
main debug: processing request item: rtsp:/192.168.1.190:80/ch0_0.264, node: Playlist, skip: 0
main debug: rebuilding array of current — root Playlist
main debug: rebuild done — 12 items, index 11
main debug: starting playback of new item
main debug: resyncing on rtsp:/192.168.1.190:80/ch0_0.264
main debug: rtsp:/192.168.1.190:80/ch0_0.264 is at 11
main debug: creating new input thread
main debug: Creating an input for ‘rtsp:/192.168.1.190:80/ch0_0.264’
main debug: requesting art for new input thread
main debug: using timeshift granularity of 50 MiB
main debug: using timeshift path: C:UsersromosAppDataLocalTemp
main debug: `rtsp:/192.168.1.190:80/ch0_0.264′ gives access `rtsp’ demux `any’ path `192.168.1.190:80/ch0_0.264′
main debug: creating demux: access=’rtsp’ demux=’any’ location=’192.168.1.190:80/ch0_0.264′ file=’\192.168.1.190:80ch0_0.264′
main debug: looking for access_demux module matching «rtsp»: 15 candidates
live555 debug: version 2016.11.28
main debug: looking for meta fetcher module matching «any»: 1 candidates
lua debug: Trying Lua scripts in C:UsersromosAppDataRoamingvlcluametafetcher
lua debug: Trying Lua scripts in C:Program FilesVideoLANVLCluametafetcher
main debug: no meta fetcher modules matched
main debug: looking for art finder module matching «any»: 2 candidates
lua debug: Trying Lua scripts in C:UsersromosAppDataRoamingvlcluametaart
lua debug: Trying Lua scripts in C:Program FilesVideoLANVLCluametaart
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart0_musicbrainz.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart0_musicbrainz.luac
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart1_googleimage.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart1_googleimage.luac
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart2_frenchtv.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart2_frenchtv.luac
lua debug: Trying Lua playlist script C:Program FilesVideoLANVLCluametaart3_lastfm.luac
lua debug: skipping script (unmatched scope) C:Program FilesVideoLANVLCluametaart3_lastfm.luac
main debug: no art finder modules matched
live555 debug: connection error -10057
live555 error: Failed to connect with rtsp:/192.168.1.190:80/ch0_0.264
main debug: no access_demux modules matched
main debug: creating access: rtsp:/192.168.1.190:80/ch0_0.264
main debug: (path: \192.168.1.190:80ch0_0.264)
main debug: looking for access module matching «rtsp»: 27 candidates
satip debug: try to open ‘rtsp:/192.168.1.190:80/ch0_0.264’
satip debug: connect to host ‘192.168.1.190’
main debug: net: connecting to 192.168.1.190 port 80
main debug: connection succeeded (socket = 3036)
main debug: net: opening 0.0.0.0 datagram port 9420
qt debug: IM: Setting an input
main debug: net: opening 0.0.0.0 datagram port 9421
satip error: read error: No error
satip error: Failed to setup RTSP session
main debug: net: connecting to 192.168.1.190 port 80
main debug: connection succeeded (socket = 3036)
main error: read error: No error
main error: read error: No error
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
main debug: no access modules matched
main debug: dead input
qt debug: IM: Deleting the input
main debug: changing item without a request (current 11/12)
main debug: nothing to play
Umut
Getting the hang of it
-
#37
So it stps instantly as soon i click play/no loading.
This is the log
main debug: creating access: rtsp:/192.168.1.190:80/ch0_0.264
You are still trying the wrong url.
-
#38
weird, seriously I am not
seems that pasting the log into here removed the secons slash
-
#39
By the way, thank you for the help. youve helped a lot.
Umut
Getting the hang of it
-
#40
By the way, thank you for the help. youve helped a lot.
You’re welcome. I don’t know why the log says you are trying with one / after rtsp:. You can also try this on your Windows command line:
Code:
"C:Program FilesVideoLANVLCvlc.exe" -vvv "rtsp:/192.168.1.190:80/ch0_0.264"
Or if you have ffmpeg, you can try saving the stream:
Code:
ffmpeg -i "rtsp:/192.168.1.190:80/ch0_0.264" -c copy test.mp4
Forum software removes the second / from every link automatically. So, again, don’t forget to put the second / I think it also removes it from your logs.
В конце я хотел бы взять поток RSTP с камеры безопасности Axis, а затем сделать его доступным для повторной передачи с помощью объекта Gstreamers GstRTSPServer. На данный момент, хотя я не могу даже заставить пример videotestsrc играть в любом плеере.
Я следил за постом, найденным здесь:
GStreamer запускает RTSP-сервер для перезаписи IP-камеры H264
Я получил пример кода, созданного и запущенного в консоли, но не могу просмотреть поток ни в одном из плееров, которые я нахожу. ТОЧНЫЙ код, который я использую, найден здесь:
https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-readme.c
Оба компьютера с Windows 10, которые я использую, находятся в одной сети, я могу пропинговать оба направления, брандмауэр полностью отключен на обоих компьютерах.
Я пробовал проигрыватель VLC, модифицированные примеры Axis Media Control SDK и GStreamer
используя команды:
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test latency=0 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
gst-launch-1.0 rtspsrc location=rtsp://10.2.3.10:8554/test latency=0 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink
VLC заявляет в логах, что в соединении было активно отказано. Кажется, он пытается подключиться к порту 80? Не уверен, правильно ли я читаю. Смотрите журнал VLC ниже. Полный журнал вставляется сюда с локальной машины:
https://pastebin.com/my3kTsRV
а вот со второй машины:
https://pastebin.com/g1q47UBm
...Connection to server failed: No connection could be made because the target machine actively refused it
Opening connection to 127.0.0.1, port 80...
...Connection to server failed: No connection could be made because the target machine actively refused it
[06421494] live555 demux debug: connection error -10057
[06421494] live555 demux error: Failed to connect with rtsp://127.0.0.1:8554/test
Axis Media Control (AMC) выдает ошибку на локальном и вторичном компьютерах:
503 Service Unavailable
The maximum number of clients are already connected.
При попытке подключения с помощью команды GStreamer я получаю следующую ошибку как на локальном, так и на дополнительном компьютере:
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Unhandled error
Additional debug info:
gstrtspsrc.c(5633): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Service Unavailable (503)
ERROR: pipeline doesn't want to preroll.
С VLC, AMC и GStreamer я могу получить поток непосредственно с камеры, так что что-то работает по крайней мере. Я также могу успешно запускать другие примеры GStreamer без GstRTSPServer.
Дайте мне знать, если вы хотите / хотите, чтобы я попробовал что-нибудь.
0
Решение
Задача ещё не решена.
Другие решения
Других решений пока нет …
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.