Bokeh Effect

Ian-Schwartz wrote on 3/19/2024, 3:35 PM

I'm using Movie Studio 2024 Platinum

Does anyone know how to apply a Bokeh (the effect of a soft out-of-focus background that you get when shooting a subject) effect to a video? I'd like to blur the faces in a crowd.

Ian

Comments

CubeAce wrote on 3/19/2024, 6:14 PM

@Ian-Schwartz

Hi Ian.

This is something best done in camera with a decent lens. A computer program has no way of identifying what characters or subject matter should be the centre of focus and what is background. Especially if that background or subject matter is moving around. It would need precision masking for each and every frame which could be done with rotor-scoping and A.I once an accurate set of masks have been applied to the first frame for the objects that need to be kept free of the background blur, they could then be tracked and masks changed by the A.I until the objects go out of frame. Even then it will not look natural to my way of thinking. Even doing this to one still frame takes some amount of skill to look convincing in my opinion.

But then again if you want it to look like Crime-watch in reverse then that could be easier to do.

Ray.

Last changed by CubeAce on 3/19/2024, 8:15 PM, changed a total of 1 times.

 

Windows 10 Enterprise. Version 22H2 OS build 19045.5011

Direct X 12.1 latest hardware updates for Western Digital hard drives.

Asus ROG STRIX Z390-F Gaming motherboard Rev 1.xx with Supreme FX inboard audio using the S1220A code. Driver No 6.0.8960.1 Bios version 1401

Intel i9900K Coffee Lake 3.6 to 5.1GHz CPU with Intel UHD 630 Graphics .Driver version Graphics Driver 31.0.101.2130 for 7th-10th Gen Intel® with 64GB of 3200MHz Corsair DDR4 ram.

1000 watt EVGA modular power supply.

1 x 250GB Evo 970 NVMe: drive for C: drive backup 1 x 1TB Sabrent NVMe drive for Operating System / Programs only. 1X WD BLACK 1TB internal SATA 7,200rpm hard drives.1 for internal projects, 1 for Library clips/sounds/music/stills./backup of working projects. 1x500GB SSD current project only drive, 2x WD RED 2TB drives for latest footage storage. Total 21TB of 8 external WD drives for backup.

ASUS NVIDIA GeForce RTX 3060 12GB. nVidia Studio driver version 560.81 - 3584xCUDA cores Direct X 12.1. Memory interface 192bit Memory bandwidth 360.05GB/s 12GB of dedicated GDDR6 video memory, shared system memory 16307MB PCi Express x8 Gen3. Two Samsung 27" LED SA350 monitors with 5000000:1 contrast ratios at 60Hz.

Running MMS 2024 Suite v 23.0.1.182 (UDP3) and VPX 14 - v20.0.3.180 (UDP3)

M Audio Axiom AIR Mini MIDI keyboard Ver 5.10.0.3507

VXP 14, MMS 2024 Suite, Vegas Studio 16, Vegas Pro 18, Cubase 4. CS6, NX Studio, Mixcraft 9 Recording Studio. Mixcraft Pro 10 Studio.

Audio System 5 x matched bi-wired 150 watt Tannoy Reveal speakers plus one Tannoy 15" 250 watt sub with 5.1 class A amplifier. Tuned to room with Tannoy audio application.

Ram Acoustic Studio speakers amplified by NAD amplifier.

Rogers LS7 speakers run from Cambridge Audio P50 amplifier

Schrodinger's Backup. "The condition of any backup is unknown until a restore is attempted."

Former user wrote on 3/19/2024, 11:19 PM

@Ian-Schwartz I don't think Bokeh is quite the right word to use, Google has various explanations around 'Out of focus' & 'Differences in lens aberrations and aperture shape'.

I have an fx called S_RackFocus, the Bokeh effect doesn't work that well on bigger images like faces, it just blurs them, it works better on small points of light where the lens shape - bokeh effect shows...,

PS, I know I've posted pics of Vegas but the same result would be in MMS & agreed with @CubeAce that some sort of masking would have the used to isolate the fx.

johnebaker wrote on 3/20/2024, 4:36 AM

@Ian-Schwartz

Hi

. . . . effect of a soft out-of-focus background . . . .

Assuming you do not want highlights such as lights etc reducing to 'circles of confusion',

There are several ways of doing this within MMS

A relatively quick method for an in focus area with the rest blurred:-

Note: the image/video is loaded onto 2 tracks, try various settings and shapes in the Cookie cutter effect.

If you want to mask multiple faces, see this tutorial.

HTH

John EB

Last changed by johnebaker on 3/20/2024, 4:39 AM, changed a total of 2 times.

