Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

WebmSaver produces files with gaps. #221

Open
aromancev opened this issue Jun 10, 2021 · 0 comments
Open

WebmSaver produces files with gaps. #221

aromancev opened this issue Jun 10, 2021 · 0 comments

Comments

@aromancev
Copy link

aromancev commented Jun 10, 2021

Your environment.

  • Version: v1.8.4
  • Browser: chrome 91.0.4472.101

Everything is running on a local machine, so network issues are unlikely to be the reason.

Config:

AudioMaxLate: 100
VideoMaxLate: 200
MaxLateTimeMs: 1000
PLICycle: 1000

What did you do?

  1. Record a file with WebmSaver.
  2. Covert the file and create a dash manifest.
  3. Play the resulting file using dashjs or shaka player.

What did you expect?

Video is playing without gaps.

What happened?

Video has significant gaps (~5s) for a test 1-minute video. This drives dashjs crazy and it tries to fetch the same segment in an infinite loop. Shaka player doesn't even try to play the video after the first gap.

However, if loaded as a plain video file in chrome or VLC, the video looks completely fine.

I know it's a complicated issue, but I have no clue about encoding algorithms and what could go wrong here. Since sometimes I am able to produce a perfectly fine streamable dash compatible file, my guess would be that the conversion is fine. The problem must be in the original writer, which produces gaps in files. Maybe race conditions or network out-of-order delivery.

I wonder if you have any ideas on what could be wrong or at least where to start. I can provide a docker file to reproduce the issue on any generated file with one command.

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant