issues
search
ddennedy
/
dvgrab
Command line FireWire DV and HDV capture tool for Linux
GNU General Public License v2.0
35
stars
13
forks
source link
fix: Don't overwrite files in timecode/timestamp/timsys mode
#17
Open
mfep
opened
3 weeks ago
mfep
commented
3 weeks ago
Sometimes subsequently recorded clips are written to the same path, erasing the previously written file.
This happens, e.g. when the
dvgrab
operates in
--timestamp
mode, and some recordings on the camera don't have timestamp information.
This patch addresses this problem by checking if the output file exists, and if so, the filename is postfixed with a numeric counter.
This is similar to the default filename composition logic.
dvgrab
operates in--timestamp
mode, and some recordings on the camera don't have timestamp information.