Swiftpack.co - fuziki/VideoCreator as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by fuziki.
fuziki/VideoCreator v0.3.0
Unity iOS Asset to Export Texture and pcm to movie file. Support .mov, Live Photos, .png, .jpeg and HLS.
⭐️ 86
🕓 2 years ago
iOS macOS
.package(url: "https://github.com/fuziki/VideoCreator.git", from: "v0.3.0")

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.

example

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)
  • Audio
    • Codec
      • aac
    • Source
      • float array
  • Container
    • mov
    • mp4
    • Live Photos
HLS(HTTP Live Streaming)
  • Video
    • Codec
      • h264
    • Source
      • Unity Texture (e.g. RenderTexture, Texture2D, etc)
  • Audio
    • Codec
      • aac
    • Source
      • float array
  • Manifesto
    • HLS

Environment

Xcode

Unity

Examples for Unity

Save Image (png, jpeg, heif)

Save Video (mov)

Live Photos

HLS(HTTP Live Streaming)

Build Custom Framework

This is the command to build the UnityVideoCreator.framework.

make framework

Replace Build/VideoCreator.framework with VideoCreator/Plugins/iOS/UnityVideoCreator.framework.

References

GitHub

link
Stars: 86
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

0.4.0
1 year ago

update xcode 13.4, uniy 2021.3.6f1

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics