PNG image sequence frame rate not matching it's original vid

Get answers to your questions about color grading, editing and finishing with DaVinci Resolve.
  • Author
  • Message
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

PNG image sequence frame rate not matching it's original vid

PostThu May 19, 2022 12:27 pm

Hi all,

I'm having difficulty matching the frame rate of a PNG image sequence to the video that was used to create the sequence.

I created the PNG sequence from the video via VLC with the captured frames set to one (i.e. save every frame). Importing the PNG sequence into Davinci as a video and setting it's attributes to the original 25fps before placing it on the timeline, it doesn't match the original video frame rate at all and plays something like twice as fast? Am I missing something in the settings or is VLC not actually saving every frame?

Thanks for any advice.
Offline

xunile

  • Posts: 3069
  • Joined: Mon Apr 23, 2018 5:21 am
  • Real Name: Eric Eisenmann

Re: PNG image sequence frame rate not matching it's original

PostFri May 20, 2022 4:11 am

What is your project framerate?
Win 10 Home | Intel i7 - 10700f 64 GB 1 TB GB SSD 2 TB SSD
RTX-3060 12 GB | Resolve Studio 18.6.6| Fusion Studio 18.6.6

Win 10 Home | Intel Core I7-7700HQ 32 GB 1 TB NVME SSD 1 TB SATA SSD
GTX-1060-6GB | Resolve 17.4.6
Offline
User avatar

Uli Plank

  • Posts: 21574
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: PNG image sequence frame rate not matching it's original

PostFri May 20, 2022 7:24 am

And is the original video constant fps?
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostFri May 20, 2022 9:42 am

Hi,

the original video is 25fps and variable bitrate (.h264 encoded)
Offline
User avatar

Uli Plank

  • Posts: 21574
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: PNG image sequence frame rate not matching it's original

PostFri May 20, 2022 5:37 pm

I was asking about the frame rate, not the bit rate.
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

Jim Simon

  • Posts: 30154
  • Joined: Fri Dec 23, 2016 1:47 am

Re: PNG image sequence frame rate not matching it's original

PostFri May 20, 2022 10:42 pm

Is the original video 25i? Maybe VLC is doing some kind of deliterlacing?
My Biases:

You NEED training.
You NEED a desktop.
You NEED a calibrated (non-computer) display.
Offline
User avatar

shebbe

  • Posts: 1056
  • Joined: Tue Mar 06, 2018 11:48 am
  • Location: Amsterdam
  • Real Name: Shebanjah Klaasen

Re: PNG image sequence frame rate not matching it's original

PostSat May 21, 2022 12:42 pm

Why not just use the original video? Or convert it within Resolve to an image sequence? VLC might not be the best solution for those kind of tasks.
Home System Resolve 18.6b9: Z790 / i9 13900K / 64GB DDR5 / RTX4090 / Win 11 / ASUS PA32UGC 1600 nits
Office System Resolve 18.6b9: X570 / Ryzen 9 5900X / 128GB DDR4 / RTX4090 / Win 11 / EIZO CG248-K
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 12:58 pm

Uli Plank wrote:I was asking about the frame rate, not the bit rate.

Hi, sorry I misread your reply. The original video is constant frame rate.

Jim Simon wrote:Is the original video 25i? Maybe VLC is doing some kind of deliterlacing?

The original video was deinterlaced (Yadif).

shebbe wrote:Why not just use the original video? Or convert it within Resolve to an image sequence? VLC might not be the best solution for those kind of tasks.

That was my original intention but I'd graded all the scenes (it's a black and white video) in advance with the levels in GIMP but I wasn't able to match the subtly of the level settings within Davinci. The dark, mid and light in GIMP each have levels +- 0-255 whereas Davinci has the equivalent settings of Lift, Gamma and gain but with +- 20. I thought maybe with fractions of the amounts I'd be able to find a solution to convert the levels but I spent over an hour rendering tests of just the first scene attempting to match my settings but I found it impossible to achieve. The closest I got ended with the black level blown out so I thought I'd resort to a PNG sequence where I can batch convert each scene. I can also then fix any of the major dirt and scratches by hand.

I could try creating the image sequence in Resolve rather than VLC and see how that goes, I should mention also that I am of course writing to the internal NVME SSD when I created the sequence with VLC. I'm mystified at why importing the sequence is twice as fast. Setting the attributes of the sequence when imported back as a video to 11fps (fractions are not possible) it's then close to playing at the rate of the video so it's as if roughly half the frames are dropped.

Any further advice greatly appreciated!
Offline

Vit Reiter

  • Posts: 953
  • Joined: Mon Sep 04, 2017 5:36 pm

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 3:29 pm

If the DVR does not see the correct fps for the image sequence, change Video Frame Rate manually as needed in the Clip Attributes.
Attachments
Screenshot 2022-05-23 at 17.26.12.png
Screenshot 2022-05-23 at 17.26.12.png (97.4 KiB) Viewed 2615 times
DaVinci Resolve 18.6.6 Studio (macOS Monterey 12.7.4)
Mac Pro 2013, AMD FirePro D700, 64GB RAM

Film Editor, Colorist, DIT, Datalab technician
linkedin.com/in/vít-reiter-film-editor
Offline

GalinMcMahon

  • Posts: 715
  • Joined: Sun Sep 29, 2019 10:14 pm
  • Real Name: Galin McMahon

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 4:32 pm

LOL why would you color grade video in a shareware photo editor when you have Hollywood standard video color grading software? If you have a reference still, just bring it into the color page and match your footage to that.

