aframevr / aframevr/aframe

Unexpected droppedVideoFrames while using a-videosphere

Open
#5,200 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

Description:

  • A-Frame Version: 1.3.0
  • Platform / Device: Intel Mac OS X 10_14_4, Chrome/108.0.0.0
  • Reproducible Code Snippet or URL:
let quality = document.querySelector('a-videosphere').object3D.children[0].material.map.image.getVideoPlaybackQuality();
decoded = quality.totalVideoFrames;  // 657
dropped = quality.droppedVideoFrames; // 646

Actually, the frames are decoded successfully and the playback is not stalled. Since droppedVideoFrames are defined as the frames that are typically dropped either before or after decoding when it's determined that it will not be possible to draw them to the screen at the correct time, maybe it is reasonable that there are so many droppedVideoFrames due to partial render of the 360 video.

I wonder if there is any way to measure the dropped frames in panorama video when using a-videosphere?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported getVideoPlaybackQuality() measurements from the a-videosphere snippet in the issue on the listed Chrome and macOS environment. Compare droppedVideoFrames with the visible 360-video playback and determine whether A-Frame exposes a meaningful panorama-specific measurement; document the result and any supported approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.