Is there a function to automatically divide the recorded file?

 

I want to automatically segment the recorded content.  How can I do it?

For example, I am going to record a 3-hour program, and it will generate a large file during the recording process.  However, I find it too large and want to split the 3-hour file into separate files, with each 20-minute segment saved as a separate file.That is, as I record, the system will generate a recording file every 20 minutes.

   第四代目张涛

 
Profile Image
Krisztian@Aximmetry
  -  

Hello,

Yes, you can divide a recording.
For this, you need to insert a Timer module into your compound and set its End Time pin to how long you want a segment to be in seconds. Then, turn its Looping pin On so it will give out a signal every time the Timer elapses.

Is there a function to automatically divide the recorded file?

Then, the Elapsed pin could be connected to the Video Recorder module's Start and Stop pin. However, starting and stopping a recording on the same frame cannot be done so you need to insert a 1-frame delay between them. To do this, insert a Delay module and set its Delay pin to 1 and its Frames pin On, and connect the Timer's Elapsed pin with the Delay's In pin.

Is there a function to automatically divide the recorded file?

The Timer's Elapsed pin will be responsible for stopping and the Delay's Out pin will be responsible for starting to record the segments, so connect them to the Video Recorder's respective pins.

Is there a function to automatically divide the recorded file?

This, unfortunately creates a new problem: stopping and starting the recordings is only handled by the Timer. To overcome this, you can insert Trigger Any modules.

Is there a function to automatically divide the recorded file?

This way, you can use Trigger Any modules' free pins to start the first segment and stop the last segment either manually or by connecting them to other pins.

The last step is enabling Auto Numbering on the Video Recorder module, so a new file gets created with every segment.

Is there a function to automatically divide the recorded file?

NOTE: The Timer should be started when the recording starts and stopped when it ends. An easy way to achieve this is simply connecting Copy Trigger modules to the Trigger Any modules responsible for starting and stopping the recording.

Is there a function to automatically divide the recorded file?

Best regards,