Skip to content

MPV Player automatically pause after long run #6

Open
@richardmtp

Description

@richardmtp

I have implemented Linux player using MPV player npm package mpv-controller.

I want to loop the video for a long time. Initially it's working fine up to 6 hours(approx). Then the video automatically paused.

While I investigate there is no memory issue, MPV player using very small amount of memory.

Please help me to fix this issue.

import mpv from 'mpv-controller';

this.mpvPlayer = new mpv(status => { console.log(status); });

this.mpvPlayer.play(~/Downloads/sample.mp4, ["--no-border", "--no-window-dragging", "--no-osc", "--no-osd-bar", "--no-input-default-bindings", "--loop", "--ontop", "--hwdec=vaapi", "-vo", "vaapi", "--no-keepaspect", "--geometry=523x294-1397-786");

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