Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create DASH manifest on the fly #659

Closed
1 task done
stonerl opened this issue May 7, 2024 · 2 comments
Closed
1 task done

Create DASH manifest on the fly #659

stonerl opened this issue May 7, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@stonerl
Copy link
Collaborator

stonerl commented May 7, 2024

Guidelines

  • I have searched the issue tracker and I haven't found feature request like this

Type

New feature

Describe the feature

It took me some time to understand where all the playback issues, especially with Piped come from. ATM, a video and audio stream is directly fed into mpv.

Instead, we should create a DASH manifest on the fly and feed this to the player. Especially this part in the manifest is vital:

<SegmentBase indexRange="701-2244">
    <Initialization range="0-700"/>
</SegmentBase>

This tells mpv where to find the segments for a video, which should speed up seeking and scrubbing, and should make it way more robust.

This could potentially solve issues like these: #626, #591, #590, #588, #585, #498, #487, #400, #231, #55

The Piped and Invidious API provide all the necessary keys. The Invidious API even provides a DASH manifest, but it only contains two formats, AVC1 and AV1.

@stonerl stonerl added the enhancement New feature or request label May 7, 2024
@stonerl stonerl self-assigned this May 7, 2024
@stonerl
Copy link
Collaborator Author

stonerl commented May 7, 2024

@stonerl stonerl removed their assignment May 9, 2024
@stonerl
Copy link
Collaborator Author

stonerl commented May 9, 2024

found another way

@stonerl stonerl closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant