Estimate File Size Before Render?

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

herein2020

  • Posts: 121
  • Joined: Sun Mar 22, 2020 7:14 pm
  • Real Name: Stanley James

Estimate File Size Before Render?

PostThu Mar 26, 2020 12:20 am

I put out a lot of highlight reels on Instagram and sneek peeks of upcoming full videos, in PP I used to use the file size estimator to set my output render parameters since Instagram has a very strict 15MB file size limit for videos. I do not see anything in DR that will do the same thing; is there something I am missing?
Software: Windows 10 2004, DR 17.2.2 Studio
Hardware: HP Z4, Core i9 14 Cores@3.10GHz, 64GB of RAM, RTX 2080TI, NVME OS Drive, NVME RAID Array, SSD Cache Drive
Media: 4K@60FPS 10 Bit 4:2:0 H.265 LongGOP, 4K@30FPS 10bit 4:2:2 LongGOP H.264
Offline

Jim Simon

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

Re: Estimate File Size Before Render?

PostThu Mar 26, 2020 2:04 pm

I don't think you're missing anything.
Offline
User avatar

Gary Hango

  • Posts: 767
  • Joined: Mon Apr 09, 2018 10:35 pm
  • Location: Left Coast
  • Real Name: Gary Hango

Re: Estimate File Size Before Render?

PostThu Mar 26, 2020 2:59 pm

If you’re exporting to a format where you can set the bitrate, multiply the bitrate by the duration in seconds. To find a bitrate to use to limit the file size, divide the file size limit by the duration in seconds.
Microsoft Windows 10 Pro x64
Intel(R) Core(TM) i7-6700, 3.40GHz, 32.0 GB
MB: MSI, BIOS: American Megatrends Inc. A.60, 12/17/2015
NVIDIA GeForce GTX 960, 2Gb
Resolve 17.0b5(Standard)
Offline

herein2020

  • Posts: 121
  • Joined: Sun Mar 22, 2020 7:14 pm
  • Real Name: Stanley James

Re: Estimate File Size Before Render?

PostThu Mar 26, 2020 3:19 pm

Thanks everyone, I ended up creating an export preset with the bitrate set to 1400 for Instagram. That gets me right around 13-14MB for the export file size for a 1920x1080 59 second video. The file size still fluctuates a bit but it mostly works. Other platforms also have file size limits like Vimeo for example so it would be nice if BM provided a file size estimator since doing math at the end of an all night edit session just to render the final video for different platforms does not sound like fun.
Software: Windows 10 2004, DR 17.2.2 Studio
Hardware: HP Z4, Core i9 14 Cores@3.10GHz, 64GB of RAM, RTX 2080TI, NVME OS Drive, NVME RAID Array, SSD Cache Drive
Media: 4K@60FPS 10 Bit 4:2:0 H.265 LongGOP, 4K@30FPS 10bit 4:2:2 LongGOP H.264
Offline
User avatar

Gary Hango

  • Posts: 767
  • Joined: Mon Apr 09, 2018 10:35 pm
  • Location: Left Coast
  • Real Name: Gary Hango

Re: Estimate File Size Before Render?

PostThu Mar 26, 2020 3:22 pm

Create an excel spreadsheet that does the math for you. You can probably find one using a google search.
Microsoft Windows 10 Pro x64
Intel(R) Core(TM) i7-6700, 3.40GHz, 32.0 GB
MB: MSI, BIOS: American Megatrends Inc. A.60, 12/17/2015
NVIDIA GeForce GTX 960, 2Gb
Resolve 17.0b5(Standard)
Offline

rajibarbir

  • Posts: 10
  • Joined: Wed May 06, 2020 1:50 am
  • Real Name: Raji Barbir

Re: Estimate File Size Before Render?

PostSat Jun 27, 2020 2:10 pm

This is definitely a feature request... Nobody should be doing math to roughly estimate file size based on numbers Resolve can calculate.
Offline

peterjackson

  • Posts: 698
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: Estimate File Size Before Render?

PostSat Jun 27, 2020 3:19 pm

