Save mp4 files in 5 Minute chunks
Posted: 16 Nov 2021 17:49
by tecpoint1
I play audio or video streams via VLC, I want to record audio or video to MP4 files for 5 minutes each file
How can this be done using a script and without using a scheduler?
Thanks
Re: Save mp4 files in 5 Minute chunks
Posted: 17 Nov 2021 13:16
by Hitchhiker
I don't know how that can be achieved with a script, but here's the normal method:
https://www.vlchelp.com/cut-trim-videos ... ia-player/
Re: Save mp4 files in 5 Minute chunks
Posted: 18 Nov 2021 19:49
by tecpoint1
Hello Hitchhiker and everyone
I feel I have not properly explained my intention
Using a script I continuously record a video source into a file named yes_ch9.mp4
This is the script
"C: \ Program Files \ VideoLAN \ VLC \ vlc.exe" -vvv "udp: //@238.0.3.4: 1234" --sout = # standard {access = file, mux = ts, dst = c: \ t \ yes_ch9.mp4}
This script creates a file whose volume increases as time goes on
I want the script to create a new file every 5 minutes instead of a continuous file that grows over time
Can anyone help?