I probably shouldn't bump this, but I am in case some future sole finds themselves in the same position I was.
To save a RTSP stream to a file with the command line (easy mode)
The GUI actually provides you everything you need (almost) to use the command line.
Media > Open Network Stream
URL: <your stream url> "rtsp://192.168.0.17:554"
Click dropdown next to play and select stream.
Next
To save to file, click File from the drop down and click add.
Give it a file name and location (you can change this later)
Next
You can select a profile for transcoding. In my instance I found it best to select Video - H.264 + MP3 (MP4) and clicking the preference icon to fine tune what I wanted
Next
Now this screen is the bread and butter. Copy the entire Generate stream output string and set it aside
Code: Select all
:sout=#transcode{acodec=none}:file{dst=c:\\example\\mov.mp4,no-overwrite} :sout-keep
Open up your terminal
Code: Select all
vlc -vvv <your stream url> --sout "#transcode{acodec=none}:file{dst=c:\\example\\mov.mp4,no-overwrite}"
Notice how I removed #sout= and replaced it with --sout ". I also dropped the :sout-keep from the end.
Hit enter. Yay!
PS Thanks for letting me go 3 months without any direction.