LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-16-2005, 09:22 PM   #1
brianbek
LQ Newbie
 
Registered: Mar 2005
Location: Nova Scotia, Canada
Distribution: Mandriva 2006
Posts: 18

Rep: Reputation: 0
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
 
Old 06-16-2005, 10:45 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
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
 
Old 06-17-2005, 05:31 AM   #3
brianbek
LQ Newbie
 
Registered: Mar 2005
Location: Nova Scotia, Canada
Distribution: Mandriva 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks! I'll give that a try
 
Old 06-26-2005, 02:07 PM   #4
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Raspbian, Ubuntu, Chrome/Crouton
Posts: 374

Rep: Reputation: 50
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.
 
Old 06-26-2005, 03:26 PM   #5
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,821

Rep: Reputation: 121Reputation: 121
MEncoder 1.0pre5-3.3.3 (C) 2000-2004 MPlayer Team
 
Old 06-29-2005, 04:09 PM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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.
 
Old 06-30-2005, 05:43 AM   #7
seaelf
Member
 
Registered: Apr 2004
Location: Virginia
Distribution: Slackware 10.1 & 12.0
Posts: 66

Rep: Reputation: 16
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
 
Old 06-30-2005, 08:45 AM   #8
Marius2
Member
 
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276

Rep: Reputation: 31
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.
 
Old 06-30-2005, 11:42 PM   #9
aratis
Member
 
Registered: Oct 2003
Location: Paris, Texas
Distribution: RHEL4
Posts: 48

Rep: Reputation: 15
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".
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
howto create a logo at linux console inaki Debian 2 03-12-2005 02:34 AM
create m3u file from the console ziggis-soft Linux - Newbie 1 07-25-2004 09:35 PM
How to create files from the console? warrant6767 Mandriva 2 06-30-2004 05:36 PM
How to create VCD from any given video files in linux... linuxlah Linux - Software 4 02-17-2004 05:33 PM
Console message - how do I create one? davee Linux - Newbie 3 08-08-2003 04:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration