How to Upload a Video to Scratch

I love the power and simplicity of Scratch, but there seems to be 1 glaring area that information technology doesn't support – video. Now some of my students may remember that it is possible to import an animated GIF if you tin find one on the cyberspace that suits your needs, merely what if you lot want to tape a video and then upload it into Scratch? How can we do that? Well the answer is:

Ok, the reply requires more than than just a website, but essentially you tin can…

          Edit and catechumen whatever video into an animated GIF          then upload information technology into Scratch        

Step 1 – Record your video

I bold y'all accept a device that can do this – they're everywhere these days. Phones, tablets, watches, computers – nearly tech devices seem to have a camera that tin can tape video. Each device will record using slightly different video formats, simply EZGIF can work with most of them. In my example, I apply my calculator to record a Scratch Inferior animation playing on my laptop screen. You likewise demand to know where the video file is stored and the filename – sometimes they get weird filenames similar MVI_0912.MP4 so you may have to preview them to brand sure you take the right video.

Step 2 – Navigate to EZGIF.com

This should exist the easy pace. I added a link higher up on the EZGIF logo which goes directly to the video to GIF page. If y'all become to the home page of the site you volition notice lots of options along the top. We are using the 'Video to GIF' selection.

The EZGIF home page with all the options. Nosotros are describing the use of the 'Video to GIF' on this page.

Footstep 3 – Edit your Video

Now the secret to a great blithe GIF is to make the transition between the end and the start of the video as polish as possible. Animated GIFs automatically repeat when they are published on nigh platforms and so if the kickoff and end frames look very like it will look really slick.

The 'Video to GIF' option has many tools to edit and convert your video

In my example I'm using the 'Ingather video' tool to shorten my video.

I'k cropping my video and then it'south almost x seconds long – the original is almost sixteen seconds.

In one case you lot gear up the start and end time of the video you click the 'Cut video!' button and expect …

Don't forget to download your cut video by clicking 'salve'

You lot tin preview the event and one time you are happy with it click the 'relieve' button and it volition download to your reckoner. The filename volition probably be 'ezgif.com-video-cutter.mp4' or something like that.

Pace iv – Convert to GIF

At present that y'all have the edited video downloaded onto your calculator you can utilise the 'Video to GIF' option to convert it into an animated GIF.

In this example, I'm uploading the video I downloaded subsequently editing the longer video that I uploaded before… (phew)

There are a few options to experiment with simply the most important is the 'Frame Rate'. This affects the quality of the animation or how shine it volition be. Each frame is a still moving-picture show in your video. When the frames are displayed very quickly 1 subsequently the other the pictures blur together to make it look fluid. This is how all video works. The 'frame charge per unit' is the number of frames that are displayed every 2d. EZGIF places limits on the animated GIFs it creates so the higher the FPS the shorter your animation will exist.

For elementary cartoon like videos a lower frame charge per unit will be fine. More complex videos should apply a higher FPS.
You can 'optimize the GIF' to reduce the file size, simply it may also reduce the quality of the blitheness.

When you click 'save' it will download to your reckoner with the name 'ezgif.com-video-to-gif.gif'. At present we tin upload it into Scratch.

Stride 5 – Upload into Scratch

Because my example is 11.v seconds long with a frame charge per unit of 10 – there should be a full of virtually 115 frames. Each frame will be dissever costume in Scratch. It does seem a bit weird to upload a video of Scratch Junior into Scratch, only this is just an instance.

Select the Upload Sprite option in your projection
Depending on the size of the GIF this could take a while…
Ok, my estimate was a flake out, but 102 costumes is still a lot. Pro tip: exercise not try to edit each costume if y'all have lots (duh)
Position your sprite in the preview area and use the size box to arrange to your liking

Ok, so now we accept our sprite positioned and sized, simply why doesn't it breathing when I click the green flag? Well, you didn't plan it to practice that yet…

The basic code to breathing would expect a fleck like this.

Now for some more maths… Recollect my FPS for this example was ten. Then if my GIF shows 10 frames per second that means I demand to display 10 costumes each second. Which ways I need to wait … seconds between costume. Well, you don't have to – you could get in faster or slower – or maybe you simply want to show costumes 1 – 50. It'southward all up to yous now.

bainboxiou.blogspot.com

Source: https://helpkidscreate.com/adding-video-to-scratch/

Related Posts

0 Response to "How to Upload a Video to Scratch"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel