Current version

v1.10.4 (stable)

Navigation

Main page
Archived news
Downloads
Documentation
   Capture
   Compiling
   Processing
   Crashes
Features
Filters
Plugin SDK
Knowledge base
Contact info
Forum
 
Other projects
   Altirra

Search

Archives

01 Dec - 31 Dec 2013
01 Oct - 31 Oct 2013
01 Aug - 31 Aug 2013
01 May - 31 May 2013
01 Mar - 31 Mar 2013
01 Feb - 29 Feb 2013
01 Dec - 31 Dec 2012
01 Nov - 30 Nov 2012
01 Oct - 31 Oct 2012
01 Sep - 30 Sep 2012
01 Aug - 31 Aug 2012
01 June - 30 June 2012
01 May - 31 May 2012
01 Apr - 30 Apr 2012
01 Dec - 31 Dec 2011
01 Nov - 30 Nov 2011
01 Oct - 31 Oct 2011
01 Sep - 30 Sep 2011
01 Aug - 31 Aug 2011
01 Jul - 31 Jul 2011
01 June - 30 June 2011
01 May - 31 May 2011
01 Apr - 30 Apr 2011
01 Mar - 31 Mar 2011
01 Feb - 29 Feb 2011
01 Jan - 31 Jan 2011
01 Dec - 31 Dec 2010
01 Nov - 30 Nov 2010
01 Oct - 31 Oct 2010
01 Sep - 30 Sep 2010
01 Aug - 31 Aug 2010
01 Jul - 31 Jul 2010
01 June - 30 June 2010
01 May - 31 May 2010
01 Apr - 30 Apr 2010
01 Mar - 31 Mar 2010
01 Feb - 29 Feb 2010
01 Jan - 31 Jan 2010
01 Dec - 31 Dec 2009
01 Nov - 30 Nov 2009
01 Oct - 31 Oct 2009
01 Sep - 30 Sep 2009
01 Aug - 31 Aug 2009
01 Jul - 31 Jul 2009
01 June - 30 June 2009
01 May - 31 May 2009
01 Apr - 30 Apr 2009
01 Mar - 31 Mar 2009
01 Feb - 29 Feb 2009
01 Jan - 31 Jan 2009
01 Dec - 31 Dec 2008
01 Nov - 30 Nov 2008
01 Oct - 31 Oct 2008
01 Sep - 30 Sep 2008
01 Aug - 31 Aug 2008
01 Jul - 31 Jul 2008
01 June - 30 June 2008
01 May - 31 May 2008
01 Apr - 30 Apr 2008
01 Mar - 31 Mar 2008
01 Feb - 29 Feb 2008
01 Jan - 31 Jan 2008
01 Dec - 31 Dec 2007
01 Nov - 30 Nov 2007
01 Oct - 31 Oct 2007
01 Sep - 30 Sep 2007
01 Aug - 31 Aug 2007
01 Jul - 31 Jul 2007
01 June - 30 June 2007
01 May - 31 May 2007
01 Apr - 30 Apr 2007
01 Mar - 31 Mar 2007
01 Feb - 29 Feb 2007
01 Jan - 31 Jan 2007
01 Dec - 31 Dec 2006
01 Nov - 30 Nov 2006
01 Oct - 31 Oct 2006
01 Sep - 30 Sep 2006
01 Aug - 31 Aug 2006
01 Jul - 31 Jul 2006
01 June - 30 June 2006
01 May - 31 May 2006
01 Apr - 30 Apr 2006
01 Mar - 31 Mar 2006
01 Feb - 29 Feb 2006
01 Jan - 31 Jan 2006
01 Dec - 31 Dec 2005
01 Nov - 30 Nov 2005
01 Oct - 31 Oct 2005
01 Sep - 30 Sep 2005
01 Aug - 31 Aug 2005
01 Jul - 31 Jul 2005
01 June - 30 June 2005
01 May - 31 May 2005
01 Apr - 30 Apr 2005
01 Mar - 31 Mar 2005
01 Feb - 29 Feb 2005
01 Jan - 31 Jan 2005
01 Dec - 31 Dec 2004
01 Nov - 30 Nov 2004
01 Oct - 31 Oct 2004
01 Sep - 30 Sep 2004
01 Aug - 31 Aug 2004

Stuff

Powered by Pivot  
XML: RSS feed 
XML: Atom feed 

