View Full Version : Newbie Help - Compiling Img Sequence to avi, with frame dely on each image?
Jynks
2nd November 2009, 07:01
Hi there...
Not sure where to post this I hope someone can help. I am looking for (freeware / opensource if possible) for an application that can take a sequentially numbered image sequence and compile it into a video file using what ever installed codecs I have on my PC. To make it more complicated each individual image needs to be held on screen for a certain period of time... so each image IS NOT an individual frame.
---------------------------------------------------------------------
Example: img0001-1000.jpg
How do I compile jpgs to 25fps XviD when each inidvidual image is paused for 1/2 a second before the next in the sequence is loaded?
---------------------------------------------------------------------
Thanks for your help in advance
Jynks
Chikuzen
2nd November 2009, 08:19
I recomend you to the Use AviSynth.
Example: img0001-1000.jpg
How do I compile jpgs to 25fps XviD when each inidvidual image is paused for 1/2 a second before the next in the sequence is loaded?
#Sample avs script
#It is necessary that the resolution of all images is the same.
ImageReader("your imagefoler\img%04d.jpg",1,1000)
SelectEvery(2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1)
AssumeFPS(25000,1000)
If this script is read with VirtualDub, and encoded, it is completion.
Jynks
2nd November 2009, 08:22
Thanks you but lik it says I am a newbie... I have Vdub and VdubMod.... how exactly do I use this script?
In Vdub mod there is "run script" - is this what you mean?
<--- edit
PS:- I have AVIsynth 2.5 installed... just no idea how to use it in vdubmod?
<---- Edit 2
Also.. I assume the SelectEvery(2,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1)
Is the bit of code that dose the pause for 1/2 a second b4 next frame... but I can not understand it... How exactly is that doing it.. so I can change teh script to have less time or more time for each frame to be paused?
Jynks
2nd November 2009, 08:33
akkk.. that looks like spam all over my thread though it may be just that I can not read it.. if you are trying to help me thank you but I can not read that :(
Also... with AVISynth how can I add a image resize into it?
Resize -> 1280x720
<-- Edit
Ok I have gotten your script and worked out how to load it in VdubMod (open video file NOT script) and then I just applied the filters and encoded it as normal.
Everything worked great....
So now my question is....
How do I adjust teh length of time the frame is held.. would you please explain that SelectEvery line?
Thanks
Chikuzen
2nd November 2009, 09:27
Because I am not so good at English, it is not possible to teach to you any further in detail:(
Please asked other people or study the usage by yourself.
edit:
ChangeFPS is more comprehensible than Selectevery.
#Another sample avs script
#It is necessary that the resolution of all images is the same.
ImageReader("your imagefoler\img%04d.jpg",1,1000,2)
ChangeFPS(25000,1000)
The result almost becomes the same.
CWR03
3rd November 2009, 21:21
A "quick and dirty" method for VirtualDubMod:
If the images are named in sequential order (i.e. grab02840 through grab03076), just right-click the first one and select "Open with..." and select VirtualDub. They will all open in an image sequence at a default 29.97 fps. From there, click Video > Frame Rate... and under Source Rate adjustment, change to 2 fps, and under Frame rate conversion select convert to FPS: and enter 25, then save in your preferred format.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.