VideoCreator
- This plugin helps you to implement the recording of wav and mov files in your Unity app.
- Writing textures creates a video, and writing float arrays creates an audio.
- You can get support for AVAssetWriter, a powerful framework created by apple.
Installation
- Download VideoCreator.unitypakcage from Releases and install it in your project.
Features
Export Video File
- Video
- Codec
- h264
- hevcWithAlpha
- Source
- Unity Texture (e.g. RenderTexture, Texture2D, etc)
- Codec
- Audio
- Codec
- aac
- Source
- float array
- Codec
- Container
- mov
- mp4
- Live Photos
HLS(HTTP Live Streaming)
- Video
- Codec
- h264
- Source
- Unity Texture (e.g. RenderTexture, Texture2D, etc)
- Codec
- Audio
- Codec
- aac
- Source
- float array
- Codec
- Manifesto
- HLS
Environment
Xcode
Unity
Examples for Unity
Save Image (png, jpeg, heif)
- check ImageSample.cs
Save Video (mov)
- check MovSample.cs
Live Photos
- check LivePhotsSample.cs
HLS(HTTP Live Streaming)
- check HlsSample.cs
Build Custom Framework
This is the command to build the UnityVideoCreator.framework.
make framework
Replace Build/VideoCreator.framework with VideoCreator/Plugins/iOS/UnityVideoCreator.framework.