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

MPV Player automatically pause after long run #6

Open
richardmtp opened this issue Oct 11, 2018 · 0 comments
Open

MPV Player automatically pause after long run #6

richardmtp opened this issue Oct 11, 2018 · 0 comments

Comments

@richardmtp
Copy link

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");

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

No branches or pull requests

1 participant