§ Working with image sequences

Time to actually post something for users and not just developers.

To reading a series of numbered images as a video stream, use File > Open video file... and select the first image. VirtualDub will automatically step the filename and find any sequentially numbered frames after the starting file. You can open BMPs and TARGA files this way. Starting with VirtualDub 1.6.0, you can also sequential JPEGs and single files. In 1.6.2, you can also open non-interlaced PNG. Once the sequence has loaded, use Video > Frame Rate to set the correct frame rate for the sequence.

To exporting a video segment as a sequence of numbered images on disk in VirtualDub, use File > Save Image Sequence. What you may not know is that nearly all of the regular video processing modes are still enabled in this mode. This includes video format, frame rate decimation/conversion, filtering, etc. modes. In particular, if you only want to write out every fifth frame in the video, simply set frame rate decimation to "every 5" and you will only get 1/5th of the frames. Similarly, if you are writing out BMPs, you probably want to use no video compression and a normal video format such as 24-bit RGB. (That VirtualDub allows you to write out something silly like MPEG-4 compressed "BMPs" is actually a misfeature that I need to fix.) For the most part, though, what you see in the preview is what will get written out to disk as images.

Side note:

It isn't well known, but VirtualDub uses the exact same pipeline for all of its rendering operations. That includes AVI, WAV, and image sequence output, as well as... preview. The primary differences are whether certain outputs are disabled and whether the frame limiter is enabled. I spent a long time ago optimizing the pipeline to overlap I/O and CPU utilization and reduce synchronization overhead for better real-time preview; when you save to disk, the limiter is kicked out and you get the benefits of that work in faster rendering.

Comments

Comments posted:


Is it possible to load a non-sequential series of images (such as "img001.jpg" , "img003.jpg" , "img099.jpg") with the current experimental version of VirtualDub? I have tried it using 1.5.1 with no luck. Or could you recommend a program other than the windows XP power toy "timershot".

cameron - 02 01 05 - 23:07


Time to time I use VirtualDub for image processing - the filters in VD are powerful enough and it is simpler than to try to find an image editing program to do the task. I'd really like VirtualDub to be able to open even non-numbered image files and handle them as a single-frame video.

Kasuha - 03 01 05 - 04:54


No, you can't load non-sequential series at the moment.

1.6 does allow you to open an image file as a single frame video, even if it doesn't have a number.

Phaeron - 04 01 05 - 00:48


Just to get it clear for me: The filtes I add via "Video->Filters" are used if I write out an image sequence? (What I need most of the time is a Deinterlacer)

Roland - 04 01 05 - 12:20


The new PNG support, and auto-loading of images in a sequence is fantastic.

Howver - is it possible to enable Vdub to deal with different size images? ie set the output/video stream at the largest or user-defined image size. At the moment it just errors when any frame does not match the size of the first...

Silver - 05 01 05 - 11:18


caqmeron: why don't you rename the images with some multirename tool (even totla commander can do that)? easy as that...

mironto - 09 01 05 - 04:35


I've been wating for this so long ...sniff... it almost makes me want to cry. This will make VDub so much more useful!

Konrad_ha (link) - 25 01 05 - 08:22


@cameron:
(I'm assuming because you're using the powertoy that you're in windows)
1) Put a copy of every frame you want in a folder.
2) Order your folder by "created by date" or however it gets the files in the order you want them.
3) Select all the images (ctrl + a) and right click the *first* image in the sequence.
4) rename it "myframe (1)" (don't forget to add the file extension if you've got those turned to visible.
5) Hit enter and watch windows rename them all sequentially.

The biggest part is to name that first one with the "(#)" format and have the files in the sequence order you want.

Hope that helped,
~mmky

muddmonkey - 11 08 06 - 11:56


I was running an older copy of VirtualDub and discovered it didnít support importing PNG image sequences. How awesome that upon downloading the new version the missing feature had been implemented. Thank you for such a useful tool.

Dan (link) - 16 12 07 - 19:39


Is there any way to remove duplicate images in a resulting image sequence? If that can be done via Video - Filters, which filter to use?

burek - 01 01 08 - 09:39


