Kino Video Editor
 
  Kino / dvgrab
Latest News
Download
Features
Requirements
Screen Shots
  Support
User Guide
HOWTOs
FAQ
Mailing Lists
Contributed Code
  Development
Project Vision
Developer Guide
Source Code
Current Developers
Report a Bug
  Community
Success Stories
Discussion
 

Summary
This is the dvgrab handbook.



The basic command line format is:

dvgrab [options] filename

The filename parameter specifies the base part of the actual file name. Usually dvgrab adds a counter or timestamp and the .avi extension.

Options

--autosplit

Whenever a new recording is detected, a new file will be created. This is useful for splitting long video sequences into several smaller ones. If this option is used together with the --frames option, then a split is performed when the frame count is exceeded.

The default is no autosplit.

--card number

If you have more than one IEEE1394 card, then this option lets you select the correct interface card.

Default is 0, which is the first card found.

--channel number

Selects the iso channel used for transmitting the video data. Default is 63, the channel most camcorders are using.

--every number

Saves only every nth frame. This is useful for monitoring applications or if you want to create an overview of a whole cassette tape. To record only one frame per second, use --every 25 (or --every 30, if you are using NTSC).

Default is 1; that is, saving every frame.

--format [dv1 | dv2 | raw | test]

The output file will be saved in one of the file formats. The default is the dv1 AVI file format.

dv1 and dv2 are two flavors of the AVI file format. The dv1 format is slightly smaller in size than the dv2 format, but some applications can only read dv2 format files, which contain preprocessed audio tracks.

The raw format contains just the plain video frames without any additional information. Useful for some Linux software. Files in this format can also be played with Windows QuickTime when renamed to file.dv .

The test format is used only for testing purposes. It contains all data packets sent from the camcorder and can be used as input to dvgrab with the --testmode option.

--frames number

dvgrab will record this many number of frames per file. One second of PAL data contains 25 frames and one second of NTSC data contains approx. 30 frames.

The default value is practically infinite; note however that there is a file size limit of 1 GByte for the AVI file format. dvgrab will create a new file if the size is slightly less than 1 GByte.

--help

Prints a short help screen.

--testmode

dvgrab will read the video data from a file created previously with the --format test option. Useful during development for regression testing.

--timestamp

Puts the date and time of recording into the file name.

--version

Prints the version information.




| Printer-friendly page |

Comment List


Topic: Author:
Time:
Single frame capture from mouse click?
Jim Burns 04.01.2008 11:05

Hi

I would like to trigger a frame capture using a left mouse click (automatically from a super 8 projector via a modified mouse). I'm looking for ideas for a quick and dirty way of doing this.

Can anyone help?

Thanks

Jim
could you pipe a capture
jim shupert 04.05.2007 05:44

could you pipe a capture into something like ffmpeg?
so that you could - basically in real time - make a h.264 or mp4.
That is shoot for 15 min & 2 sec .
stop.
and have a 15 min & 2 sec mp4 of
say 320 x 240 500 kbps .
( but then how would you get audio? )
output to stdout
tommi uimonen 07.07.2004 04:01

instead of specifying filename, put - and you'll get the dv stream to stdout

this is handy since mplayer can read stdin:

dvgrab - |mplayer -



   RE: output to stdout
Nico Ness 01.08.2007 12:47
>
> instead of specifying filename, put - and you'll get the dv
> stream to stdout
>
> this is handy since mplayer can read stdin:
>
> dvgrab - |mplayer -
>
>
>
>

hello,
with the command dvgrab - |mplayer - , I have the following error from mplayer :
Cannot seek backward in linear streams!
Seek failed


I try using a cache in mplayer but nothing happens ( i.e. command dvgrab - | mplayer - -cache 20480 )

Regards
     RE: output to stdout
makoomba 22.01.2008 08:54
> hello,
> with the command dvgrab - |mplayer - , I have the following
> error from mplayer :
> Cannot seek backward in linear streams!
> Seek failed

mplayer - -demuxer lavf -lavfdopts format=dv
   RE: output to stdout
Jussi salmi 16.11.2004 03:44
>
> instead of specifying filename, put - and you'll get the dv
> stream to stdout
>
> this is handy since mplayer can read stdin:
>
> dvgrab - |mplayer -
>
>
>
>
Is there a way to do it opposite: play a video using mplayer to firewire ?
     RE: output to stdout
d lord 29.07.2005 11:22
> > instead of specifying filename, put -
> > and you'll get the
> > dv stream to stdout
> >
> > this is handy since mplayer can read
> > stdin:
> >
> > dvgrab - |mplayer -

> Is there a way to do it opposite:
> play a video using mplayer to firewire?

You don't need mplayer just use somthing like cat $filename > $firewiredevice