VPX 16, Movie Studio 2025, and earlier versions 2015 and 2016, Music Maker Premium 2024.

PC - running Windows 11 23H2 Professional on Intel i7-8700K 3.2 GHz, 16GB RAM, RTX 2060 6GB 192-bit GDDR6, 1 x 1Tb Sabrent NVME SSD (OS and programs), 2 x 4TB (Data) internal HDD + 1TB internal SSD (Work disc), + 6 ext backup HDDs.

Laptop - Lenovo Legion 5i Phantom - running Windows 11 23H2 on Intel Core i7-10750H, 16GB DDR4-SDRAM, 512GB SSD, 43.9 cm screen Full HD 1920 x 1080, Intel UHD 630 iGPU and NVIDIA GeForce RTX 2060 (6GB GDDR6)

Sony FDR-AX53e Video camera, DJI Osmo Action 3 and Sony HDR-AS30V Sports cams.

Ian-Schwartz wrote on 3/20/2024, 9:50 AM

@Ian-Schwartz

Hi Ian.

This is something best done in camera with a decent lens. A computer program has no way of identifying what characters or subject matter should be the centre of focus and what is background. Especially if that background or subject matter is moving around. It would need precision masking for each and every frame which could be done with rotor-scoping and A.I once an accurate set of masks have been applied to the first frame for the objects that need to be kept free of the background blur, they could then be tracked and masks changed by the A.I until the objects go out of frame. Even then it will not look natural to my way of thinking. Even doing this to one still frame takes some amount of skill to look convincing in my opinion.

But then again if you want it to look like Crime-watch in reverse then that could be easier to do.

Ray.

It's too late to do it with a "...camera with a decent lens", as the video already exists.

Ian-Schwartz wrote on 3/20/2024, 9:52 AM

@Ian-Schwartz

Hi

. . . . effect of a soft out-of-focus background . . . .

Assuming you do not want highlights such as lights etc reducing to 'circles of confusion',

There are several ways of doing this within MMS

A relatively quick method for an in focus area with the rest blurred:-

Note: the image/video is loaded onto 2 tracks, try various settings and shapes in the Cookie cutter effect.

If you want to mask multiple faces, see this tutorial.

HTH

John EB

That's brilliant. Thank you for taking the time to create this tutorial.

Ian-Schwartz wrote on 3/20/2024, 9:56 AM

 

@Ian-Schwartz I don't think Bokeh is quite the right word to use, Google has various explanations around 'Out of focus' & 'Differences in lens aberrations and aperture shape'.

I have an fx called S_RackFocus, the Bokeh effect doesn't work that well on bigger images like faces, it just blurs them, it works better on small points of light where the lens shape - bokeh effect shows...,

PS, I know I've posted pics of Vegas but the same result would be in MMS & agreed with @CubeAce that some sort of masking would have the used to isolate the fx.

It was my understanding that Rack Focus involves a transition from focusing on one depth of field to another, e.g. changing the focus from a person standing closer to the camera to a person further from the camera. Is that wrong? I created a video, while standing on the stage, of one of our performers and I have to blur the faces of the audience, as they hadn't signed release forms.

@Ian-Schwartz

Hi

. . . . effect of a soft out-of-focus background . . . .

Assuming you do not want highlights such as lights etc reducing to 'circles of confusion',

There are several ways of doing this within MMS

A relatively quick method for an in focus area with the rest blurred:-

Note: the image/video is loaded onto 2 tracks, try various settings and shapes in the Cookie cutter effect.

If you want to mask multiple faces, see this tutorial.

HTH

John EB

That's brilliant. Thank you for taking the time to create this tutorial.

Former user wrote on 3/20/2024, 10:51 AM

It was my understanding that Rack Focus involves a transition from focusing on one depth of field to another, e.g. changing the focus from a person standing closer to the camera to a person further from the camera. Is that wrong? I created a video, while standing on the stage, of one of our performers and I have to blur the faces of the audience, as they hadn't signed release forms.

@Ian-Schwartz I can't define rack focus better then is mentioned on Google, but as I understand it Rack focus is the operation, the manipulation of the camera/lens & Bokeh is an effect that can be created in this operation. .

That is just one fx that I've created a preset for because it creates a Bokeh effect,. It was just an example of the 'Bokeh' effect rather than about what fx created it..

All these create a Bokeh effect

These are the settings in S_RackFocus, make of what you will..

-----------------------------------------

This is a link to BCC+Rack Focus which is basically the same effect as S_Rack Focus.

https://borisfx.com/documentation/continuum/bcc-rack-focus/

-------

PS. it's courtesy to mark the persons comment who gave you the solution rather than your own comment.