Just wanted to know how the scanning for sequencing files works.
I have a sequence like this:
00000_A_01_KM0,000_KM3,223_080513_1339_CAM1_0001.jpg
00002_A_01_KM0,000_KM3,223_080513_1339_CAM1_0002.jpg
00004_A_01_KM0,000_KM3,223_080513_1339_CAM1_0003.jpg
00006_A_01_KM0,000_KM3,223_080513_1339_CAM1_0004.jpg
...
(numbering sequence at the end)
and VirtualDub 1.7.7 just finds one frame.

I tried it the other way round and put the numbering sequence at the start:

0001_s=00000_A_01_KM0,000_KM3,223_080513_1339_CAM1.jpg
0002_s=00002_A_01_KM0,000_KM3,223_080513_1339_CAM1.jpg
0003_s=00004_A_01_KM0,000_KM3,223_080513_1339_CAM1.jpg
0004_s=00006_A_01_KM0,000_KM3,223_080513_1339_CAM1.jpg
....

but VirtualDub finds just 1 frame.
Art there too many numbers in these filenmaes?

Regards,
Roland

Roland - 11 06 08 - 04:45


I was able to create an avi from a sequence of jpg files. However it just zips through all the files in a flash!!

I have not been able to figure out how to put in a delay (of say 2 to 4 seconds) between the jpg file (converted to frame) transitions.

Any help would be greatly appreciated.

gabbar - 02 09 08 - 15:46


Figured it out...

Set Video->FrameRate:Source Rate Adjustment:Change to 0.3 frames per second. This resulted in delay of around 3 seconds (1/0.3) which was decent enough for me.

gabbar - 02 09 08 - 19:06


Oops!!! I spoke (or rather posted too soon) :-) The 1/100th of normal frame rate approach was handled well by some media player software (MPC, WMP) on my PC (but not all, notably VLC).

But I need this for playing on my Personal Media Player (JXD 951) and unfortunately that is not smart enough to handle fps of 0.3 frames/sec well.

So I need a way to keep the fps at its regular value of 29.xx but still ensure that the duration between one jpg and another is around 3 seconds.

Hope somebody responds :-)

Thanks.

gabbar - 03 09 08 - 07:55


Solved my problem using another free (but not open source) software.

Here's a link to it:
http://www.aswsoftware.com/products/imag..

I hope posting links to other software is not a wrong thing to do in this forum. I have thought of posting it just because others might come across this page via a search engine and thought that they may want to know how to solve the problem.

In all probability VirtualDub may have this feature but I guess nobody in the know seems to have the time to respond to my query.

Thanks anyway, Gabbar

Gabbar - 04 09 08 - 08:04


Hi Gabbar,
Thanks for your link to the other site...much appreciate your efforts.

Regards
Ramanand

Ramu - 16 09 08 - 18:56


Re: Gabbar's question.

Using 1.8.6 (probably works in much earlier version)
Set: "Video"->"Frame Rate..."->"Frame rate conversion"->"Convert to fps:" to 29.97
Set: "Video"->"Frame Rate..."->"Source rate adjustment"->"Change frame rate to (fps):" to the # of frames per second you really want; so for 3 frames per second "3.0" but for 1 frame per 5 seconds then it's '0.2' (1 divided by 5)

Please note that's not exact, since we're not displaying a whole number of frames per second (i.e. using 0.2, you really get 4.972 seconds of video, not 5 seconds).

