Open sbrinkmann opened 7 years ago
I did write this script a while ago for ffmpeg if you really want. https://github.com/ZeroPoints/fang-hacks/blob/master/data/etc/scripts/22-ffmpeg-record I saved it as m3u8 though. And I haven't tinkered much with ffmpeg at great lengths so I didn't make a mp4. But you may be able to use it as an example
I'm attempting to use VLC 2.2.4 Weatherwax on Windows 10 to view/monitor the RTSP video stream from this camera. Zenmap shows port 554 open, but nothing ever comes through. VLC simply says it cannot connect.
Initiating SYN Stealth Scan at 21:09 Scanning Fang001(192.168.1.61) [1000 ports] Discovered open port 22/tcp on 192.168.1.61 Discovered open port 554/tcp on 192.168.1.61 Discovered open port 80/tcp on 192.168.1.61
Everything has gone fine until this point. Writing the SD card, loading the hacks, configuring the network, disabling the cloud apps, etc. But VLC refuses to open the RTSP stream. :(
Your input can't be opened: VLC is unable to open the MRL 'rtsp://192.168.1.61:554/unicast'. Check the log for details.
Just wondering if I've missed anything obvious, thanks for any advice you might be able to provide.
keith721
You don't need the port in the RTSP address for VLC.
In your case it'd be:
rtsp://192.168.1.61/unicast
Well, it's clearly a problem with VLC, because Blue Iris can open and save the RTSP stream just fine. Sorry to bother anyone!
Later edit: If I create a text file with the RTSP MRL, and name it Filename.vlc, VLC will open the video stream with no problems. Seems it's a User Interface/GUI problem in VLC 2.2.4. :(
@ZeroPoints I've tried the ffmpeg which you've provided through the link. It works but it also doesn't capture the sound 😥
So if anyone figured out how to use ffmpeg to record the RTSP stream including sound please let me know 😎
@sbrinkmann I use this script in my Raspberry Pi (I get sound too): savertsp_xiaofang_stream
I've tried to capture the RTSP with openRTSP or ffmpeg, but without success as you can see in the attached log. Does anyone has a working solution to capture the RTSP on linux?