VLC Record RTSP stream from command line
Posted: 27 Feb 2016 21:28
I have a Uokoo 720p wifi camera, and the software for it sucks. If it detects motion it will only record for 9-10 seconds, even if there is still motion present. From what I can tell there is now way to continuously record in 10 minute increments. Enter VLC. Using the GUI I can do most of this: http://imgur.com/a/ssdJC
But I cannot quiet figure out how to convert what I am doing in the GUI to command line. The best I have been able to do is
But this just generates a stream.mpg without saving anything to the file.
If I can figure out how to save the stream to file using the command line, I am going to throw the command into a batch script and let it loop every 10 minutes.
I have been struggling with this for weeks, I even made a post to reddit /r/VLC 5 days ago asking for help; and still no luck.
But I cannot quiet figure out how to convert what I am doing in the GUI to command line. The best I have been able to do is
Code: Select all
vlc.exe -vvv rtsp://admin:123456@192.168.0.17:554/live/ch0 --sout file/ts:stream.mpg
If I can figure out how to save the stream to file using the command line, I am going to throw the command into a batch script and let it loop every 10 minutes.
I have been struggling with this for weeks, I even made a post to reddit /r/VLC 5 days ago asking for help; and still no luck.