dvsplit: tool to split raw DV files based on the timestamps

Using the solutions described here, you get a big raw file.

dvsplit is a simple tool to split it in several files based on the timestamps.

See the README.

And here is the tool.

This entry was posted in Video and tagged , , , , , , , , . Bookmark the permalink.

3 Responses to dvsplit: tool to split raw DV files based on the timestamps

  1. Pingback: Simple solutions to capture DV under MacOS « ocroquette’s Blog

  2. Alexey says:

    Thank you for the tool! And thank you for this tool is opensource!

    The tool was very useful for me. Recently, I (stupidly) concatenate (with linux ‘cat’) four rawdv files into one big. It was seem that everything is perfect and now I had one big rawdv file (VLC player shown the correct length and playing ok). But, when I tried to convert this concatenated dv into the MPEG2-PS, mencoder encoded only first part of big dv file (which was correspond to the first small dv file)!
    I had to somehow ‘uncat’ the big file back to the four small onces, but I have not known its original sizes. Then I found this tool. With a little modification of it, I solved the task!

    Here is my modification:

    — ./dvsplit.c.bak 2009-10-25 12:07:29.000000000 +0600
    +++ ./dvsplit.c 2009-10-28 14:27:52.000000000 +0600
    @@ -174,7 +174,7 @@

    time_t frameT = mktime(&frameTm);
    //open new output file on first frame or any time jump
    – if (frames == 0 || frameT – lastFrameT > 2) {
    + if (frames == 0 || frameT < lastFrameT) {
    if (outputFile) {
    outputFile = NULL;

  3. ocroquette2 says:

    You’re welcome, thanks for sharing the patch !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s