stitching jpg images into a video

Moderator: Ken Berry

Post Reply
blacktoad
Posts: 22
Joined: Fri Jun 02, 2006 9:00 am
Location: south australia

stitching jpg images into a video

Post by blacktoad »

Hello.

I need to join 90 jpg images together to make into a video.

All images are the same size 1066x907.

I seem to remember way back that this could be done but forgotten how.

I did the simplistic approach and loaded all 90 images into the timeline and done a render but the result was just jerky.

What should I be doing to get a smooth 90 frame video clip?

Thanks for any help. :) :)



I have Video Studio 10+.
OS win XP Pro
140 gb HDD
2gb Ram
9600gt Nvidia Graphic Card
skier-hughes
Microsoft MVP
Posts: 2659
Joined: Thu Jul 21, 2005 10:09 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: gigabyte
processor: Intel core 2 6420 2.13GHz
ram: 4GB
Video Card: NVidia GForce 8500GT
sound_card: onboard
Hard_Drive_Capacity: 36GB 2TB
Location: UK

Re: stitching jpg images into a video

Post by skier-hughes »

What you did was right, but what we need to know are the settings you used to output your video.
User avatar
Ron P.
Advisor
Posts: 12002
Joined: Tue May 10, 2005 12:45 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Hewlett-Packard 2AF3 1.0
processor: 3.40 gigahertz Intel Core i7-4770
ram: 16GB
Video Card: NVIDIA GeForce GTX 645
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 4TB
Monitor/Display Make & Model: 1-HP 27" IPS, 1-Sanyo 21" TV/Monitor
Corel programs: VS5,8.9,10-X5,PSP9-X8,CDGS-9,X4,Painter
Location: Kansas, USA

Re: stitching jpg images into a video

Post by Ron P. »

Well to start with, you will have way more than 90 frames in your video..;) For example for NTSC region (US, Canada, Japan), you should have 29.97 Frames per Second (fps) of video. 90 frames would give you a 3 sec video, with the 90 photos flashing by so fast that you would not be able to see them...;) So one thing you need to do is determine how long you want your video, which will also help determine the duration of each image. You can go into the Preferences dialog (File>Preferences or just press [F6] on your keyboard), and then go to the Edit tab, where you can set the Default image/color clip duration. You can also manually adjust the duration after you have dropped your image onto the time-line by grabbing the yellow handle on the right or left side, and dragging it. Then one final method that can be used, after you have inserted all the images, and decided that you want to change the duration of all images, is to multi-select them, then go to the Clip menu, and select Change image/color duration .

To make a slide-show video, do as you've done, drop your images into the time-line. Next you will probably want to think about using pan/zoom effects, known as the Ken Burns effect. This is found on the Image tab beneath the Resampling option. These can be keyframe customized to suit your needs.

Then you may want to use some transitions between your images. I've always favored the Cross-Fade, unless I'm needing something different to help with the mood of the video, or particular point in the video. Transitions are found in the Effect step, the default Effect library is set to Film. Click on the down-arrow to open the drop-down menu for more categories, Cross-fade is found in the FX category.

Subtitles are sometimes used to give the viewer more information on the image they are viewing, like the location, or date. Just go to the title step to add any titles. Then maybe some background music, or narration.

You can see along the top, that VS is setup to follow Steps, just proceed along those steps in building your video. The last being the Share step. This is where you render of course.

Now if you're wanting to put your masterpiece onto DVDs. then you would select Share>Create video file> NTSC (or PAL) DVD. This will provide you with a DVD compliant MPEG-2 video file. Once the video file is created, you can view it using a software video player. Then to produce your DVD, if you have not already closed VS, select File>New Project, and go directly to the Share step, and select Create Disc, which will open the Burn module.

In the Burn module, you insert your video file that you just created, and continue to build your menu, add chapters, then finally burn the DVD, or Create DVD Folders, or an ISO file. Creating DVD Folders before actually burning a DVD, allows you to again preview your work, making sure everything is the way you want it. If not you can go back and make changes, without having wasted a disc.
Ron Petersen, Web Board Administrator
blacktoad
Posts: 22
Joined: Fri Jun 02, 2006 9:00 am
Location: south australia

Re: stitching jpg images into a video

Post by blacktoad »

Thankyou both very much for your prompt reply, :D

Yes this is a very short clip intentionally so to explain...

I have ventured into the realm of 3D Graphics where I have a plugin that can create special effects.

When it creates the effect be it of 30-1000 frames it spits out the result in jpg bmp format.

Hence I need to stitch them back to gether in the order they were made to get the effect to work in a video clip.
Frame rate 30fps.

So what settings should I use to output the video please?

Cheers Blacktoad :D
Trevor Andrew

