Unexpected droppedVideoFrames while using a-videosphere
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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