Search Unity

Question Play video clip by render texture problem

Discussion in 'Audio & Video' started by WY_Cho, Jun 18, 2022.

  1. WY_Cho

    WY_Cho

    Joined:
    Mar 13, 2017
    Posts:
    2
    (First sorry for my bad english skill)

    I have serious problem about play video clip by render texture.

    I use render texture to play video clip in UI canvas.

    And build apk and play in device, there is screen noise on top/bottom side.

    How can I fix it?

    123123.PNG
    (I delete my game screen because of it's company's project)

    Information

    Video type : webm file with RGB + alpha value included.
    Camera Num : 3 (1 Game / 2 UI Cam)



    video_config.PNG

    Video clip Inspector



    rendertexture_config.PNG

    render texture inspector


    rawimage_config.PNG

    raw image in UI inspector
     
    Last edited: Jun 18, 2022
  2. The_Island

    The_Island

    Unity Technologies

    Joined:
    Jun 1, 2021
    Posts:
    502
    Your RenderTexture size is 512x512, but I would be surprised if your clip is 512x512. Check your resolution in the source info and set the size to the video resolution.
    upload_2022-6-27_11-16-49.png
     
  3. bengovernment

    bengovernment

    Joined:
    Oct 24, 2023
    Posts:
    1
    Ah, happy running into this @The_Island. Thank you.