Skip to content

Video Time Not Showing Right When Playing Via URL #78

@CoolKid404

Description

@CoolKid404

I keep having an issue when inputting a link from a non-local URL (I am generating links from Youtube videos that are converted to stream into AVPro Video), the plugin has the time incorrect, usually indicating the video is only a few seconds long.

Though it plays fine past the video length indicated in the inspector, it causes major instability when trying to seek, often times causing the editor to crash. It seems the only work around I can find at the moment is re-loading the video URL in AvPro over and over until the video time is correct.

Setup

  • Unity version: 2017.4.19f1
  • AVPro Video version: 1.9.16
  • Operating system version: Windows 10
  • System Specs: Intel Core i7-9700k, Nvidia RTX 2070, 16GB DDR4
  • Video specs (resolution, frame-rate, codec, file size): Problem consistent with any link fed in, though gets worse as resolution goes higher

To Reproduce

  1. Extract video from Youtube Link (would be easiest to test with something like Youtube-dl)
  2. Take URL from above and put it into AVPro VIdeo Source Path (Absolute Path or URL)
  3. Load said URL, look at Time Bar shown below video preview in Inspector, same video length is also shown when calling "avProPlayer.Info.GetDurationMS()"

Screenshots
If applicable, add screenshots to help explain your problem.
TimeIssue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug 🐛Something isn't workingFixedA fix will be in the next releaseWindowsWindows platform

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions