Search Unity

Video Transparent video in StreamingAssets

Discussion in 'Audio & Video' started by dri_richard, Aug 15, 2017.

  1. dri_richard

    dri_richard

    Joined:
    Mar 10, 2017
    Posts:
    153
    Hi

    We're playing a webm video which includes transparency, and it works great when we import with 'Keep Alpha' and transcode, and use it as a VideoClip with the VideoPlayer.

    However, in our app we need to download the video and play it from a URL. If I simply put the file in StreamingAssets as a test, it loses the transparency - as expected.

    My question - can I replicate the transcoding process that Unity performs, or can I access the transcoded video and copy it?

    thanks
     
  2. RavenLiquid

    RavenLiquid

    Joined:
    May 5, 2015
    Posts:
    44
    What platform are you talking about? As mentioned here Android does not support native VP8 transparency and transcoding is required.
     
  3. dri_richard

    dri_richard

    Joined:
    Mar 10, 2017
    Posts:
    153
    Yes, the platform is Android and I'm aware of the need to transcode. I want Unity to transcode and play back a video that I put in the StreamingAssets folder.
     
  4. czadam

    czadam

    Joined:
    Oct 14, 2012
    Posts:
    15
    I am facing the same issue. Did you managed to solve it somehow?
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,435
  6. swanand_krown

    swanand_krown

    Joined:
    Aug 13, 2018
    Posts:
    1
    Hi guys, facing the same issue. Is there a way to transcode the video through c# script?
     
  7. Eco-Editor

    Eco-Editor

    Joined:
    Jun 29, 2016
    Posts:
    71
    Facing the same issue.... considering switching to AssetBundle
     
  8. Aidan-Wolf

    Aidan-Wolf

    Joined:
    Jan 6, 2014
    Posts:
    59
    Update on this?
     
  9. Umresh

    Umresh

    Joined:
    Oct 14, 2013
    Posts:
    56
    Bump. Any update.
     
  10. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    300
    i have similar problem and assetbundle not solve at all because lost the transparency