# VideoClipImporter

> VideoClipImporter lets you modify VideoClip import settings from Editor scripts.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor
* **Inherits from:** [AssetImporter](/engine/6000.6/script-reference/unityeditor/assetimporter.md)

```csharp
public class VideoClipImporter : AssetImporter
```

## Remarks

See the **Movie File Format Support Notes** section in the [VideoPlayer](/engine/6000.6/script-reference/unityengine/video/videoplayer.md) class documentation for supported movie file formats and encoding guidelines.

## Properties

| Property                                                                                                                    | Description                                                                                                       |
| --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [defaultTargetSettings](/engine/6000.6/script-reference/unityeditor/videoclipimporter/defaulttargetsettings.md)             | Default values for the platform-specific import settings.                                                         |
| [deinterlaceMode](/engine/6000.6/script-reference/unityeditor/videoclipimporter/deinterlacemode.md)                         | Images are deinterlaced during transcode.  This tells the importer how to interpret fields in the source, if any. |
| [flipHorizontal](/engine/6000.6/script-reference/unityeditor/videoclipimporter/fliphorizontal.md)                           | Apply a horizontal flip during import.                                                                            |
| [flipVertical](/engine/6000.6/script-reference/unityeditor/videoclipimporter/flipvertical.md)                               | Apply a vertical flip during import.                                                                              |
| [frameCount](/engine/6000.6/script-reference/unityeditor/videoclipimporter/framecount.md)                                   | Number of frames in the clip.                                                                                     |
| [frameRate](/engine/6000.6/script-reference/unityeditor/videoclipimporter/framerate.md)                                     | Frame rate of the clip.                                                                                           |
| [importAudio](/engine/6000.6/script-reference/unityeditor/videoclipimporter/importaudio.md)                                 | Import audio tracks from source file.                                                                             |
| [isPlayingPreview](/engine/6000.6/script-reference/unityeditor/videoclipimporter/isplayingpreview.md)                       | Whether the preview is currently playing.                                                                         |
| [keepAlpha](/engine/6000.6/script-reference/unityeditor/videoclipimporter/keepalpha.md)                                     | Whether to keep the alpha from the source into the transcoded clip.                                               |
| [outputFileSize](/engine/6000.6/script-reference/unityeditor/videoclipimporter/outputfilesize.md)                           | Size in bytes of the file once imported.                                                                          |
| [pixelAspectRatioDenominator](/engine/6000.6/script-reference/unityeditor/videoclipimporter/pixelaspectratiodenominator.md) | Denominator of the pixel aspect ratio (num:den).                                                                  |
| [pixelAspectRatioNumerator](/engine/6000.6/script-reference/unityeditor/videoclipimporter/pixelaspectrationumerator.md)     | Numerator of the pixel aspect ratio (num:den).                                                                    |
| [sourceAudioTrackCount](/engine/6000.6/script-reference/unityeditor/videoclipimporter/sourceaudiotrackcount.md)             | Number of audio tracks in the source file.                                                                        |
| [sourceFileSize](/engine/6000.6/script-reference/unityeditor/videoclipimporter/sourcefilesize.md)                           | Size in bytes of the file before importing.                                                                       |
| [sourceHasAlpha](/engine/6000.6/script-reference/unityeditor/videoclipimporter/sourcehasalpha.md)                           | True if the source file has a channel for per-pixel transparency.                                                 |
| [sRGBClip](/engine/6000.6/script-reference/unityeditor/videoclipimporter/srgbclip.md)                                       | Whether the imported clip contains sRGB color data.                                                               |
| [transcodeSkipped](/engine/6000.6/script-reference/unityeditor/videoclipimporter/transcodeskipped.md)                       | Returns true if transcoding was skipped during import, false otherwise. (Read Only)                               |

## Methods

