Discuss Scratch

SaltyCreeper67
Scratcher
43 posts

Create a video program

Hello Scratch Team! I would like to give a suggestion. I am making a “Beyblade Burst Minecraft” animation series. I am using the 3D Modeling system called Blender for it. So the result, would be a lot of frames. I have a total of 500 frames. It is wayyyy to laggy to watch. My idea is you could create a video program! You guys could make a separate project type called “Video.” This would be a program for animations that would be using a lot of frames. If you use the basic coding version, animations would become too laggy. I would love for this to be an option because I'm sure many people would enjoy having less laggy animations.

Last edited by SaltyCreeper67 (June 29, 2019 15:55:10)


Do you ever wonder why the mine was abandoned in the first place? Find out…
Five Nights with Herobrine


when green flag clicked
forever
set [ Energy] to [Infinity]
set [ Happiness] to [Infinity]
set [ Life] to [Infinity]
end
Flowermanvista
Scratcher
1000+ posts

Create a video program

Odd that it lags for you, because just last night I was playing with making full-motion video in Scratch and it played back just fine on a processor from 2012, and I could get smooth playback even with 480x360 sized video.

I used this script to play the video:

play sound [audio v] //where audio is the audio track of the video
switch costume to [bar v] //where bar is the first frame
repeat (foo) //where foo is the number of frames in the video minus 1
next costume
end

However, note that at the moment, making full motion video in Scratch is not feasible because of something weird that Scratch does to bitmap images.

As a side note, you can link to your YouTube channel on Scratch if all of the content on the channel conforms to Scratch's community guidelines.

Last edited by Flowermanvista (June 29, 2019 16:23:01)


Don't Select This —> (You Lost The Game)

THE BEST ANIMATION (2019)
You should check out these links: this little forums website or my YouTube channel.

Want to search my posts? Google/click this string: e20d86fdcf45cce5452e5904cf5db7c6 and it might get you somewhere.
SaltyCreeper67
Scratcher
43 posts

Create a video program

Flowermanvista wrote:

Odd that it lags for you, because just last night I was playing with making full-motion video in Scratch and it played back just fine on a processor from 2012, and I could get smooth playback even with 480x360 sized video.

I used this script to play the video:

play sound [audio v] //where audio is the audio track of the video
switch costume to [bar v] //where bar is the first frame
repeat (foo) //where foo is the number of frames in the video minus 1
next costume
end

However, note that at the moment, making full motion video in Scratch is not feasible because of something weird that Scratch does to bitmap images.

As a side note, you can link to your YouTube channel on Scratch if all of the content on the channel conforms to Scratch's community guidelines.
One problem, I don't have a youtube channel. This animation series is for Scratch and Scratch only.

Do you ever wonder why the mine was abandoned in the first place? Find out…
Five Nights with Herobrine


when green flag clicked
forever
set [ Energy] to [Infinity]
set [ Happiness] to [Infinity]
set [ Life] to [Infinity]
end
SaltyCreeper67
Scratcher
43 posts

Create a video program

Flowermanvista wrote:

Odd that it lags for you, because just last night I was playing with making full-motion video in Scratch and it played back just fine on a processor from 2012, and I could get smooth playback even with 480x360 sized video.

I used this script to play the video:

play sound [audio v] //where audio is the audio track of the video
switch costume to [bar v] //where bar is the first frame
repeat (foo) //where foo is the number of frames in the video minus 1
next costume
end

However, note that at the moment, making full motion video in Scratch is not feasible because of something weird that Scratch does to bitmap images.

As a side note, you can link to your YouTube channel on Scratch if all of the content on the channel conforms to Scratch's community guidelines.
I tried to to that but it didn't change anything.

Do you ever wonder why the mine was abandoned in the first place? Find out…
Five Nights with Herobrine


when green flag clicked
forever
set [ Energy] to [Infinity]
set [ Happiness] to [Infinity]
set [ Life] to [Infinity]
end
Flowermanvista
Scratcher
1000+ posts

Create a video program

Just out of curiousity, do you happen to have one of these animations in your My Stuff folder? Because I'd like to see if it plays back on my computer.

Don't Select This —> (You Lost The Game)

THE BEST ANIMATION (2019)
You should check out these links: this little forums website or my YouTube channel.

Want to search my posts? Google/click this string: e20d86fdcf45cce5452e5904cf5db7c6 and it might get you somewhere.
SaltyCreeper67
Scratcher
43 posts

Create a video program

I do, but I don't wanna release this. I haven't finished it yet. Actually, I could remove some stuff then I could release it.

Do you ever wonder why the mine was abandoned in the first place? Find out…
Five Nights with Herobrine


when green flag clicked
forever
set [ Energy] to [Infinity]
set [ Happiness] to [Infinity]
set [ Life] to [Infinity]
end
SaltyCreeper67
Scratcher
43 posts

Create a video program

Flowermanvista wrote:

Just out of curiousity, do you happen to have one of these animations in your My Stuff folder? Because I'd like to see if it plays back on my computer.
Okay! Here you go: I will unshare this soon so hurry. https://scratch.mit.edu/projects/316444210/

Do you ever wonder why the mine was abandoned in the first place? Find out…
Five Nights with Herobrine


when green flag clicked
forever
set [ Energy] to [Infinity]
set [ Happiness] to [Infinity]
set [ Life] to [Infinity]
end
Flowermanvista
Scratcher
1000+ posts

Create a video program

Took a look at them. The full motion video components played back just fine on my machine, so either your device has a weak CPU, or a weak GPU - possibly both if it's an older machine. But Scratch is a naturally slow language, and using it to display image sequences paired with audio is no easy task.

I would highly recommend using JPG because of the space savings that it could give. Also, at the moment, I would recommend against putting full-motion video in your projects period because of something weird Scratch does with bitmap images - it upscales them by 200% when they are imported, and then resaves them, resulting in massive file size increases. For example, I tried to make a demo of full-motion video in Scratch, and its stupid processing resulted in the file size increasing by a factor of 20.

I should note that placing the
wait (0) secs
block in the play loop will result in Scratch waiting an extra frame before changing costumes, so unless you want the video to play at 15 frames per second, you should omit it.

Don't Select This —> (You Lost The Game)

THE BEST ANIMATION (2019)
You should check out these links: this little forums website or my YouTube channel.

Want to search my posts? Google/click this string: e20d86fdcf45cce5452e5904cf5db7c6 and it might get you somewhere.

Powered by DjangoBB

Standard | Mobile