Alternatively, you could create an audio file (if you don't already have audio for your frames) that is the exact length you want and do:
"Audio"->"Audio from other file..."
"Video"->"Frame Rate..."->"Frame rate conversion"->"Change so video and audio durations match"

Creating a silent audio file via open source:
So you would figure out how many frames you have and multiply by seconds per frame to get a number of seconds. Get audacity (open source audio program), use it to create a number of seconds of silence ("Generate"->"Silence..."), export the wave file ([v1.2.6] "File"->"Export as Wav..." or [v1.3.x] "File"->"Export..." and choose 'wav' for 'save as type').

Mark - 17 10 08 - 21:51


I have a video at 30fps that I want to convert to 3fps by averaging every 10frames. I'm pretty sure that the 'Convert to (fps)' function doesn't do this, it only takes every 10th frame. Does anyone know how to do this?
Thanks,
Simon

Simon - 24 10 08 - 16:30


Thank You for this excellent piece of software. I have been using vdub mostly for all my editing and encoding needs. There is one problem though and I would be grateful if someone can guide me:
I have a video of an event and some images related to that event.
Is it possible to create a video combining these two?

Thanks in advance
Jay

Jay - 05 01 09 - 11:44


Jay ensure that the files are saved to the same size (filter resize Aspect ration disabled), frame rate, compression, without audio. Extract all the audio and combine as desired to match the time of the avi created. Split AVI's as desired into timed segments, append the AVI segments together, add the audio file created, and save the avi.

Ozzy - 21 03 09 - 16:07


Everything is working perfectly for me except that when i'm playing the file in virtualdub and after it's been rendered you can always see the previous frame underneath the current one, which is a pain as i'm trying to animate someone talking and it looks like his cheek is growing back under his face

AaronianKenrod - 06 02 10 - 06:56


Is it possible to export an avi file into 'time stamped' image sequences? Any help is much appreciated.

Kent - 05 07 10 - 06:51


Awesome piece!

Is there a way to make a fade effect not to show whole time that the frame is displayed but just a 20% of each end ? I have 200 jpg:s at the frame rate 5 and would like to use only 40% of the time for the faded event.

Mikko - 14 10 10 - 05:19


Thanks so much for this awesome program and for this tutorial. VirtualDub never fails me. I was able to piece my jpgs together at the desired frame rate of 4fps. Is it possible to do the same thing with .wav files? I have a wav file that is 0.25s long (4 fps) associated with every one of my original jpgs (I have thousands) and I would like to automate the process of stringing them all together in the same way as was done with the images. Once this is done, I can piece the single audio file and video together into a single file in the usual way. Thanks.

mister.zed - 17 03 11 - 03:35


I don't know how to solve my previous question directly using VirtualDub, but I was able to use foobar2000 to create a single wav from many and then incorporate it into the video created from the jpgs using VirtualDub again. It worked like a charm. Posted my solution in case others need to do the same kind of thing.

mister.zed - 17 03 11 - 06:47


I imported images but VideoDub is only allowing 195 frames/images and I don't know how to set it so I can add more frames/images. Any suggestions?

angel - 29 03 11 - 06:18


There is very simple solution for any problems with image sequence names.

1. Go to the folder where are all images
2. Arrange them by "modified" (oldest to newest)
3. Select first image and then select all images (CTRL+A)
4. Rename the first image

Voila! Windows renames all files "image (1)", "image (2)", "image (3)"... and so on. Then just open the first image to VirtualDub, and VirtualDub will automatically open rest of the images without any problems (expect if some of images are corrupted).

You can change FPS of your image sequence by going "Options" -> "Preferences" -> "Images" -> "Default frame rate".

Saving image sequence to video is very simple: Just go "File" -> "Save as AVI".

How to make timelapse video:
1. Get a good webcam (like Logitech C310)
2. Download very good free programs "Yawcam" and/or "Dorgem" and configure them to save a photo from the webcam every 5 seconds (one hour in real life = 24 seconds in video if fps is 30)

Have fun timelapsing!

timelapse pro - 27 07 11 - 21:23


I am an issue with the images that have different size. Is it possible for the program to re-size the images on the fly?

image - 24 08 11 - 03:19


Hi, I have a image sequence which contains over 9000 images. I want to make a video from those 9000 images which fps 30. I opened video file and selected the first image. VirtualDub did automatically step the filename and find any sequentially numbered frames after the starting file, but it can only process 256 of those images. How can I make a video with over 9000 frames? Thanks!

Delia - 11 12 12 - 09:34


Hooray for Virtual Dub! I got a new computer and found that I didn't have most of the tools I had on my old machine, like some kind of software to compile an image sequence into video. I cursed the prospect of having to buy the "pro" version of QuickTime for this. I'm so glad you made this post about this new ability in Virtual Dub. I couldn't find any other open source software that would do this.
THANK YOU!

Don - 12 02 13 - 13:34


I had the same query as silver, it would be nice to be able to make an avi from and image sequence with differing size images. Is this possible?

Katie - 14 05 14 - 10:49

Comment form


Please keep comments on-topic for this entry. If you have unrelated comments about VirtualDub, the forum is a better place to post them.
Name:  
Remember personal info?

Email (Optional):
Your email address is only revealed to the blog owner and is not shown to the public.
URL (Optional):
Comment: /

An authentication dialog may appear when you click Post Comment. Simply type in "post" as the user and "now" as the password. I have had to do this to stop automated comment spam.



Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.