Mpv dart - MPV player's JSON IPC binding for Dart

Overview

MPV Dart

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

Installation

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

Usage

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://www.youtube.com/watch?v=Fp8msa5uYsc")
   
   // adjust volume (percentage)
   await player.volume(50);
}

Changelog

Too see changes go here

You might also like...

Akkount Frefire-Generator Players

Akkount Frefire-Generator Players

Akkount_Frefire-Generator_Players Intro I started this Repository by UI Design u

Feb 13, 2022

Trophies zone - an application for players who's interested in collecting games trophies

 Trophies zone - an application for players who's interested in collecting games trophies

Trophies_zone Name : Raneem nono Description : Trophies zone is an application for players who's interested in collecting games trophies it displays g

Jun 17, 2022

FFI binding generator

Binding generator for FFI bindings. Note: ffigen only supports parsing C headers. Example For some header file example.h: int sum(int a, int b); Add c

Dec 22, 2022

Binding and high-level wrapper on top of libssh - The SSH library!

Dart Binding to libssh version 0.9.6 binding and high-level wrapper on top of libssh - The SSH library! libssh is a multiplatform C library implementi

Dec 20, 2021

Aris wasmjsextend - Binding generator for FFI bindings

Aris wasmjsextend - Binding generator for FFI bindings

Binding generator for FFI bindings. Note: ffigen only supports parsing C headers

Jan 9, 2022

This plugin create a binding between your translations from .arb files and your Flutter app.

This plugin create a binding between your translations from .arb files and your Flutter app.

PROJECT MAINTENANCE PAUSED This project is no longer maintained due to the lack of time and availability. I'm a developer to and I know how frustratin

Dec 3, 2022

Mpv player for Flutter.

flutter_mpv Mpv player for Flutter. Getting Started This project is a starting point for a Flutter plug-in package, a specialized package that include

Dec 7, 2022

Given a JSON string, this library will generate all the necessary Dart classes to parse and generate JSON.

JSON to Dart Given a JSON string, this library will generate all the necessary Dart classes to parse and generate JSON. This library is designed to ge

Dec 25, 2022

Provides null-safety implementation to simplify JSON data handling by adding extension method to JSON object

Lazy JSON Provides null-safety implementation to simplify JSON data handling by adding extension method to JSON object and JSON array. Getting started

Oct 27, 2021

Flutter package: Json Table Widget to create table from json array

Flutter package: Json Table Widget to create table from json array

Json Table Widget 💙 Proudly Sponsored by FieldAssist Request a Demo This Flutter package provides a Json Table Widget for directly showing table from

Jan 7, 2023

State Persistence - Persist state across app launches. By default this library store state as a local JSON file called `data.json` in the applications data directory. Maintainer: @slightfoot

State Persistence Persist state across app launches. By default this library store state as a local JSON file called data.json in the applications dat

Sep 28, 2022

Fluter-json - App Demonstrating JSON Data Parsing with various flutter widgets

Fluter-json - App Demonstrating JSON Data Parsing with various flutter widgets

users_list Flutter App to Demonstrate JSON Parsing Getting Started This project is a starting point for a Flutter application. A few resources to get

Jul 10, 2021

Json editor - A json editor on flutter

Json editor - A json editor on flutter

Features Support add comment; Support show errors for invalid json text; Pretty

Nov 18, 2022

A JSON serialize class to convert 'to' and 'from' JSON format Enums, DateTime and any of your own classes.

A JSON serialize class to convert 'to' and 'from' JSON format Enums, DateTime and any of your own classes. Introduction Jsonize solves the problem of

Nov 17, 2022

Tool made in Dart that allows you to dynamically generate JSON files from data models written in Dart.

Dart JSON Generator Versión v1.1.1 Dart JSON Generator es una herramienta que permite generar archivos JSON a partir de mapas como modelos de datos en

Nov 23, 2022

A CLI tool to help generate dart classes from json returned from API

Json 2 Dart Command line utility Important note There is already a package called json2dart so this package will be called json2dartc ! This project w

Oct 5, 2022

An auto mapper for Dart. It allows mapping objects of different classes automatically and manually using JSON serialization.

AutoMapper for Dart An auto mapper for Dart. It allows mapping objects of different classes automatically and manually using JSON serialization. Examp