| Method                                                                                                                    | Description                                                                                                                           |
| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| [ClearTargetSettings](/engine/6000.6/script-reference/unityeditor/videoclipimporter/cleartargetsettings.md)               | Clears the platform-specific import settings for the specified platform and reverts them to the default settings.                     |
| [Equals](/engine/6000.6/script-reference/unityeditor/videoclipimporter/equals.md)                                         | Performs a value comparison with another VideoClipImporter.                                                                           |
| [GetPreviewTexture](/engine/6000.6/script-reference/unityeditor/videoclipimporter/getpreviewtexture.md)                   | Returns a texture with the transcoded clip's current frame. Returns frame 0 when not playing, and frame at current time when playing. |
| [GetResizeHeight](/engine/6000.6/script-reference/unityeditor/videoclipimporter/getresizeheight.md)                       | Get the resulting height of the resize operation for the specified resize mode.                                                       |
| [GetResizeModeName](/engine/6000.6/script-reference/unityeditor/videoclipimporter/getresizemodename.md)                   | Get the full name of the resize operation for the specified resize mode.                                                              |
| [GetResizeWidth](/engine/6000.6/script-reference/unityeditor/videoclipimporter/getresizewidth.md)                         | Get the resulting width of the resize operation for the specified resize mode.                                                        |
| [GetSourceAudioChannelCount](/engine/6000.6/script-reference/unityeditor/videoclipimporter/getsourceaudiochannelcount.md) | Number of audio channels in the specified source track.                                                                               |
| [GetSourceAudioSampleRate](/engine/6000.6/script-reference/unityeditor/videoclipimporter/getsourceaudiosamplerate.md)     | Sample rate of the specified audio track.                                                                                             |
| [GetTargetSettings](/engine/6000.6/script-reference/unityeditor/videoclipimporter/gettargetsettings.md)                   | Returns the platform-specific import settings for the specified platform.                                                             |
| [PlayPreview](/engine/6000.6/script-reference/unityeditor/videoclipimporter/playpreview.md)                               | Starts preview playback.                                                                                                              |
| [SetTargetSettings](/engine/6000.6/script-reference/unityeditor/videoclipimporter/settargetsettings.md)                   | Sets the platform-specific import settings for the specified platform.                                                                |
| [StopPreview](/engine/6000.6/script-reference/unityeditor/videoclipimporter/stoppreview.md)                               | Stops preview playback.                                                                                                               |

## Inheritance

**Inherited Members:**

