View previous topic :: View next topic |
Author |
Message |
no_hope Guru
Joined: 23 Jun 2003 Posts: 482
|
Posted: Fri Nov 24, 2006 4:35 am Post subject: What can make a video file from a sequence of images? |
|
|
My little nephew and I made a totally rad stop-motion cartoon with a digital camera. Is there a program for Linux that could make a movie in some standard format from a sequence of images?
Making an animated gif worked, but Windows picture viewer has issues with large animated gifs and you can't add a soundtrack to a gif.
Thanks! |
|
Back to top |
|
|
tuam l33t
Joined: 04 May 2004 Posts: 765 Location: CGN, Germany
|
Posted: Fri Nov 24, 2006 7:28 am Post subject: |
|
|
mencoder from the mplayer package can do this. Just look at the examples at the end of the man page.
FF,
Daniel _________________ Logic clearly dictates that the needs of the many outweigh the needs of the few. - Spock
The needs of the one outweigh the needs of the many. - Kirk
I refuse to let arithmetic decide questions like that. - Picard |
|
Back to top |
|
|
Mben Guru
Joined: 29 Mar 2004 Posts: 465 Location: New York, USA
|
Posted: Sat Nov 25, 2006 1:42 am Post subject: |
|
|
assuming they are jpegs try something like this:
Code: |
mencoder mf://*.jpg -mf type=jpeg:fps=30 -ovc lavc -o out.avi
|
I think most of the options are obvious. You may want to change the output codec to something more appropriate for your situation, see
If you are using Windows to view the file, one of my friends says Windows Movie Maker will import clips encoded with -ovc raw but the output file will be huge (uncompressed). I'm pretty sure Windows Media Encoder will also import raw avi, but I don't think Media Player will play them without some work first. When all else fails, as the last poster said, RTFM (mencoder/mplayer's) |
|
Back to top |
|
|
jtmace Tux's lil' helper
Joined: 20 Jun 2002 Posts: 101
|
Posted: Sun Nov 26, 2006 4:38 am Post subject: my lil script |
|
|
I had to do this earlier, heres a simple script I used to accomplish it:
Code: |
for FILE in *.jpg ; do
jpeg2yuv -n 150 -I p -f 29.97 -j "$FILE" | mpeg2enc -f 8 -o "$FILE.mpg"
done
|
Run that script in a directory of properly scaled images and it creates an mpeg movie of all of them. |
|
Back to top |
|
|
|