1. Video formats and containers
A video file consists out of TWO seperate elements:
The container holds the digitally encoded data and the codec is capable of decoding/encoding this digitally encoded data.
Veejay supports the AVI and the Quicktime container , with the following codecs:
Quicktime:
AVI
Raw DV
Veejay can only deal with video files that consists entirely out of whole images (only I-frames). The codecs below will only work if all frames are I-frames. Otherwise, veejay will abort with an error message.
AVI / Quicktime:
2. Wich codec to use
MotionJPEG ( mjpeg) is the veejay codec of choice for most applications, it gives you a good tradeof between compression, quality and compatibility. If you want speed, use AVI yv16 or i420 while recording to new samples.
Tools that support MJPEG:
2. Wich resolutions to use
Veejay can do:
and many more, but multiples of 16 ( jpeg squares) will look best!
If you load multiple video files on the commandline, make sure that all files have the same resolution and audio properties.
3. How to convert ( transcode)
Veejay can convert dv video to mjpeg for you, however, I prefer to use mplayer for this, wich has more flexibility.
From "anything" mplayer can play to mjpeg, use:
$ mencoder -ovc lavc -oac pcm -lavcopts vcodec=mjpeg -o
To scale on the fly, use:
$ mencoder -ovc lavc -oac pcm -lavcopts vcodec=mjpeg -vf scale=352:288 -o
consult mplayer documentation about other options, such as cropping and filtering out blocks in video.
a quick hint for bulk encoding a bunch of capture.dv files:
$ for i in `ls *dv`;do mencoder -ovc lavc -oac pcm -lavcopts vcodec=mjpeg -o `echo $i | sed s/.dv/.avi/` $i; done;
4. What is this dummy mode
Dummy mode opens up a 'color stream' to start veejay without a video file.
If you use a video file, veejay will take that file's properties as default settings for the whole session.