microsoft / microsoft/FFmpegInterop

Long delay before start of play and pauses throughout video

Open
#192 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.4k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Do:

  • Used the sample C# and C++ applications
  • Play a H.264 video with the force option(s) set to true

See:

  • Memory starts to climb (similar to #97, I guess) and it takes a few seconds for the video to start playing
  • At this point the memory starts going down
  • After a few seconds (the buffer time?) the video stops playing and the memory goes up again
  • This continues to happen throughout the videos I tested

Remarks:

  • A MOV video with a different codec (but which as a result also uses the uncompressedsampleprovider) doesn't have this behavior
  • FFPlay of the same version plays the video without problems
  • Tested with ffmpeg 3.3.3-1 and 3.4
  • Changing the buffertime has an impact in the delay of the pauses, but they still occur

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 by reproducing the behavior in the sample C# and C++ applications with an H.264 video and the force options enabled, then compare it with FFplay using the same FFmpeg versions. Check memory growth, startup delay, and pauses while varying buffertime; done means playback starts promptly and continues without recurring pauses.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.