keijiro / KlakHap

HAP video player plugin for Unity
Other
341 stars 27 forks source link

Video won't show in player #30

Open CocoVic opened 4 years ago

CocoVic commented 4 years ago

The player will work correctly with some videos I downloaded from the web. But when I try with the videos I need it to play (created videos at work) those videos will not show, it will just be a transparent mesh. I've tried with different types of rendering. The images below show the videos being rendered to a Render Texture placed in a material on a plane. I've also tried with sprite renderer but the issue persists.

The only differences between the videos are the resolution and the frame rate. The working videos have a resolution of 1920 X 1080 with a frame rate of 30 fps, and the videos I created are 1920 X 670 with a frame rate of 60 fps.

It would be much appreciated if you could help me with this issue.

Thanks for the hard work and support!

This is the working video image

This is the video I need working image

keijiro commented 4 years ago
CocoVic commented 4 years ago

ISPK_Transicion_FHD_001.mov https://drive.google.com/a/cocolab.mx/file/d/1czCJ1f6K5shwZkMJ6ARGojsyoiFUBKJ4/view?usp=drive_web Here is one of the example videos I'm trying to use

El sáb., 22 feb. 2020 a las 1:24, Keijiro Takahashi (< notifications@github.com>) escribió:

  • Which software did you use convert the video to HAP? ffmpeg?
  • Could you share the video file that reproduces the issue?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/keijiro/KlakHap/issues/30?email_source=notifications&email_token=AOT4U2CT33AXANV67TGHBRLREDHKTA5CNFSM4KZHYSRKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUZNGI#issuecomment-589928089, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOT4U2AIO7AG5F4CBHDHSXTREDHKTANCNFSM4KZHYSRA .

kino-dome commented 2 years ago

Just wanted to add that for a project we faced the same issue and the problem was with the video dimensions. Apparently they need to be a multiple of 4 (or preferably multiple of 16).