Re: stitching jpg images into a video

Post by Trevor Andrew »

Hi blacktoad

If the original graphic was 30 fps then you need 30 images per second.
Each image being one frame long.
What were the properties of the original video?

Ok
Add your images to the timeline, select all images using Click +Shift
From the Clip menu select Change color/image duration.
Set as 0,0,0,1

This will change the length of each clip to 1 frame.

Your images are 1066 x 907. in size and as such will have a black border.
When you create the video file the black border will show.

You may have to use the Custom option.

What do you want to use the final video for?

If You Tube then the Flash option may be best
blacktoad
Posts: 22
Joined: Fri Jun 02, 2006 9:00 am
Location: south australia

Re: stitching jpg images into a video

Post by blacktoad »

Thanks Trevor

re the properties of the video.

To explain what this graphics plugin does.

You select one single image of anything you wish to create an animation from.Lets say you have a scene that you would like to add a flickering fire effect to.

You get a single jpg of flames.....select the surface you wish to apply the effect to.....and depending on the duration you wish it to run from say 30.....to what ever
it will then create variations on that single jpg so when played back it becomes animated.
So it all starts out as a single image..jpg.
So I just need to make this back into a 30fps Avi.
The black frame you mention sounds a bit of a problem though but will sort that out later.
No this is not for YouTube . But Video playing. :D :D
Regards Blacktoad.
Trevor Andrew

Re: stitching jpg images into a video

Post by Trevor Andrew »

Hi

So you have 1000 or so images

Did my earlier suggestion work:-

Add your images to the timeline, select all images using Click +Shift
From the Clip menu select Change color/image duration.
Set as 0,0,0,1

This will change the length of each clip to 1 frame.

Selecting 0,0,0,2 will change the image duration to 2 frames and slow the playback.

Avi

Avi is just a container holding the video using many types of compression.
DV, Mpeg4, div x, mjpeg--- loads of types, some will give you the 30 frame option.

What do you mean regarding ‘video playing’
Just on the pc or a dvd?
blacktoad
Posts: 22
Joined: Fri Jun 02, 2006 9:00 am
Location: south australia

Re: stitching jpg images into a video

Post by blacktoad »

Hello Trevor and thanks,

Yes I have tried as you suggested and it worked just fine very pleased indeed with the result.

My only problem was in selecting the jpgs in the timeline, for some strange reason the " Click + shift " decided it was going to give me a hard time and would not select all jpgs in one hit !!

Instead I could only select two at a time after doing 125 this way I became a bit brassed off LOL.

But it proved the point when rendered out nice smooth playback.

I want to burn the video to DVD when ready.

Just that selection problem as when I send 1000 jpgs well.......

Thankyou for your most valued help Trevor :D :D

Cheers Blacktoad
Black Lab
Posts: 7429
Joined: Wed Dec 15, 2004 3:11 pm
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit
Location: Pottstown, Pennsylvania, USA

Re: stitching jpg images into a video

Post by Black Lab »

My only problem was in selecting the jpgs in the timeline, for some strange reason the " Click + shift " decided it was going to give me a hard time and would not select all jpgs in one hit !!

Instead I could only select two at a time after doing 125 this way I became a bit brassed off LOL.
Were you just selecting the adjacent clip? To select all you must click on the first clip, press and hold the Shift key, then click on the last clip.

BTW, what is this software you are using? Sounds interesting.
Trevor Andrew

Re: stitching jpg images into a video

Post by Trevor Andrew »

Hi Blacktoad

Thanks for the feedback,
As Jeff says you must select the first and last image when using shift click.
Just tried and Ctrl+ A seems to work as well.

I mentioned your frame size as not being standard video size, they will produce a black bar within the video.

So are you able to select the frame size when using the 3D Graphics program.

If so choose 768 x 576 for 4:3
Or
1024 x 576 for widescreen 16:9

And as Jeff asks what program are you using for your graphics?
blacktoad
Posts: 22
Joined: Fri Jun 02, 2006 9:00 am
Location: south australia

Re: stitching jpg images into a video

Post by blacktoad »

Thanks Jeff and Trevor ,
Yes the selection problem now fixed , thats a BIG BONUS lol

The Dreamlight "Animate Texture Plugin" is what you need to Google.
I have just got it but it does have endless posibilities.

The graphics software is DazStudio 3 Advanched. but also Carrara 6 and Hexagon 2.5 at times.

I may be wrong but I think it has been made for Poser & DazStudio only .

At the moment Windows xp has decided to play up , soon as i go to open up My Documents I get the Windows Explorer has encountered a problem flash up!!

Get one thing fixed and another goes....
But thank you guys for your help thats great.
Regards Blacktoad. :D :D :D
Post Reply