1
I was looking on the internet to make a home DVR (using a Linux machine) and what I found was this avconv command:
avconv -i rtsp://<user>:<password>@xxx.xxx.xxx.xxx:xxx/play1.sdp -c copy -map 0 -f segment -segment_time 300 -segment_format mp4 "capture-%03d.mp4"
However, as seen in the command, the default file name is sequential (capture-001.mp4) and I need the name with the date and time (capture-12-08-2017_15-54.mp4), and searching the libav documentation apparently only this sequential option is possible.
I wonder if it is possible using only avconv and bash (if yes how to do it), or otherwise which tools I need.
Grateful from now on.