News you won't see in controlled mainstream media.

Who's Online Now
1 members (Russ), 940 guests, and 176 robots.
Key: Admin, Global Mod, Mod
ShoutChat
October
S M T W T F S
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Left Sidebar Ad
Popular Topics(Views)
402,628 DOES GOD EXIST?
312,063 Please HELP!!!
Support Our Forum
Herbs/Nutrition
Only The Best HerbsOnly The Best Herbs!
Your best source of world-class herbal information! More...
Mercury Detox
Amalgam Illness: Diagnosis and Treatment by Dr. Andrew Cutler#1 Book We've Found!
"Silver" fillings, mercury detox, & much more. More...
Algin
AlginFor Mercury Detox
Prevent mercury reabsorption in the colon during detox. More...
Mercury Poisoning
DMSA, 25mg.Softcover & Kindle
Excellent resource for mercury detox. More...
EDTA 500mg
DMSA, 25mg.For Mercury Chelation
For calcium chelation and heart health. More...
Vaccine Safety?
Vaccines: The Risks, The Benefits, The Choices by Dr. Sherri TenpennyMust for Every Parent
The most complete vaccine info on the planet. More...
Stop Candida!
Candida ClearFinally.
Relief! More...
Saying NO To Vaccines
Saying No To Vaccines by Dr. Sherri TenpennyDr. Sherri Tenpenny
Get the info you need to protect yourself. More...
Nano-Silver
Amalgam Illness: Diagnosis and Treatment by Dr. Andrew CutlerWhat everyone's talking about!
Safe, powerful, timely! More...
World's Best Vitamin E
Vitamin E wih SeleniumThere is a difference!
A powerful brain antioxidant for use during Hg detox. More...
It's All In Your Head
It's All In Your Head by Dr. Hal HugginsThis changed my life!
This book convinced me remove my fillings. More...
World's Best Multi
Super Supplemental - Full-Spectrum Multivitamin/Mineral/Herbal SupplementThis is what we use!
The only multi where you feel the difference. More...
Understand Hair Tests
Hair Test Interpretation: Finding Hidden Toxicities by Dr. Andrew CutlerHair Tests Explained!
Discover hidden toxicities, easily. More...
GABA
GABA (gamma-aminobutyric acid)Have Racing Thoughts?
Many use GABA for anxiety and better sleep. More...
Pet Health Charts
Pet Health Charts for Dogs, Cats, Horses, and BirdsHelp Them!
Natural health for pets. More...
The Companion Bible (Hardcover)
The Companion BibleThe Bible We Use!
King James with study notes by Bullinger. More...
The Companion Bible (Softcover)
The Companion BibleThe Bible We Use!
King James with study notes by Bullinger. More...
Sweet Remedy
Sweet RemedyFood Additives
Protect your family from toxic food! More...
Previous Thread
Next Thread
Print Thread
Rate Thread
#49487 04/20/09 05:05 AM
Joined: Dec 1999
Posts: 30,867
Master Elite Member
****
Joining JPGs Into A Movie

Using mencoder

The explanation of the -mf option can be found below in the man page.

Creating a DivX4 file from all the JPEG files in the current dir:
mencoder -mf on:w=800:h=600:fps=25 -ovc divx4 -o output.avi \*.jpg

Creating a DivX4 file from some JPEG files in the current dir:
mencoder -mf on:w=800:h=600:fps=25 -ovc divx4 -o output.avi frame001.jpg,frame002.jpg

Creating a Motion JPEG (MJPEG) file from all the JPEG files in the current dir:
mencoder -mf on:w=800:h=600:fps=25 -ovc copy -o output.avi \*.jpg

Creating an uncompressed file from all the PNG files in the current dir:
mencoder -mf on:w=800:h=600:fps=25:type=png -ovc rawrgb -o output.avi \*.png

Note: Width must be integer multiple of 4, it's a limitation of the RAW RGB AVI format.

Creating a Motion PNG (MPNG) file from all the PNG files in the current dir:
mencoder -mf on:w=800:h=600:fps=25:type=png -ovc copy -o output.avi \*.png

Creating a Motion TGA (MTGA) file from all the TGA files in the current dir:
mencoder -mf on:w=800:h=600:fps=25:type=tga -ovc copy -o output.avi \*.tga


The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)
Joined: Dec 1999
Posts: 30,867
Master Elite Member
****
How to turn a series of numbered images into an mpeg or avi movie using free software
This is mainly oriented towards Unix systems (MacOSX / Linux / Unix) but some things also work on Windows

It is assumed that the image files are something like name001.jpg, name002.jpg, name003.jpg, etc.
Here is a quick summary and links to fuller information: for more extensive discussion and other options see here, with specific information about using ffmpeg here and about ppmtompeg here.

Step 0: Getting the image files in the right format
It may be necessary to convert your image files before encoding them. For example, mencoder seems to need jpgs. The most convenient command for this is "convert", part of the ImageMagick package that comes with most Linux distributions and for the Mac can be downloaded using fink.

e.g.,
to convert a single ppm image to jpg: convert -quality 100 image123.ppm image123.jpg

For a series of images, use something like:

for f in *.ppm; do convert -quality 100 $f `basename $f .ppm`.jpg; done
(if this doesn't work on the command line, put into an ascii file e.g., script then run using 'sh script').
Option 1: Use 'convert'
convert is part of the ImageMagick package, which comes with many Linux distributions. For Mac it can be downloaded using fink.

mpeg: To convert images to an mpeg movie it is necessary to also install mpeg2encode, which is available from the same places (note, this may be in the 'unstable' branch of fink). To convert a series of numbered ppm files to an mpg movie:

convert -delay 6 -quality 95 test*ppm movie.mpg

-delay and -quality flags are optional. If -delay is set >4, it will add extra frames to make the movie run more slowly, thereby increasing the size of the file. The default quality is 75 and maximum is 100.

animated gif: e.g.,

convert -delay 20 test*ppm movie.gif

After this, the animated gif can be converted to mov format using quicktime pro.
Option 2: Use mencoder
To convert a series of jpg files to an avi movie that can be displayed by, for example, Quicktime Player with no add-ons, use:

mencoder "mf://*.jpg" -o movie.avi -ovc lavc -lavcopts vcodec=mjpeg

Notes:

* It can also make mpeg movies but these don't seem readable by Quicktime Player
* Other vcodecs may give more efficient or higher quality results and be playable on some players, but mjpeg is the only one I found to work with the standard Quicktime Player
* To download mencoder for MacOSX, particularly for Intel CPU, follow the link at http://ffmpegx.com/download.html .

Useful discussions are on Wikipedia and here.

Source: http://jupiter.ethz.ch/~pjt/makingMovies.html


The Captian
Today they call you "crazy". Tomorrow they call you "ahead of your time."
Global Skywatch Learn about Chemtrails - You're breathing them now!
OnlyTheBestHerbs.com World-class supplements
Mercury Talk Why you are sick.
OneUp Domains Domains, Hosting, Email
1-800-358-4278 (U.S. & Canada)

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 8.0.1