Search Unity

Video VideoPlayer would play only very specific bitrate/FPS/Resolution mp4?

Discussion in 'Audio & Video' started by trackOfer, Jan 20, 2019.

  1. trackOfer

    trackOfer

    Joined:
    Dec 27, 2017
    Posts:
    10
    I am trying to play a video using VideoPlayer from a file in persistentDataPath.

    I am able to play an 720p vile with 10 FPS.
    However, the same video, which it's FPS is set to 20(same size) won't play.
    Also a file with bigger resolution won't play as well.
    I have added a handler to errorReceived, there is no error.
    The only indication is that the FPS shows 0 and that I never get a texture in videoPlayer.texture(it stays null).
    What are the limitations of VideoPlayer, and why wouldn't it play my videos?