• Image
  • Image
  • Image
  • Image
  • Current Version: 2.10: 2023-07-31T11:48:26Z
  • First Published: 2021-09-07T13:56:11Z
  • Size: 255935136
  • Supported Unity Versions: 2021.3.16
tools video

FFmpeg for Unity

(34 Votes)
$- $-

NOTE: Since ver2.7, apps built on Android may crash.
If this happens, try one of the following:
- Change Unity version to 2021.3.16f1 or later.
- Build with 'Export Project' turned on and build that project in Android Studio (Gradle needs to be updated).

## Overview

This assets is to execute FFmpeg on editor and application.

You can do below:

- Play Movies(mp4, avi, mov etc.)
- Capture Game View or Camera(In Game)
- Convert Video Files
- Live Streaming to Youtube(rtmp etc.)
etc.

## Correspondence Environment

- Unity Editor(Windows/Mac/Linux)
- Standalone(Windows/Mac/Linux)(Mono/IL2CPP)
- Android(included Meta(Oculus) Quest 2)(IL2CPP)
- iOS

## Note for FFmpeg

This assets uses FFmpeg binary(Windows/Mac/Linux) or plugins(Windows/Mac/Android/iOS) built below.

It using libraries is part only(please show Lisense). So, if libraries you want to use is not included, please rebuild and replace files.

For Windows, Mac (Library) and Linux(Library), replace generated 1. from 2. and execute it.

- Windows: 1. 2.
- Mac(Library): 1. 2.
- Linux(Library): 1. 2.
- Android/iOS
- Mac/Linux(Binary)

## License

This assets is governed by the Asset Store EULA; however, the following components are governed by the licenses indicated below:

ffmpeg: LGPLv2.1
Copyright (c) 2000-2021 the FFmpeg developers

ffmpeg-kit: LGPLv3 (for Android/iOS/Mac)

SmartException: BSD 3-Clause (for Android)
Copyright (c) 2019-2020, Taner Sener

openh264: BSD 2-Clause
Copyright © 2014 Cisco Systems, Inc.
(NOTE: Please check for Patent: http://www.openh264.org/BINARY_LICENSE.txt)

libvpx: BSD 3-Clause
Copyright (c) 2010, The WebM Project authors. All rights reserved.

aom: BSD 2-Clause
Copyright (c) 2016, Alliance for Open Media. All rights reserved.

opus: BSD 3-Clause
Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic,
Jean-Marc Valin, Timothy B. Terriberry,
CSIRO, Gregory Maxwell, Mark Borgerding,
Erik de Castro Lopo

vorbis: BSD 3-Clause
Copyright (c) 2002-2020 Xiph.org Foundation

theora: BSD 3-Clause
Copyright (C) 2002-2009 Xiph.org Foundation

libwebp: BSD 3-Clause
Copyright (c) 2010, Google Inc. All rights reserved.

giflib: MIT License
The GIFLIB distribution is Copyright (c) 1997 Eric S. Raymond

libjpeg_turbo: BSD 3-Clause
Copyright (C)2009-2020 D. R. Commander. All Rights Reserved.
Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.

libogg: BSD 3-Clause
Copyright (c) 2002, Xiph.org Foundation

libpng: PNG Reference Library License version 2
* Copyright (c) 1995-2019 The PNG Reference Library Authors.
* Copyright (c) 2018-2019 Cosmin Truta.
* Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
* Copyright (c) 1996-1997 Andreas Dilger.
* Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.

libtiff: libtiff License
Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.

gmp: LGPLv3
Copyright 1991, 1996, 1999, 2000, 2007 Free Software Foundation, Inc.

nettle: LGPLv3
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>

gnutls: LGPLv2.1
Copyright (C) 1991, 1999 Free Software Foundation, Inc.

winpthreads: MIT License & BSD 3-Clause
Copyright (c) 2011 mingw-w64 project (MIT)
* (C) 2010 Lockless Inc.
* All rights reserved. (BSD)

lame: LGPLv2
Copyright (C) 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330,
Boston, MA 02111-1307 USA
(www.mp3dev.org)

sdl: zlib License
Copyright (C) 1997-2022 Sam Lantinga
<[email protected]>

libxml2: MIT License
Copyright (C) 1998-2012 Daniel Veillard. All Rights Reserved.


Add to cart
This site contains affiliate links, which means that we can receive a commission if you click on a link and buy something that we have recommended.
Although clicking on these links will not cost you anything, they will help us finance our development projects while recommending good products!