* [AssetImporter.GetImportLog(string)](/engine/6000.6/script-reference/unityeditor/assetimporter/getimportlog.md)
* [AssetImporter.SetAssetBundleNameAndVariant(string, string)](/engine/6000.6/script-reference/unityeditor/assetimporter/setassetbundlenameandvariant.md)
* [AssetImporter.GetAtPath(string)](/engine/6000.6/script-reference/unityeditor/assetimporter/getatpath.md)
* [AssetImporter.SaveAndReimport()](/engine/6000.6/script-reference/unityeditor/assetimporter/saveandreimport.md)
* [AssetImporter.AddRemap(SourceAssetIdentifier, Object)](/engine/6000.6/script-reference/unityeditor/assetimporter/addremap.md)
* [AssetImporter.RemoveRemap(SourceAssetIdentifier)](/engine/6000.6/script-reference/unityeditor/assetimporter/removeremap.md)
* [AssetImporter.GetExternalObjectMap()](/engine/6000.6/script-reference/unityeditor/assetimporter/getexternalobjectmap.md)
* [AssetImporter.SupportsRemappedAssetType(Type)](/engine/6000.6/script-reference/unityeditor/assetimporter/supportsremappedassettype.md)
* [AssetImporter.assetPath](/engine/6000.6/script-reference/unityeditor/assetimporter/assetpath.md)
* [AssetImporter.importSettingsMissing](/engine/6000.6/script-reference/unityeditor/assetimporter/importsettingsmissing.md)
* [AssetImporter.userData](/engine/6000.6/script-reference/unityeditor/assetimporter/userdata.md)
* [AssetImporter.assetBundleName](/engine/6000.6/script-reference/unityeditor/assetimporter/assetbundlename.md)
* [AssetImporter.assetBundleVariant](/engine/6000.6/script-reference/unityeditor/assetimporter/assetbundlevariant.md)
* [Object.GetEntityId()](/engine/6000.6/script-reference/unityengine/object/getentityid.md)
* [Object.GetHashCode()](/engine/6000.6/script-reference/unityengine/object/gethashcode.md)
* [Object.InstantiateAsync\<T>(T)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Transform, Vector3, Quaternion)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Transform, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, InstantiateParameters, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, InstantiateParameters, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.InstantiateAsync\<T>(T, int, ReadOnlySpan\<Vector3>, ReadOnlySpan\<Quaternion>, InstantiateParameters, CancellationToken)](/engine/6000.6/script-reference/unityengine/object/instantiateasync.md)
* [Object.Instantiate(Object, Vector3, Quaternion)](/engine/6000.6/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion\))
* [Object.Instantiate(Object, Vector3, Quaternion, Transform)](/engine/6000.6/script-reference/unityengine/object/instantiate.md#instantiate\(object-vector3-quaternion-transform\))
* [Object.Instantiate(Object)](/engine/6000.6/script-reference/unityengine/object/instantiate.md#instantiate\(object\))
* [Object.Instantiate(Object, Scene)](/engine/6000.6/script-reference/unityengine/object/instantiate.md#instantiate\(object-scene\))
* [Object.Instantiate\<T>(T, InstantiateParameters)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, InstantiateParameters)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate(Object, Transform)](/engine/6000.6/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform\))
* [Object.Instantiate(Object, Transform, bool)](/engine/6000.6/script-reference/unityengine/object/instantiate.md#instantiate\(object-transform-bool\))
* [Object.Instantiate\<T>(T)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Vector3, Quaternion, Transform)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Instantiate\<T>(T, Transform, bool)](/engine/6000.6/script-reference/unityengine/object/instantiate.md)
* [Object.Destroy(Object, float)](/engine/6000.6/script-reference/unityengine/object/destroy.md)
* [Object.DestroyImmediate(Object, bool)](/engine/6000.6/script-reference/unityengine/object/destroyimmediate.md)
* [Object.FindObjectsByType(Type)](/engine/6000.6/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type\))
* [Object.FindObjectsByType(Type, FindObjectsInactive)](/engine/6000.6/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytype\(type-findobjectsinactive\))
* [Object.DontDestroyOnLoad(Object)](/engine/6000.6/script-reference/unityengine/object/dontdestroyonload.md)
* [Object.FindAnyObjectByType\<T>()](/engine/6000.6/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(\))
* [Object.FindAnyObjectByType\<T>(FindObjectsInactive)](/engine/6000.6/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytypet\(findobjectsinactive\))
* [Object.FindObjectsByType\<T>()](/engine/6000.6/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(\))
* [Object.FindObjectsByType\<T>(FindObjectsInactive)](/engine/6000.6/script-reference/unityengine/object/findobjectsbytype.md#findobjectsbytypet\(findobjectsinactive\))
* [Object.FindAnyObjectByType(Type)](/engine/6000.6/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type\))
* [Object.FindAnyObjectByType(Type, FindObjectsInactive)](/engine/6000.6/script-reference/unityengine/object/findanyobjectbytype.md#findanyobjectbytype\(type-findobjectsinactive\))
* [Object.ToString()](/engine/6000.6/script-reference/unityengine/object/tostring.md)
* [Object.name](/engine/6000.6/script-reference/unityengine/object/name.md)
* [Object.hideFlags](/engine/6000.6/script-reference/unityengine/object/hideflags.md)

### Operators

| Operator                                                                           | Description                                                             |
| ---------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [operator ==](/engine/6000.6/script-reference/unityengine/object/op-equality.md)   | Compares two object references to see if they refer to the same object. |
| [bool](/engine/6000.6/script-reference/unityengine/object/op-implicit.md)          | Determines whether the object exists.                                   |
| [operator !=](/engine/6000.6/script-reference/unityengine/object/op-inequality.md) | Compares if two objects refer to a different object.                    |