This is what 2 pass encoding is for and FFMPEG does it for you. CBR is for streaming, not to reach a certain file size.
XPS 9750, i9-8950HK, 32GB, 2TB NVM, Intel 630, GTX 1050 Ti, 1080 Ti eGPU, Mini Monitor, BMCC4K. Versions: BIOS 1.7.0, Intel 630 24.20.100.6287, Nvidia 25.21.14.1881, Thunderbolt 17.4.77.13, Win10 Enterprise 10.0.17134.
Offline

rsilva

  • Posts: 3
  • Joined: Thu Feb 04, 2021 11:47 am
  • Real Name: Ricardo Silva

Re: Estimate File Size Before Render?

PostThu Feb 04, 2021 2:31 pm

I would like to recall the request for this post. It is the only feature I miss compared to Premiere Pro today.

Congratulations to blackmagic for the excellence in this software!
Offline

Rich Belgie Jr

  • Posts: 13
  • Joined: Sat Mar 12, 2016 8:00 pm

Re: Estimate File Size Before Render?

PostThu Jun 10, 2021 5:37 pm

I would like to add on to this feature request. In the Adobe world I have AfterCodecs which allows you to set a target file size and it does the math for you on bitrate. Great feature.

At the very least inside resolve let us type in the bitrate and have it tell us the size. Little trial and error and we can find what we need.

In my case with large VR projects an hour in length, I have to fit under YouTube's 125 gig file size limit without killing quality too much. Anything that helps that workflow makes my life easier.
Rich Belgie Jr
Offline

peterjackson

  • Posts: 698
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: Estimate File Size Before Render?

PostSat Jun 12, 2021 10:25 am

Consider using x264/x265 two pass encoding with FFMPEG. There are pre-made scripts that automate all that for you. Just type in target file size and go: https://stackoverflow.com/questions/290 ... -file-size
XPS 9750, i9-8950HK, 32GB, 2TB NVM, Intel 630, GTX 1050 Ti, 1080 Ti eGPU, Mini Monitor, BMCC4K. Versions: BIOS 1.7.0, Intel 630 24.20.100.6287, Nvidia 25.21.14.1881, Thunderbolt 17.4.77.13, Win10 Enterprise 10.0.17134.
Offline

Rich Belgie Jr

  • Posts: 13
  • Joined: Sat Mar 12, 2016 8:00 pm

Re: Estimate File Size Before Render?

PostSat Jun 12, 2021 4:06 pm

There's lots of things we can do outside of Resolve ha ha. We're saying including it would be nice and save time that's all.
Rich Belgie Jr
Offline

ResolveNoob

  • Posts: 36
  • Joined: Wed Jul 31, 2019 1:42 pm
  • Real Name: Tumelo Mogale

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 1:10 am

Literally the only reason I still open Premiere Pro is to re-render a video that I would have rendered in Resolve to meet a file size target. I don't want to have to do the mathematics. This is quite an important feature request for me.
Offline

peterjackson

  • Posts: 698
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 6:55 am

Estimating file sizes requires either semi fixed bitrates, which is crap and noone should use or two pass encoding. The later is hit and miss, while it works reasonable well with x264 x265 I found unreliable with VP9. None of these is used by Resolve.

So it's no about Resolve doing some math, it about to understand that fixed bitrates and therfore predictable file sizes are crap from the past. 2 or 3 pass encoding can help that goal with modern CQ/CRF based targets, but are not perfectly reliable.
XPS 9750, i9-8950HK, 32GB, 2TB NVM, Intel 630, GTX 1050 Ti, 1080 Ti eGPU, Mini Monitor, BMCC4K. Versions: BIOS 1.7.0, Intel 630 24.20.100.6287, Nvidia 25.21.14.1881, Thunderbolt 17.4.77.13, Win10 Enterprise 10.0.17134.
Offline

Timothy Clark

  • Posts: 85
  • Joined: Sat Sep 22, 2018 7:56 pm
  • Real Name: Timothy Clark

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 2:47 pm

I agree with the request. There's several things about the Resolve deliver page I'd love to see work better (though it has come a long way!)

