Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.1.8] Hap with Custom MOV Parser seek from last frame to first frame causes playback to stop #915

Closed
jeroenvandervelden opened this issue Aug 30, 2021 · 8 comments
Assignees
Labels
Bug 🐛 Something isn't working Fixed A fix will be in the next release Version 2.x Issue only affects version 2.x of AVPro Video Windows Windows platform
Milestone

Comments

@jeroenvandervelden
Copy link

Describe the issue
Custom MOV Parser, HAP file: When entering the last frame, seek to the first frame(s) > playback stops, no way to start again.

Your Setup (please complete the following information):

2021.1.16f1
AVPro Video version: 2.1.8
Operating system version: Windows 10
Device model: Razer Blade RTX 2070
Video specs (resolution, frame-rate, codec, file size): 1920x1080 or 3840x2160, 25fps or 50fps, HAP, HAP Alpha

To Reproduce

  • Play HAP codec Video with MediaFoundation API & Custom MOV Parser
  • In the Update of a behaviour, check for GetTimeFrames() >= getDurationFrames() - 1). If so, do a Seek (or SeekToFrame) to frame 0.

Playback stops and is not possible to re-start again.

When disabling the Custom MOV parser, it works like it should.

@MorrisRH MorrisRH added the Windows Windows platform label Aug 30, 2021
@kahnivore kahnivore added the Version 2.x Issue only affects version 2.x of AVPro Video label Aug 30, 2021
@kahnivore
Copy link
Contributor

Hi,

Out of interest, why are you seeking to the first frame from the last instead of setting the video to loop? What is the reason for using the custom MOV parser if it works without it?

Have you tried a seek at another point in the video?

Would it be possible to send a reproducible case/your media over to unitysupport@renderheads.com?

@jeroenvandervelden
Copy link
Author

Those are some valid questions ;)

  • We expose a 'loop in' and 'loop out' point to our users. When users pick 'play loop' mode, the video should loop between set in and out point. Whether that point is at the end of the video or before. Our default is 0% & 100%.
  • We use the custom MOV parser because some user videos can be HAP(a/r) at very high resolution, exceeding the limited Windows MOV parser bandwidth.
  • Seek from/to some other points does work, trying to find the logic in there.

I will create a test project tomorrow if my schedule does allow me!

@jeroenvandervelden
Copy link
Author

Demo project sent!

@kahnivore
Copy link
Contributor

Thanks for the details and the project file.

@AndrewRH have added the project to s3, suspect this is a bug.

Doesn't necessarily stop after the first seek, but sometimes only after the 4th, for example.

@kahnivore kahnivore added the Bug 🐛 Something isn't working label Aug 31, 2021
@AndrewRH AndrewRH changed the title Seek from last frame to first frame > playback stops [2.1.8] Hap with Custom MOV Parser seek from last frame to first frame causes playback to stop Sep 2, 2021
@jeroenvandervelden
Copy link
Author

Is there perhaps an estimation of when a solution would be available in a new release?

@kahnivore kahnivore added this to the 2.2.0 milestone Sep 10, 2021
@kahnivore
Copy link
Contributor

We'll try get it into our next release coming early next week.

@jeroenvandervelden
Copy link
Author

Would be awesome, thanks!

@AndrewRH AndrewRH modified the milestones: 2.2.0, 2.2.1 Sep 15, 2021
@AndrewRH AndrewRH modified the milestones: 2.2.1, 2.2.2 Sep 24, 2021
@AndrewRH AndrewRH added the Fixed A fix will be in the next release label Oct 11, 2021
@AndrewRH
Copy link
Member

@jeroenvandervelden
This feature has been added in version 2.2.2 which was just released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something isn't working Fixed A fix will be in the next release Version 2.x Issue only affects version 2.x of AVPro Video Windows Windows platform
Projects
None yet
Development

No branches or pull requests

4 participants