24h Seamless Multi File Video Recording Sample
Application
The 24h Video Recording sample
applications demonstrates how to seamlessy record and playback long
term video to multiple video files using the MV Multi
File Writer and MV Playlist
Source DirectShow filters.
The Application seamlessly records video into six
successive video files. Started once, the Application records
endlessly, outdated video files are automatically
deleted. By default the recorded video is buffered 24 hours,
this period can be changed on the settings dialog.
Attention: Make sure to set the output file
path to a location providing a sufficient amount of
free storage.
This and other sample applications can be found in the
MV Development Kit installation directory.
Filter Graph Summary
This sample application uses two filter configurations (*.mvp).
The first configuration is used for video recording. It contains
MV Demo Source as
Video Source Dummy which will be replaced at
runtime by a real live video source. The automatic replacement is
done by the MontiVision Smart
Control in interaction with the MV Video Source Combo
Box. The next filter in the chain is MV Text Overlay which is
used to overlay date and time onto the recorded video. The Smart
Tee filter creates two output stream from the input stream, one for
recording and one for the live preview through a video renderer.
The MV Multi
File Writer DirectShow filter is used for seamless multi
file recording.
The second configuration is used for seamless playback of a list
of video files. The MV Playlist
Source DirectShow filter is used for this task.
The Application
The application contains a MontiVision Smart Control used
to display the live video. It is also used to start, stop and
pause recording and playback. It's possible to change the
playback speed and step through the recorded video
file frame by frame using the MV Seeking Slider
Control. The list of video files played by MV Playlist
Source can be treated as if it would be a single
video file.
The Settings Dialog contains a MV Video Source Combo
Box used to select the video source. It is also
possible to modify the duration of the video to be
recorded, the video file output folder and the
format and position of the time stamp overlay.
|