Also, the software is not doubling your frame rate. It can't do that. According to your description, you (or your DP) over cranked it.
Water cooled Windows 11 laptop
i9 12th gen - 64GB RAM - 16GB 3080ti
2TB 4th gen nvme main - 4TB 4th gen nvme scratch
Micro panel (thank you BM :) ) - Stream Deck
Resolve Studio 18.5
BenQ ultrawide - DeckLink 4k mini via Sonnet - 48” LG C2 OLED
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 4:48 pm

Vit Reiter wrote:If the DVR does not see the correct fps for the image sequence, change Video Frame Rate manually as needed in the Clip Attributes.

Thanks for the reply, as mentioned in the first post I set the clip attributes of the imported PNG sequence to the videos 25fps but the sequence plays back at roughly twice the speed.
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 5:02 pm

GalinMcMahon wrote:LOL why would you color grade video in a shareware photo editor when you have Hollywood standard video color grading software? If you have a reference still, just bring it into the color page and match your footage to that.

Also, the software is not doubling your frame rate. It can't do that. According to your description, you (or your DP) over cranked it.

I don't see any reason to scoff at GIMP it's an excellent and capable photo editor. I had been using Photoshop professionally since it's very early years up until recent years where GIMP is perfectly capable for most tasks. As mentioned in the earlier post I spent over an hour in the colour page with my reference of the first scene attempting to match my GIMP level settings but Davincis color grading didn't appear to have the range to match. I know that Davinci is not doubling my frame rate, that's not what I said, I'm just trying to get to the bottom of why the PNG sequence is not correct at 25fps as per the video it was created from. I set VLC to capture all frames so I expected with a CFR video that it would create a sequence that should match the original frame rate exactly.
Offline
User avatar

Uli Plank

  • Posts: 21574
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 5:08 pm

What do you see if you check the clip with MediaInfo?
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 5:18 pm

Uli Plank wrote:What do you see if you check the clip with MediaInfo?

The original video in MediaInfo confirmed that it's a 25fps non-interlaced cfr file. (I'm away from the computer used for video editing right now).
Offline
User avatar

Uli Plank

  • Posts: 21574
  • Joined: Fri Feb 08, 2013 2:48 am
  • Location: Germany and Indonesia

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 6:07 pm

To narrow this down: can you read the original video in DR? If so, try to export an image sequence (e.g. TIFF) and work with that. What happens on re-import?
Now that the cat #19 is out of the bag, test it as much as you can and use the subforum.

Studio 18.6.5, MacOS 13.6.5
MacBook M1 Pro, 16 GPU cores, 32 GB RAM and iPhone 15 Pro
Speed Editor, UltraStudio Monitor 3G, iMac 2017, eGPU
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 6:36 pm

Uli Plank wrote:To narrow this down: can you read the original video in DR? If so, try to export an image sequence (e.g. TIFF) and work with that. What happens on re-import?

Thanks yea I think that's the next thing to do, I'll be back onto the PC in the morning and will export from Resolve and re-import the sequence and let you know how it went.
Offline

Vit Reiter

  • Posts: 953
  • Joined: Mon Sep 04, 2017 5:36 pm

Re: PNG image sequence frame rate not matching it's original

PostMon May 23, 2022 10:39 pm

AledTr wrote:
Vit Reiter wrote:If the DVR does not see the correct fps for the image sequence, change Video Frame Rate manually as needed in the Clip Attributes.

Thanks for the reply, as mentioned in the first post I set the clip attributes of the imported PNG sequence to the videos 25fps but the sequence plays back at roughly twice the speed.
If your png sequence is 25 fps and fps in Clip Attributes is 25 fps too, so restart DVR.
This is not first time that DVR plays 2x speeder.
DaVinci Resolve 18.6.6 Studio (macOS Monterey 12.7.4)
Mac Pro 2013, AMD FirePro D700, 64GB RAM

Film Editor, Colorist, DIT, Datalab technician
linkedin.com/in/vít-reiter-film-editor
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostTue May 24, 2022 11:27 am

ok, I rendered the PNG stream this morning via fusion, I could see just doing the first 1 minute as an initial test that roughly double the amount of frames had been created compared to the VLC output so it was looking good. Checking it against the original video in the timeline it remained in sync so I went ahead and rendered the entire video and it all was fine except that it was a single frame out, somewhere near the beginning a single frame must be skipped but that's easily resolved manually. I suppose a simple bit of maths should have figured that VLC had not captured all of the frames (@25fps, 1 minute is 60x25 frames = 1500 frames where VLC had only generated 760 frames for the 1 minute test). Rendering time in fusion was just under 4 hours for the 29 minute 1920x1080 video. I can go ahead now and work on the individual frames scene by scene.
Offline

AledTr

  • Posts: 15
  • Joined: Tue May 17, 2022 9:10 pm
  • Real Name: Aled Treacher

Re: PNG image sequence frame rate not matching it's original

PostSat May 28, 2022 12:50 pm

There's quite a lot of dust and dirt throughout my video, although I do have the patience to manually remove them by hand, rather than spending months of my life it occured to me this morning that DR has the dirt removal click and clean tool within the color page. It requires the video to be DPX however, can my PNG sequence be imported as DPX or will I need to convert the original video again?

If I do have to convert the original video to DPX will it produce the same exact frame sequence without quality loss? I still want to batch process the frames for each scene within GIMP after they are cleaned so I suppose I will need to create the PNG stream again from DR once the frames have been cleaned.

Return to DaVinci Resolve

Who is online

Users browsing this forum: caburkes, captaincarrot55, Cupless, Google [Bot], RCModelReviews, Tony359 and 179 guests