Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Video Video freezes after some playback time on Android

Discussion in 'Audio & Video' started by malashinda, Nov 16, 2020.

  1. malashinda

    malashinda

    Joined:
    Oct 10, 2018
    Posts:
    2
    Hi,

    Have an issue with video playback in using VideoPlayer with RenderTexture on Unity 2019.4.4f1. So we have a poolable window with video which player can open any time. On PC and IOS everything is fine but on some Android devices we faced with video freezing at around 0:03 seconds of playback. For debug now we use video from resources, not from url.

    Anybody has an idea?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,401
  3. malashinda

    malashinda

    Joined:
    Oct 10, 2018
    Posts:
    2
    @mgear Checked and no one error in console. I noticed that this problem occurs mostly with Android 9 but I'm not sure what to do with this info.

    In addition, video was exported with H.264 video codec
     
    Last edited: Nov 17, 2020
  4. al57

    al57

    Joined:
    Feb 13, 2014
    Posts:
    14
    Same issue here ...
    No solution yet.
     
  5. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Have you the same Unity version? Does it happen only on Android and not PC and IOS? Are you using a VideoClip or URL? Are you on the latest version of your version? Like @mgear mentioned, did you check for error messages on Android? Have you tried checking the profiler? Are your clips encoded with H264 or VP8? I need a little bit more info to help you as freeze can be caused by many things :)
     
  6. halfino98

    halfino98

    Joined:
    Dec 8, 2023
    Posts:
    1
    Solution? Same problem here.