Skip to content

zliang7/mjpeg-avi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this?

This is a program that can convert a bunch of jpgs to AVI format. You can specify at what rate the jpgs can show up.

To make it work

You need JPG images of the same width and height. Place them in a directory. Change executable permissions of the script 'create-avi.sh' and compile the C source files. Run the script 'create-avi.sh' as follows: ./create-avi.sh path/to/jpgs widthxheight [fps - optional]

Example

Take a couple of photos and place them in a directory called for example 'jpgs'. Check their dimensions, let's say 1080 pixels in width and 720 pixels in height. Say we want to display 1 frame per second in the video. Then type the following commands in the terminal:

cd 'this-directory'

make

chmod ugo+x create-avi.sh

./create-avi.sh jpgs 1080x720 1

About

Make AVI video out of jpeg images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.0%
  • Shell 6.6%
  • Makefile 0.4%