Auto filename in command line

About encoding, codec settings, muxers and filter usage
Andrei Iosifescu
Blank Cone
Blank Cone
Posts: 25
Joined: 24 Feb 2020 21:00

Auto filename in command line

Postby Andrei Iosifescu » 23 Apr 2020 14:56

I am using a script which is streaming the video from an IP camera to a file (rec.mp4). I want, if possible, to create a new filename every time I start the script, like rec-date-time. This is the script

Code: Select all

vlc -vvv "http://86.127.212.113/control/faststream.jpg?stream=mxpeg" --sout=#transcode{vcodec=h264,scale=Automat,scodec=none}:file{dst=C:\\Users\\my username\\Videos\\rec.mp4,no-overwrite} :no-sout-all :sout-keep
.

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests