LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   create video from jpgs linux console (https://www.linuxquestions.org/questions/linux-general-1/create-video-from-jpgs-linux-console-334410/)

brianbek 06-16-2005 09:22 PM

create video from jpgs linux console
 
Hey just wondering if anyone knows of an app that will run in the linux console, and take jpgs and merge them into some sort of video, ex. avi.
The reason I'm looking for such a thing is that i have a folder that a webcam dumps jpegs to, and i'd like to script something to create some video after a given amount of time. I think all that made sense ;)

Thanks

crabboy 06-16-2005 10:45 PM

mencoder will create an avi from jpeg files. I just tried it and it works.

http://www.mplayerhq.hu/homepage/index.html

From the mencoder man page:
Quote:

Encoding all *.jpg files in the current dir
mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc
lavc -lavcopts vcodec=mpeg4

brianbek 06-17-2005 05:31 AM

Thanks! I'll give that a try :)

pwalden 06-26-2005 02:07 PM

I have tried this with MEncoder 1.0pre7-3.2.2 and it produces a garbage video.

crabboy, what version did you use? I am trying to figure out at what version this functionality broke.

crabboy 06-26-2005 03:26 PM

MEncoder 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team

Matir 06-29-2005 04:09 PM

crabboy: on an aside, I noticed you were an Atlantan as well... do you attend any of the local LUG meetings or anything? I would be honored to meet you at some time. :)

seaelf 06-30-2005 05:43 AM

jpegs to video
 
Hey bro---

I use a cool program called "DVD Slideshow" http://dvd-slideshow.sourceforge.net/
It takes a directory of pix and creates a slideshow with the option to put music to it. After that, I edit it with "LiVES". Do a search in Freshmeat for LiVES. It has a feature where it will take a folder of pix and dump into the editor. From there you need to do some creative magic to get what you want. I have not tried this approach yet but have had complete success doing the "DVD Slideshow to edit with LiVES" approach.

Good Luck

Neil

Marius2 06-30-2005 08:45 AM

You could also use the 'convert' utility which is part of ImageMagick, that is, any distro should be able to convert a series of jpg to an mpg out-of-the-box.

aratis 06-30-2005 11:42 PM

Re: create video from jpgs linux console
 
Quote:

Originally posted by brianbek
Hey just wondering if anyone knows of an app that will run in the linux console, and take jpgs and merge them into some sort of video, ex. avi.
The reason I'm looking for such a thing is that i have a folder that a webcam dumps jpegs to, and i'd like to script something to create some video after a given amount of time. I think all that made sense ;)

Thanks

Try "myrtille".


All times are GMT -5. The time now is 06:56 PM.