Aug 24, 2022

The objective is to create a simple app using Dart/Flutter, for make a REST API integration with Flutter, using free JSON API

The objective is to create a simple app using Dart/Flutter, for make a REST API integration with Flutter, using free JSON API

ListView Builder App The objective is to create a simple app using Dart/Flutter, for make a REST API integration with Flutter, using free JSON API: ht

Dec 7, 2022

Cache json map to local file with Dart:io. Read file with sync api.

local_cache_sync 一个非常简单易用的Flutter本地储存库,适用于在本地储存一列轻量数据(例如用户保存在本地的设备信息,或者缓存一系列用户信息)。 local_cache_sync的所有方法都是同步,而不是异步的。这意味着你不需要使用await就可以获取数据。在flutter中,这

Jun 24, 2022
Comments
Releases(v0.0.1)
  • v0.0.1(Jan 4, 2022)

    Initial Release

    Changelog

    Features

    • JSON IPC based bindings for MPV player
    • Starts mpv sub process for JSON-IPC socket with start
    • load file/network URL string
    • MPVEvents
    • loads playlist with loadPlaylist
    • Control for play|pause|next|prev|volume|mute|shuffle|playlistMove|loopPlaylist
    • Audio/Video/Subtitle Load/Remove/Control Support
    • Get/Set/Observe/Cycle any viable Property arbitrarily with getProperty|setProperty|observeProperty|cycleProperty
    • Send commands independently with command or use the defined ones

    Patches

    N/A

    Source code(tar.gz)
    Source code(zip)
Owner
Kingkor Roy Tirtho
17 • Interested in Typescript💙•Deno🦕•Rust🦀•Dart🎯•Tauri🖥•Linux🐧•React⚛️•Vue💚•SolidJS🪨•Svelte🔗•tailwindcss💨
Kingkor Roy Tirtho
A small image utils package for flutter written in dart.

flutter_simple_image_utils A small image utils package for flutter written in dart. Usage: import 'package:flutter_simple_image_utils/flutter_simple_i

Hamlet D'Arcy 1 Nov 18, 2021
A simple video streaming application made with Dart, JavaScript, HTML, CSS

streamZ A simple video streaming application made with Dart, JS, HTML, CSS & ❤️ Show some ❤️ by putting ⭐ Recently I wrote an article, explaining how

Anjan Roy 28 Nov 23, 2021
Unleash Client SDK for Dart and Flutter

Unleash Client SDK for Dart and Flutter This is an unofficial Unleash Client SDK

null 0 Oct 6, 2021
A simple YouTube Music Client written in Dart using Flutter Framework with @microsoft Fluent design guidlines

A simple YouTube Music Client written in Dart using Flutter Framework with @microsoft Fluent design guidlines

Suraj Pratap Singh 123 Jan 7, 2023
This Flutter plugin created to show how to use OpenCV and ZXing C++ libraries natively in Flutter with Dart FFI using the camera stream

OpenCV and ZXing C++ libraries natively in Flutter with Dart FFI using the camera stream

Khoren Markosyan 17 Oct 21, 2022
Dart package for reading and writing wav files

wav Simple tools for reading and writing WAV files. Written in pure Dart, with no dependencies. This package currently supports reading and writing 8/

Liam Appelbe 8 Dec 28, 2022
Apps For streaming audio via url (Android, iOS & Web ). Developed with Dart & Flutter ❤

Flutter Sleep App (Dicoding Submission : Learn to Make Flutter Apps for Beginners) Stream Great collection of high-definition sounds that can be mixed

Utrodus Said Al Baqi 13 Nov 29, 2022
Simple peer-to-peer with WebRTC for Dart. PeerJS port for Flutter.

PeerDart: Simple peer-to-peer with WebRTC PeerDart provides a complete, configurable, and easy-to-use peer-to-peer API built on top of WebRTC, support

Muhammed Kaplan 42 Jan 8, 2023
MPV Remote: Remote control for MPV over SSH

MPV Remote Remote control for MPV over SSH. Big work-in-progress. Screenshots

Sam Lakerveld 1 Jun 2, 2022
build standings, matchs, players, news and all about premier league with flutter

premier_league A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started i

null 1 Feb 27, 2022