My workflow most of the time with Resolve is to export DnxHR SQ or something to that effect and keep that high quality file in my archive. Then if I need a highly compressed deliverable, I run that file through adobe media encoder since I've found it to be vastly superior to Resolve's handling of H.264/265 with 2 pass encoding and what not.

But, of course the downside is you have to have a subscription to at least Premiere Pro for that. It makes more sense if you already need other Adobe products.
Offline
User avatar

Edwin Street

  • Posts: 102
  • Joined: Fri Sep 29, 2017 8:10 pm
  • Location: Melbourne, Australia.

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 3:25 pm

Yes! That would be awesome! These two things I've circled in red NEED to be added to Resolve. MPEG Streamclip had it back over 10 years ago.
Untitled.png
Untitled.png (93.24 KiB) Viewed 582 times

Fun fact: it was me who made the suggestion to the creator of MPEG Streamclip to add the estimated file size calculator and in the next version it had it. :D
Windows 10 Pro running DaVinci Resolve Studio 17 (latest)
CPU: AMD Ryzen 9 3900X
GPU: NVIDIA GeForce GTX 1660 Ti 6GB
RAM: 64GB
Motherboard: Gigabyte B550 Aorus Elite AX
Offline

Rich Belgie Jr

  • Posts: 13
  • Joined: Sat Mar 12, 2016 8:00 pm

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 3:56 pm

Ha ha, nice.

Yeah I tried to find some file size estimators online but they were clunky and dated. And in the end I didn't find them to be accurate anyway. Something built in would be more accurate you would think.

With online streaming being more important than ever, and different services having file size limits, or online contests having file size limits, it would be nice to have.

Seems like a nit picky feature but it would save time and allow submitting things at the highest possible quality yet fitting within the limits.
Rich Belgie Jr
Offline

peterjackson

  • Posts: 698
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 7:41 pm

Timothy Clark wrote:I agree with the request. There's several things about the Resolve deliver page I'd love to see work better (though it has come a long way!)

My workflow most of the time with Resolve is to export DnxHR SQ or something to that effect and keep that high quality file in my archive. Then if I need a highly compressed deliverable, I run that file through adobe media encoder since I've found it to be vastly superior to Resolve's handling of H.264/265 with 2 pass encoding and what not.

But, of course the downside is you have to have a subscription to at least Premiere Pro for that. It makes more sense if you already need other Adobe products.
Only true for people unwilling to learn the basics of FFMPEG in a few hours. Seriously, many things mentioned in this thread are plain stupid. It's been proven mathematically that there is no benefit in uploading anything beyond CRF 14 H264 to YT.
XPS 9750, i9-8950HK, 32GB, 2TB NVM, Intel 630, GTX 1050 Ti, 1080 Ti eGPU, Mini Monitor, BMCC4K. Versions: BIOS 1.7.0, Intel 630 24.20.100.6287, Nvidia 25.21.14.1881, Thunderbolt 17.4.77.13, Win10 Enterprise 10.0.17134.
Offline

peterjackson

  • Posts: 698
  • Joined: Sat Aug 18, 2018 7:12 pm
  • Real Name: Peter Jackson

Re: Estimate File Size Before Render?

PostThu Jul 08, 2021 7:50 pm

Edwin Street wrote:Yes! That would be awesome! These two things I've circled in red NEED to be added to Resolve. MPEG Streamclip had it back over 10 years ago.
Untitled.png

Fun fact: it was me who made the suggestion to the creator of MPEG Streamclip to add the estimated file size calculator and in the next version it had it. :D
There is a reason that these things are from 10 years back, as they make no sense in CRF/CQ world today.
XPS 9750, i9-8950HK, 32GB, 2TB NVM, Intel 630, GTX 1050 Ti, 1080 Ti eGPU, Mini Monitor, BMCC4K. Versions: BIOS 1.7.0, Intel 630 24.20.100.6287, Nvidia 25.21.14.1881, Thunderbolt 17.4.77.13, Win10 Enterprise 10.0.17134.

Return to DaVinci Resolve

Who is online

Users browsing this forum: Nabbucadnessar and 74 guests