Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Video MediaEncoder outside of Editor

Discussion in 'Audio & Video' started by falkenbrew, Jul 3, 2020.

  1. falkenbrew

    falkenbrew

    Joined:
    Apr 21, 2020
    Posts:
    146
    The MediaEncoder would solve a lot of problems for me, but for some reason it is limited to the editor. Is there a way to enable it in the builds.
     
  2. DominiqueLrx

    DominiqueLrx

    Unity Technologies

    Joined:
    Dec 14, 2016
    Posts:
    256
    Hi!

    Indeed, having MediaEncoder in runtime would be very useful but this work hasn't been done yet so for now it's only available in the editor. For encoding/recording in runtime, you'll have to find a 3rd party solution or code your own against the native APIs offered by the platform(s) you are supporting.

    Dominique Leroux
    A/V developer at Unity
     
    Luis_Gan and nytcj like this.
  3. falkenbrew

    falkenbrew

    Joined:
    Apr 21, 2020
    Posts:
    146
    Thanks for the reply. I've managed to get my hands on a no longer supported asset that wraps ffmpeg, hoping it will work on mobile.
     
  4. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    280
    any solution about that?
     
  5. kragil

    kragil

    Joined:
    Mar 5, 2015
    Posts:
    7
    Any update?
     
  6. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502