Simulating Rolling Shutter (Behind the Scenes) - Smarter Every Day

  Рет қаралды 184,522

Smarter Every Day 2

Smarter Every Day 2

Күн бұрын

Пікірлер: 383
@AmiYamato
@AmiYamato 7 жыл бұрын
The technique is called _"Slit-Scan"_ and was developed in the analogue days decades ago. It was used in Stanley Kubricks *"2001: A Space Oddysey"* for the star gate sequence.
@5MadMovieMakers
@5MadMovieMakers 7 жыл бұрын
Ami Yamato There's a slit scan dolly zoom video that's very cool, have you seen it?
@AleksandrMotsjonov
@AleksandrMotsjonov 7 жыл бұрын
Yes. Destin should definitely segway into this topic!
@BeCurieUs
@BeCurieUs 7 жыл бұрын
Dude, when you google slit scan dolly zoom video, you get a crazy vimeo video!
@mitchellmaytorena1137
@mitchellmaytorena1137 7 жыл бұрын
That Vimeo video is very reminiscent of a acid trip. The way your surrounding, or the walls around you appear to be breathing.
@ThomasSchannel
@ThomasSchannel 7 жыл бұрын
heres a good video talking and explaining for anyone vimeo.com/71702374
@EvanMoon
@EvanMoon 7 жыл бұрын
It's so cool that when someone says "you're probably cut this out", you use it because it's very important to what you're showing us. It's one of the key components to be smarter every day.
@Pmcoelho22
@Pmcoelho22 7 жыл бұрын
The type of curves you get are: y = x * tan( w * x + phi ) Where w is related to the propeller and shutter speeds, and phi is phase.
@fzigunov
@fzigunov 7 жыл бұрын
I'd love to see the proof!
@Pmcoelho22
@Pmcoelho22 7 жыл бұрын
Well, imagine a vertical bar going from left to right of the screen (representing the shutter), and an infinite straight line passing at the origin, around which it can rotate (representing the propeller). If the vertical line is at position x = 1, then the interception of the propeller line and the shutter line is simply: x = 1, y = tan( alpha ), being alpha the angle of the propeller to the x axis, this is the geometric interpretation of the tan funtion. If x were to be a diferente value, then, because the propeller line has a slope of tan(alpha), the interception point is going to be y = x * tan( alpha ). Because the propeller is rotating with constant speed, we can write: alpha = omega * t + phi, where omega is the angular velocity of the propeller, t is time and phi is the phase. Now, if the vertical line goes through all values of x, from left to right, at constant speed s, then: x = s * t t = x / s So, from y=x*tan(alpha), we get: y = x * tan( omega * t + phi) = x * tan( omega/s * x + phi) y = x * tan( w * x + phi ) , with w = omega/s So the faster the propeller's angular velocity in relation to the speed of the shutter, the more separation lines you will see because the tan function cicles more often, like Destin and Henry theorized. Also, Destin was right about de arctan lines which is the result you get if you do this with an horizontal line moving vertically for the shutter. It's not a rigid proof but I hope it convinces you it's true :)
@daversalstudios
@daversalstudios 7 жыл бұрын
Gênio!! Valeu pela explicação! Brasileiro também, imagino ;)
@Pmcoelho22
@Pmcoelho22 7 жыл бұрын
Obrigado!! Na realidade sou de Portugal :)
@SmarterEveryDay2
@SmarterEveryDay2 7 жыл бұрын
This is the second channel. Please consider subscribing to it if you'd like to learn more about the technical side of what I do.
@malachi5302
@malachi5302 7 жыл бұрын
Smarter Every Day 2 Try doing a collab with Grant Thompson
@malachi5302
@malachi5302 7 жыл бұрын
(On your main channel of course)
@22222Sandman22222
@22222Sandman22222 7 жыл бұрын
Smarter Every Day 2 Yes, this is. Nice.
@NathanDePaulo
@NathanDePaulo 7 жыл бұрын
I think you and Henry need to do more like this. I'd love to see more tutorial type "this is how you can do this, if you want" video. I'd enjoy seeing the math and settings and all the boring things that don't usually make it into most videos. I mean we're here to learn! Also, thanks for this. You and Henry are great.
@wobblysauce
@wobblysauce 7 жыл бұрын
Henry’s getting his learn on via a sponsor.. niiiccee..
@5MadMovieMakers
@5MadMovieMakers 7 жыл бұрын
The slit-scan effect looks amazing!! Also famously used to photograph the stargate sequence in 2001: A Space Odyssey
@pkramer962
@pkramer962 7 жыл бұрын
FYI the background with all the glowing buttons was made by Jack Conte for his music video "Pedals" from 2013. He is one of the founders of Patreon and at the end of the video he talks about his new site called Patreon. He made many amazing music videos before Patreon too.
@2nickso
@2nickso 7 жыл бұрын
P Kramer thanks, I was going to ask !
@WrenAkula
@WrenAkula 7 жыл бұрын
Pomplamoose!
@user32455
@user32455 7 жыл бұрын
I was craving to see how you achieved the rolling shutter effect in main video, was very pleased to see this video.
@alessandrokameda8971
@alessandrokameda8971 7 жыл бұрын
1:42 "You're a wizard Henry."
@multicandyfloss10
@multicandyfloss10 7 жыл бұрын
1:43 “your a wizard” Henry
@RomboutVersluijs
@RomboutVersluijs 7 жыл бұрын
He makes quite good money making videos 2 with his 2 patreon pages.. wauw
@nimbus3957
@nimbus3957 4 жыл бұрын
...I'm a what?
@RTSRAZORBACK
@RTSRAZORBACK 4 жыл бұрын
"my a wizard"
@NerdyAardvark
@NerdyAardvark 7 жыл бұрын
Amazing! You know you're doing something cool when you have to adjust the integer type.
@Rodman200818
@Rodman200818 7 жыл бұрын
Thank you both, for all the beautiful, varied and informative work and presenting it in a way that it can reach many and garner interest and curiosity. It is always a genuine pleasure to see these things, learn and see your enjoyment in your work.
@celtgunn9775
@celtgunn9775 7 жыл бұрын
So fascinating to learn how the cameras work. Thanks guys!
@klnsmn
@klnsmn 7 жыл бұрын
The thought process behind this is amazing!
@KaiHowells
@KaiHowells 7 жыл бұрын
This is amazing. If you think about it, this is what a 2D representation of a 3D representation of a 4D object would look like.
@Dothackfreak11
@Dothackfreak11 7 жыл бұрын
Awesome video Destin! I work in video and deal with rolling shutter all the time. The match up with the high-speed footage is amazing!
@GoGreenMan
@GoGreenMan 7 жыл бұрын
love how you explain these concepts! also loved that you put Smarter Everyday on as much as you could, because you know this thing is going to blow up!! how it does!
@rahulsundeep538
@rahulsundeep538 7 жыл бұрын
This is pure genius! There's a whole lotta stuff you can do in after effects if you understand the technical side of things annd like henry says, they're all 'Stupidly simple' Cheers!
@MrRolnicek
@MrRolnicek 7 жыл бұрын
I remember some people used high speed camera to detect minute vibration caused by sound in a static scene and turn that video back into sound. Then some undergrads (I think) found out that using the rolling shutter gets the job done too. So this super hight tech spy trick can now be used with any smartphone.
@26CW128Jake
@26CW128Jake 7 жыл бұрын
Thanks Henry!
@babis8142
@babis8142 7 жыл бұрын
I didn't know you have a second channel. You should be advertising that stuff. In fact this might be even or more interesting as the main video
@Fmily
@Fmily 7 жыл бұрын
I think this kind of stuff is awesome! I really like seeing how different effects achieved in video editing, and now I'm going to have to figure out how to do this same thing in Sony Vegas!
@LaneCarter
@LaneCarter 7 жыл бұрын
I've actually been wondering how to do something similar to this for awhile, but couldn't figure out the banding issue. Thanks for the 16 bit tip, Henry!
@zachpw
@zachpw 7 жыл бұрын
Not to discredit the other video, and I know you put a ton of work into it, but I think I learned so much more from this one. Thank you for posting both! I'm sort of interested in video creation so I guess that's why this one is relevant to me.
@mrkthmn
@mrkthmn 7 жыл бұрын
Watched a 3:45 long ad for you brother, haha! Such a cool behind the scenes video! Im finding that I like these just as much and main videos. Thats not meant to be a diss of the main videos but a testament to how awesome these videos are despite being labeled as "behind the scenes."
@neilsantos9339
@neilsantos9339 7 жыл бұрын
I've been hanging out for the next vid. Tots worth the wait!
@ericfletcher8454
@ericfletcher8454 7 жыл бұрын
Perfect example and explanation on "Temporal Distortion"
@itsviney
@itsviney 7 жыл бұрын
Could you use this technique in After Effects in reverse to 'fix' *actual* rolling shutter in a video? I'm thinking instead of telling AE to progress one frame for every line of pixels, could you get it to go back one frame?
@mhvdm
@mhvdm 7 жыл бұрын
If you would try that, the video would be delayed from the bottom to the top. It would offset the video from the bottom to the top. It could work, but then you will have to 'fix' every frame in the video, or image
@5MadMovieMakers
@5MadMovieMakers 7 жыл бұрын
Don't think so because you don't have that data if filming at normal speeds
@mhvdm
@mhvdm 7 жыл бұрын
Again, you can do it, but you would have to manually fix the image. Build the image. Which takes days even weeks doing. And the skill to do so. +5MadMovieMakers
@5MadMovieMakers
@5MadMovieMakers 7 жыл бұрын
Sorry I was responding to original comment, not yours
@makkumeda85
@makkumeda85 7 жыл бұрын
unfortunatelly it's not that simple. If you where to wind back each line of pixels by one frame, by the time you reach the end of the frame the last line would be 30-40 seconds back in time. The information is just not there, you would need 1079 more frames inbetween each "normal" frame to make that work and if you had so many frames you wouldn't have rolling shutter. I don't think an artifact like the one seen in the propellers shots is actually fixable. There is software that will fix (or at least it will try) the "jello" effect caused by rolling shutter by analizing the footage and creating a vector of each pixel based on it's direction and speed and move it in it's correct position.
@805ROADKING
@805ROADKING 7 жыл бұрын
Henry's a Genius!! Well done!!☺
@KnowledgePerformance7
@KnowledgePerformance7 7 жыл бұрын
I want to know how you did the smarter every day branding in that prop look so good... As someone who as experimented with CGI it looks sooo good
@pastelab
@pastelab 7 жыл бұрын
Beautiful work guy, just, the amount of work you guys do
@Biel7318
@Biel7318 7 жыл бұрын
this is the same effect of the water monster point of view in The Abyss applied to slow motion shot in order to generate a controlable rolling shutter effect... pretty interesting!
@dookiesmile
@dookiesmile 7 жыл бұрын
I used this technique a few years back when I first started playing with After Effects to mimic the effect used in the music video for Unintended by Muse. Quite fun to play with :)
@manojshiva13
@manojshiva13 7 жыл бұрын
Oh. ya. it's freaking cool. You defly earned my subscription.. please talk about which dslr has less rolling shutter & compare em to videocameras..
@TomGreene
@TomGreene 7 жыл бұрын
I believe this is exactly why when you look at a slow motion video of a hockey player taking a slap shot, you see the stick "bend" so much. It's not actually bending nearly that much but because of the scanning, it appears to be. Makes sense now!
@momerathe
@momerathe 7 жыл бұрын
Stuff like this is what makes the internet worthwhile
@adamemac
@adamemac 7 жыл бұрын
Yeaaaa I didn't understand a thing he was saying, but he did an amazing job on your video!
@YetAnotherAaron
@YetAnotherAaron 7 жыл бұрын
How would it look with some other gradient patterns?
@arirahikkala
@arirahikkala 7 жыл бұрын
Yeah, that was my first thought when I saw he represented the time shift as a grayscale image. A circular gradient centered on a propeller seen head-on would give a spinning spiral, I'm pretty sure. More complex time shifts could get pretty psychedelic. Conceptually (as in, you could do it, but you'd probably have to implement it yourself) you could also make a colored time shift (building the result a channel at a time) or even an animated one, so you could technically time-shift one video by another. Doubt you'd get much out of it other than a distorted video, though.
@JakeLauer
@JakeLauer 7 жыл бұрын
I want to see them use a black and white photograph. That'd be insane.
@MADjaHEAD
@MADjaHEAD 7 жыл бұрын
Same interest here!
@Gabe_A
@Gabe_A 4 жыл бұрын
A depth map gradient would be interesting
@itaidrory
@itaidrory 7 жыл бұрын
Not to take away from Henry's achievement here, but Vsauce did this exact simulation a few years back (with the gradient telling the computer what part of a frame to take to compile a new image). This was really interesting and kudos Henry and Destin!
@BryGy
@BryGy 7 жыл бұрын
Kudos to Henry! Great stuff.
@ekwaTV
@ekwaTV 7 жыл бұрын
wow yeah that is super cool. I was surprised that my guess on how you did it was correct. I wish I had a high speed camera to mess with stuff like this. Anyway, super cool video.
@michaelkap55
@michaelkap55 7 жыл бұрын
Love this collaboration! two fo my favorite channels
@sylys
@sylys 7 жыл бұрын
Congrats, great setup and great video
@zlyfer
@zlyfer 7 жыл бұрын
This man is truly a wizard! This is awesome and so clever!
@Mindful2222
@Mindful2222 7 жыл бұрын
great job henry!!
@Lumpiluk
@Lumpiluk 7 жыл бұрын
I was confused at first when you mentioned aliasing at 4:40. Coming from computer graphics, I thought you were talking about the jagged lines.
@locouk
@locouk 7 жыл бұрын
Wow, I want this guys editing skills!
@SpeedyRK
@SpeedyRK 7 жыл бұрын
Awesome! Loved all the information!
@xsauce3858
@xsauce3858 7 жыл бұрын
these guys are GENIUS!
@Gammaduster
@Gammaduster 7 жыл бұрын
This is actually quality science right here
@MattThompsonOnGoogle
@MattThompsonOnGoogle 7 жыл бұрын
"The Reitch Rotation Simulation" sounds like a Big Bang Theory episode.
@rainman2543
@rainman2543 7 жыл бұрын
This video is rich with 2 of my favorite subjects - VFX & SCIENCE! loved it.... And subscribe immediately👍
@jokker03
@jokker03 7 жыл бұрын
This is so flappin cool, I'm bubbling.
@TheMonkeyboy401
@TheMonkeyboy401 7 жыл бұрын
I wonder what it would look like if you change the gradient image into something that is not just a top to bottom linear gradient?
@RomboutVersluijs
@RomboutVersluijs 7 жыл бұрын
You'd probably create patterns
@alan2here
@alan2here 7 жыл бұрын
Can also use just the middle line of pixels, often vertically, and move the camera on a rail. The results can be awesome. "Poloska" app is great for doing this on the fly.
@iShockStudio
@iShockStudio 7 жыл бұрын
Did he use any expressions? I would love to see a break down / tutorial of exactly how he did this. Thanks for the awesome videos!! Keep em coming!
@KeithMarrocco
@KeithMarrocco 7 жыл бұрын
As a computer science videographer type, this is the more interesting video to me. :)
@vedant6633
@vedant6633 6 жыл бұрын
Please try other different gradient compositions for some amazing effects, the colour brightness of each pixel in the gradient composition tells when , at what time, will the pixel be fixed, this is such a good code!!!!!
@minecafe
@minecafe 7 жыл бұрын
It's beautiful.
@snaggerdoodle4303
@snaggerdoodle4303 7 жыл бұрын
1:42 you're a wizard Henry
@chrisgreece52
@chrisgreece52 7 жыл бұрын
This is so beautiful!!!
@josebarria3233
@josebarria3233 5 жыл бұрын
All we want is to see Henry explaining rolling shutter with drawings and cats... Again.
@TulioSounds
@TulioSounds 7 жыл бұрын
Cool! Henry is right, that is simple! Im gonna try that sometime! :)
@pavelp80
@pavelp80 7 жыл бұрын
Nice idea, I would probably write the program rendering propeller and change angle a bit for every horizontal line.
@anishdas4127
@anishdas4127 4 жыл бұрын
You are right Henry is the genius 👍👍👍👍👍👍👍👍
@KulbirAhluwalia
@KulbirAhluwalia 7 жыл бұрын
Holy Fundamental Forces ! This is Awesome !
@menthalA
@menthalA 7 жыл бұрын
finally, nicely shown how it happens
@aluink
@aluink 7 жыл бұрын
"This will probably get cut out" essentially guarantees it won't. LOL!
@slowmostuff3205
@slowmostuff3205 7 жыл бұрын
i have always wondered why that happens
@jasonstone1833
@jasonstone1833 7 жыл бұрын
I love looking at your high speed video perspectives since I'm a physics sort of person with an appetite for a deeper answer. I'm also a Christian and fully appreciate the 'concealed' meaning that is just a bit out of reach for those who approach a specific insight with, well, the wrong question. I recently came across a facebook post that was about a recording of cricket song, slowed down by many factors. It was quite beautiful. I wonder if you could look at the topic with both sight and sound?... Blessings
@WADS4x4
@WADS4x4 7 жыл бұрын
The "Mega Cool People" list is a good starting point, but I want my name under the "Ultra Cool People" list. ;-) Awesome stuff man, love your channels. Being a hobby video maker, this was very interesting to learn about.
@psbbianforlife
@psbbianforlife 7 жыл бұрын
video copilot tutorial. time displacement with a gradient. something similar to that I think. well done!
@ramoneescalante3644
@ramoneescalante3644 7 жыл бұрын
Henry is a genius? Yes he absolutely is! he explained exactly how he did it and I still cant figure out how it works
@funny_monke6
@funny_monke6 7 жыл бұрын
For once, this is the Parker Square of a method... This time Matt did it simpler.
@logitech4873
@logitech4873 7 жыл бұрын
I simulated a rolling shutter in a 3D modelling program, and rendered it with an (nearly) unbiased renderer, basically a photon light simulator. I physically modelled the camera and made an analogue rolling shutter for it, and it's giving some very interesting (and accurate) results. It has wide potential for testing hypothetical things, like "what would X look like with a strong rolling shutter effect?" - even things that are completely impossible in real life. Tell me if you're interested, Destin :)
@tomgibson5769
@tomgibson5769 7 жыл бұрын
Great video about digital video manipulation. Explaining rolling shutter not as much.
@EisenFeuer
@EisenFeuer 7 жыл бұрын
That's what the main channel video does
@andymcl92
@andymcl92 7 жыл бұрын
I think this is a great example of scientific/mathematical thinking: when you manage to combine a couple of fairly simple things in a clever way to do a really complicated thing that they just were NOT designed to do =]
@deanwoodward8026
@deanwoodward8026 7 жыл бұрын
"[If you only use 8-bit greyscale] You start to get weird effects..." Funny, when you're talking about simulating weird effects.
@SVProductionGermany
@SVProductionGermany 7 жыл бұрын
Vsauce once used the same effect in his video :D
@hxcAMBERhxc
@hxcAMBERhxc 7 жыл бұрын
Love MinuteEarth :O I didn't know about MinutePhysics tho! Thanks :D
@TheAllroth
@TheAllroth 7 жыл бұрын
First off: this was really interesting and I love the way you simulated the rolling shutter effect! Now the only thing I can think about is what effect other grayscale images gives! Could you do some simulations with other patterns, like dots or the same gradient but not linear in time?
@EisenFeuer
@EisenFeuer 7 жыл бұрын
Other grayscale images one might image lead to more weirdness, but in practice the more complex the modifier image, the more incoherent your resulting image, turning it into unrecognizable blobs of color.
@SaiKelly
@SaiKelly 5 жыл бұрын
Love this.
@MobiusHorizons
@MobiusHorizons 7 жыл бұрын
I really enjoyed this video!
@VerumAdPotentia
@VerumAdPotentia 7 жыл бұрын
You can't fool me Destin! You are on the Millennium Falcon!
@jake_runs_the_world
@jake_runs_the_world 7 жыл бұрын
Brilliant video !
@mathematicalmatt
@mathematicalmatt 7 жыл бұрын
1:42 Yer a wizard, Henry! . . . I'm a wot?!
@iansmellios1122
@iansmellios1122 7 жыл бұрын
I learned a lot Thank You
@jmohara86
@jmohara86 7 жыл бұрын
pls tell me that I'm not the only person to see a cartoon airplane villain with a cigar hanging out of the side of his mouth and little shady eyes at 4:13
@jarethclark2470
@jarethclark2470 4 жыл бұрын
This channel is a time eating rabbit hole
@kito323
@kito323 7 жыл бұрын
you're a wizard, Henry
@Pakoxon
@Pakoxon 7 жыл бұрын
So basically you need to assign a "time table" to address specific vector of pixels from individual pictures. That's cool! Wondering what kind of software did he use.. or did he code one by him self.
@Raptor05121
@Raptor05121 7 жыл бұрын
@Smarter Every Day 2, I own an airplane with an adjustable-speed propeller and around the 7:30 mark in your video, I've done exactly that. On my Samsung S7 Edge, I've found that bringing the propeller speed down to 2400rpm EXACTLY will give me a stationary image of the propeller on my screen.
@Insertnamesz
@Insertnamesz 7 жыл бұрын
Ooh, super cool to do it like that. I was thinking to just brute force it on matlab or something with a frame to row sample function or something :P this is more elegant
@Kurukx
@Kurukx 7 жыл бұрын
Really awesome work :)
@ArchesBro
@ArchesBro 7 жыл бұрын
Well, I had minutephysics subbed, now I have earth too
@jeetanand8407
@jeetanand8407 3 жыл бұрын
minute physics rocks!!
@laika25
@laika25 3 жыл бұрын
Awesome. Saay, have you seen Lartigue's photos of passing cars?
@valentinphillipp9264
@valentinphillipp9264 7 жыл бұрын
You are awesome
@eric7538
@eric7538 7 жыл бұрын
Very cool! What I'm curious about now is how does prop filters work? For example, on a Go Pro, when you add the filter to the camera, it gets rid of the prop distortion!
@johnmeyer8078
@johnmeyer8078 7 жыл бұрын
you could just set a looping video (frames for the prop to do one rotation) that should allow for the slower scans and get the whole blade
@infinity1323
@infinity1323 7 жыл бұрын
Would it look the same if the scan rate of the camera was divisible (exactly) by the RPM of the propeller or would it show the blades as straight?
@klanko64
@klanko64 7 жыл бұрын
fez the blades would appear as if they weren’t moving!
@infinity1323
@infinity1323 7 жыл бұрын
Are you sure about that? Because, the camera still takes time to make a complete scan of one frame. In my mind, the blades would appear bent straight and diagonally (to the connection the blades) and not rounded as they were in this video. I'm not sure if my description makes sense. I hope it does.
@bachaddict
@bachaddict 7 жыл бұрын
they would be curved but stand still instead of moving or flickering
@robertr7923
@robertr7923 7 жыл бұрын
the point of the blade would be in each frame i suppose, and in the middle you would see the whole blade. so you'd see a half circle and a horizontal line in the middle.
How the Germans Measured Milliseconds MECHANICALLY - Smarter Every Day 283
16:58
Which Way Will the Water Go? (ft. Steve Mould)- Smarter Every Day 226
12:19
SmarterEveryDay
Рет қаралды 2,9 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Thank you Santa
00:13
Nadir Show
Рет қаралды 28 МЛН
Rolling Shutter Explained on the Cheap
8:50
Stand-up Maths
Рет қаралды 653 М.
Where does NASA keep the Moon Rocks? - Smarter Every Day 220
18:59
SmarterEveryDay
Рет қаралды 10 МЛН
Rocket Powered Golf Club at 100,000 FPS
14:39
Mark Rober
Рет қаралды 28 МЛН
Gearless Magnet Bike
17:57
Tom Stanton
Рет қаралды 6 МЛН
IT: Chapter Two | Behind The Scenes: Pennywise Lives Again | Warner Bros. Entertainment
10:01
How To Make A Legit Sound Camera
16:15
Benn Jordan
Рет қаралды 278 М.
Why Snatch Blocks are AWESOME (How Pulleys Work)  - Smarter Every Day 228
16:31
Why Are Cooling Towers Shaped Like That?
19:48
Practical Engineering
Рет қаралды 3,8 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 32 МЛН