The page describes some elementary making and processing videos on Linux and MS Windows using free software only. It describes how to make movie from sequence of images how to extract images from videos, change parameters, cut some parts out and others.
Few hints for processing in Matlab programming environment are also provided. The Matlab is a commercial very powerful SW and it runs on many operating systems.
It is assumed that necessary codecs are installed on the system.
mencoder
application. Use the mencoder
. See the local copy downloaded from the detailed
official documentation.
Command line that works fine for me: mencoder mf://\*.jpg -mf
w=640:h=480:fps=10:type=jpg -ovc lavc -lavcopts vcodec=mpeg4 -oac copy
-o output.avi
Instead of lavc -lavcopts vcodec=mpeg4
one may try just x264
.
You can use VirtualDub. File
-> Open
Video File
. Change the default name mask to images. VirtualDub
undertands bmp and RGB tga files. Then, set the preferred compression
and save as avi file.
Very simple. You can download my im2avi.m
script. It is far from
optimal yet it illustrates using of im2frame, movie2avi
functions.
Use mplayer
. Example of use: mplayer -vo jpeg
movie.avi.
You can also use the
Avidemux.
Use the VirtualDub. File -> Save image sequences ...
.
You can use the function aviread
for reading AVI file or
even just specified frames from it. You can then do with separate
images whatever you want and store them back into avi (see the text
below).
Avidemux can do many operations as the famous VirtualDub. The mencoder
can also do many things. Example of
joining two avi-files:
cat 1.avi 2.avi | mencoder -noidx
-ovc copy -oac copy -o output.avi -
The VirtualDub fulfils almost all your needs.
You can do almost everything here.