Skip to content

[Question] Replace current title with URL but not play, wait for specific buffer amount #105

@KaKi87

Description

@KaKi87

Hello,

Is it possible to make mpv do the following ?

  • replace the current title with a URL
  • not start playing
  • start buffering
  • wait a specific amount of playback time to be buffered
  • start playing

Thanks


Optional explanation below

I just learned about mpv being a programmable player, so I would like to try something out.

When streaming with low/moderate bandwith, using a player that starts instantly when buffer just began to load, then it will eventually become empty and playback will be interrupted, because it is consumed faster than it is loaded.

Therefore, I would like to create a player that mesures the buffer's loading speed, and calculate the optimal size to avoid interruption, so that the user will have to wait longer to start playing, but will not experience further interruptions.

If the network slows down while playing, the buffer size will be recalculated accordingly, and if possible, playback will be interrupted at the end of the current chapter, or at the nearest quiet time, in order to offer the best viewing experience possible.

I've been thinking about this project for a long time, but I need to be sure that it is doable using mpv, before starting implementing the basics of the player.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions