View Full Version : images to video converter?
plinius
31st January 2005, 21:34
Hi all,
I need a program, either for Win98 or for Linux,
that can convert a series of JPEG images into
an MPEG 1 or 2 video stream, or Divx or Xvid;
those too would be fine.
I used to use a program under XP that I thought
was Tmpgenc, but upon newly downloading that
program it doesn't seem to have this capability.
Can anyone assist?
If necessary I will write the code myself
based on mpeg2enc and jpeglib but I'd like to
avoid that work for now.
Thank you.
Arachnotron
31st January 2005, 22:08
virtualdubmod (open file, set type to image sequence)
Avisynth (imagereader/imagesource command)
plinius
31st January 2005, 22:44
Hi, thanks, but I just tried virtualdubmod
and it requires that I add each frame individually
by hand. I've got Win98, maybe that's a factor,
but it won't let me select all 50+ frames in one go.
Do you know of any alternative approach or program?
Thanks.
Arachnotron
31st January 2005, 22:54
You should rename them to filenames with increasing numbers, picture001.jpg, picture002.jpg and so on. Just open the one with the lowest number. And all pics should have the same dimensions.
There is a great batch rename tool included in the total commander by the way.:)
plinius
31st January 2005, 22:59
I had opened dsc_0487.jpg, which is the first in the series
that goes up to dsc_0547.jpg.
I should note that after I posted my last reply,
I realized that virtualdubmod had actually opened
a total of 5 images.
By the way, all of the 50+ images are 1504x1000.
Perhaps the problem is that this large, oddball size
is triggering a bug.
I may try to use imagemagick to reduce the image
sizes.
Arachnotron
31st January 2005, 23:13
In that case, why not try avisynth?
- install avisynth
- put a textfile in the folder where the pics are called test.avs
in it put these lines:
ImageSource("dsc_0%d.jpg", 487, 547, 25)
# resize to mpeg size?
Lanczos4Resize(704,576)
And open that test.avs file in a media player or vdubmod as you would an avi file. Or plunc it straight into an mpeg2 encoder.
[edit] changed the imagesource syntax
plinius
31st January 2005, 23:30
The reason why I only got 5 images was that there's
an image (#6) which is missing. I had assumed
that the filenames would be read in and sorted
and that missing images wouldn't matter.
At any rate, the approach you suggested with the avs
file works just fine.
Thanks much and dank U wel.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.