AVExport.EstimatedOutputFileLength
----------------------------------

Queries the estimated byte size of exported file.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [AVExport](component_AVExport.md) | [6.1](newinversion61.md) | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ✅ Yes |

MBS( "AVExport.EstimatedOutputFileLength"; AVExportSession ) 

**MBS**( **"AVExport.EstimatedOutputFileLength";** /\* Queries the estimated byte size of exported file. \*/  
**$AVExportSession**) /\* The session reference number.e.g. $AVExport \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| AVExportSession | The session reference number. | $AVExport |

### Result

Returns number or error.

### Description

Queries the estimated byte size of exported file.   
Returns zero when export preset is Passthrough or AppleProRes422LPCM. This property will also return zero if a numeric value (ie. not invalid, indefinite, or infinite) for the timeRange property has not been set.  
### Example Databases

- [Mac only/Movies/AVAsset Export Session](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20only/Movies/AVAsset%20Export%20Session.shtml#2ScriptAnchor_)

This function checks for a license.

Created 29th February 2016 , last changed 29th February 2016

  
[AVExport.Error](AVExportError.md) - [AVExport.ExportAsynchronously](AVExportExportAsynchronously.md)

[HTML Version](AVExportEstimatedOutputFileLength.shtml)