RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

Cannot seek to last frame of video (OSX editor / AVPro 3) #1837

Open acgourley opened 2 months ago

acgourley commented 2 months ago

The last frame of video is never reached. Seeking to it, or the frame before it, fails.

To Reproduce

  1. Load this test video in a media player https://www.dropbox.com/scl/fi/rep811zhqlbffw71vtjg8/100FrameTestVideo.mp4?rlkey=8idrlw32m512pfv12esas23pf&dl=0
  2. This video has 100 frames, labeled 0-99.
  3. You can play the video and observe it stops on frame 98. If you use the seek <> buttons in the media player editor UI, backwards works, but forward will not. Trying to seek to frame 98 or 99 will also never succeed, according to mediaPlayer.TextureProducer.GetTextureTimeStamp()

Here's a short screencast where I show it happening: https://capture.dropbox.com/rcu4MYsGFLhJ9cXC

acgourley commented 2 months ago

Same issue with 2.9.3 it seems.