microsoftgraph / microsoftgraph/microsoft-graph-comms-samples

Video frames out of sync. Varying FPS - how to calculate

Open
#572 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
253
Forks
275
Avg merge
1d 5h
Merged PRs (30d)
1

Description

Can I calculate the FPS for every second with the raw data I receive in OnVideoMediaReceived ?

In some seconds I receive 5 data arrays with varying length (e.g. 10486, 10817, 9185),
some seconds I receive 10 arrays, some 15...

Attaching a file from logs of a 43 seconds video

This way I can create a separate video file for each major FPS change, and in the end merge them together with FFMPEG.

teams-recording-bot.log

related to:
https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/339
https://github.com/microsoftgraph/microsoft-graph-comms-samples/issues/338

Contributor guide

No contributing guide indexed for this repository

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 with OnVideoMediaReceived and the attached teams-recording-bot.log; compare the number and lengths of arrays received in each one-second interval. Done means establishing whether the raw data supports reliable per-second FPS detection for variable-FPS segmentation and the proposed FFmpeg merge.

Written by the indexing model from the issue text.

Assessment

Domain
audio-video-rtc
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.