Page 1 of 1

help to automate frame replacer for dropped frames

PostPosted: Sat Sep 09, 2023 11:46 pm
by JacobN
I got footage that was shot in a datarate far higher than what the recording media would allow. its all BRAW but the playback is constantly flickering with bright red MEDIA OFFLINE frames.
The frame replacer tool is great but incredibly tedious as there's probably hundreds of frames I need to process with it.
Is there not a way to just have it target every frame under a given parameter to apply it's effects to?

Please tell me there's an answer here. I'm totally unfamiliar with scripting in resolve.

Re: help to automate frame replacer for dropped frames

PostPosted: Sun Sep 10, 2023 3:05 am
by Uli Plank
In that case, I'd buy or rent a recorder that can record the output of your computer in high quality.

The BRAW player is automatically masking such lost frames by repeating the last good one. Of course, we should ask BM to integrate such a feature in DR, but if you need to salvage your footage now, it's a decent workaround. BTW, your camera can do it too.

Re: help to automate frame replacer for dropped frames

PostPosted: Sun Sep 10, 2023 5:51 pm
by Jim Simon
I think I would vote no on this. It's up to the DP to know his equipment and shoot it correctly. I'd rather BMD spent their time adding other ideas.

Re: help to automate frame replacer for dropped frames

PostPosted: Sun Sep 10, 2023 7:46 pm
by panos_mts
I managed to make a fusion template effect that uses the frame replacer effect and the probe modifier to detect the media offline frames.

You can download and install the .drfx template from here: https://www.dropbox.com/scl/fi/yzogpsf0 ... 7vmum&dl=1

How to use it:
1. You may need to render the video with Davinci so the Media Offline frames are baked in the video, otherwise the effect probably won't work
2. Insert the rendered video in the timeline
3. Go to the effects, find the "Media Offline Replacer" and apply it to the video

You can change the replacement method from the inspector. There is also a threshold parameter that controls the media offline frames detection threshold.

I tested the effect with a 16x9 video, I don't know if it works with other aspect ratios.

Re: help to automate frame replacer for dropped frames

PostPosted: Sun Sep 10, 2023 9:16 pm
by Andy Mees
Smart work Panos. Thumbs up.

Re: help to automate frame replacer for dropped frames

PostPosted: Wed Sep 20, 2023 5:06 am
by renzhezhu
JacobN wrote:I got footage that was shot in a datarate far higher than what the recording media would allow. its all BRAW but the playback is constantly flickering with bright red MEDIA OFFLINE frames.
The frame replacer tool is great but incredibly tedious as there's probably hundreds of frames I need to process with it.
Is there not a way to just have it target every frame under a given parameter to apply it's effects to?

Please tell me there's an answer here. I'm totally unfamiliar with scripting in resolve.

Can I have some footage to test?

Re: help to automate frame replacer for dropped frames

PostPosted: Wed Sep 20, 2023 8:38 am
by Norbert339
+1

to show and optionally replace all at once the dropped frames.

Re: help to automate frame replacer for dropped frames

PostPosted: Wed Apr 24, 2024 1:50 pm
by serhiomustache
Panos thank you very much for sharing your template effect!
You just save my footage with it:)

Re: help to automate frame replacer for dropped frames

PostPosted: Thu Apr 25, 2024 1:32 am
by Marc Wielage
panos_mts wrote:I managed to make a fusion template effect that uses the frame replacer effect and the probe modifier to detect the media offline frames.

How jerky are the results? If there's any kind of motion in there, it's going to look crazy/weird. Can you post a demo on YouTube or Vimeo?

Re: help to automate frame replacer for dropped frames

PostPosted: Wed Jun 05, 2024 12:52 am
by flareness
Ah panos_mts, you are a legend for making that!

Surprisingly this is a very difficult issue to find a solution for, but your efforts at least provide us with something salvageable. And yes it does look pretty wacky if there is any significant motion, but that is a lesson learnt and at least this way you have the option of using that moment if it's critical to telling the story.

If I get time I will make a video to promote this solution to other unfortunate souls who thought turning off the 'stop recording when frames are dropped' setting was a good idea...would you be happy for me to host the template with credit to you of course?