MPV Dart

MPV Player’s JSON-IPC binding for Dart (Flutter Supported)


Install in your Dart/Flutter project with:

$ dart pub add dart_mpv
$ flutter pub add dart_mpv

mpv_dart requires mpv player to be installed in your System. To learn how to install for your operating system, go here


Create an MPVPlayer instance

import 'package:mpv_dart/mpv_dart.dart';

void main() async {
    MPVPlayer player = MPVPlayer();
    // start the native player process
    await player.start();

    // load any file/url
    await player.load("ytdl://")
   // adjust volume (percentage)
   await player.volume(50);


Too see changes go here


View Github