UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

Video is cut off at the top and bottom

Open Vah94 opened this issue 1 year ago • 6 comments

After changing the video using the code more than twice, the video is cut off at the top and bottom

  • Unity version: 2023.2.7f1, 2021.3.19f1
  • AVPro Video version 2.9.1
  • Operating system version: Windows, Android
  • Device model: PC

To Reproduce Just open and use AvPro in canvas

image

https://github.com/RenderHeads/UnityPlugin-AVProVideo/assets/42799443/b570e4e4-db7b-4dbc-8376-b734c697d7cc

image

Vah94 avatar Feb 01 '24 22:02 Vah94

Hi, If you use the Display UGUI or Display IMGUI components then they have scaling options that you can use. This is useful when you are using media of different resolutions.

Chris-RH avatar Feb 02 '24 10:02 Chris-RH

@Chris-RH It's not about the resolution of the video. I have the same video playing in AVPro, but sometimes the screen shows only CROPPED video with black patches on the top and bottom (like in the above example). The top and bottom parts of the video covered by the black patches are not visible, so rescaling the screen wouldn't be very useful.

Vah94 avatar Feb 06 '24 20:02 Vah94

I am facing the issue.. What's more strange is that the first video played works perfectly fine, but the second one loaded on this player leads to the same issue as described above! (I have multiple videos imported in a playlist).. Any idea how to resolve it @Chris-RH ?

If you need any more information please let me know. Thank you in advance!

aryansaurav avatar Feb 13 '24 18:02 aryansaurav

Could you please send a simple, reproducible project to [email protected]

Chris-RH avatar Feb 20 '24 12:02 Chris-RH

Could you please send a simple, reproducible project to [email protected]

Chris-RH avatar Feb 27 '24 10:02 Chris-RH

@Chris-RH Thanks for your response! At the moment, it seems a bit difficult to generate a reproducible project from our ongoing project. It seems we will have to create a new project from scratch for that! But, I appreciate your response and may reach out again to your email address once we have a small reproducible project.

aryansaurav avatar Feb 27 '24 11:02 aryansaurav

It doesn't need to be anything fancy. Just absolute minimum fresh project with just AVPro Video. You could start with the demo scenes and make as little adjustment as needed to show how the issue is occurring :)

Chris-RH avatar Feb 28 '24 12:02 Chris-RH

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 17 '24 12:03 stale[bot]

Closing due to lack of response

Chris-RH avatar May 29 '24 12:05 Chris-RH