Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What can make a video file from a sequence of images?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
no_hope
Guru
Guru


Joined: 23 Jun 2003
Posts: 482

PostPosted: Fri Nov 24, 2006 4:35 am    Post subject: What can make a video file from a sequence of images? Reply with quote

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
View user's profile Send private message
tuam
l33t
l33t


Joined: 04 May 2004
Posts: 765
Location: CGN, Germany

PostPosted: Fri Nov 24, 2006 7:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Mben
Guru
Guru


Joined: 29 Mar 2004
Posts: 465
Location: New York, USA

PostPosted: Sat Nov 25, 2006 1:42 am    Post subject: Reply with quote

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
Code:

mencoder -ovc help


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
View user's profile Send private message
jtmace
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2002
Posts: 101

PostPosted: Sun Nov 26, 2006 4:38 am    Post subject: my lil script Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum