fvp
0.40.0, released 2 weeks ago by mediadevkit.com
Video player plugin and backend APIs supporting desktop and mobile with hardware decoders and FFmpeg.
What it does
Acts as a backend plugin for the official video_player package and provides a low-level backend player API. Supports hardware-accelerated decoding, optimal rendering APIs across platforms, and most media formats via FFmpeg.
AI-written summary of version 0.40.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need video_player support on desktop platforms like Windows, Linux, and macOS.
- You want hardware-accelerated video decoding and optimal rendering performance on mobile and desktop.
- You need custom backend player APIs or advanced playback features like snapshots, recording, and custom decoders.
Skip it when
- You strictly want a pure Dart audio and video solution without native binary dependencies.
- You are using Flutter-snap which sets environment variables that break the C++ compiler build.
Strengths
- Supports all desktop and mobile platforms with hardware acceleration.
- Includes Dolby Vision, custom subtitle, and FFmpeg demuxer support.
- Low CPU, GPU, and memory load compared to alternative players.
Weaknesses
- Requires managing binary SDK dependencies and platform-specific native setups.
- Flutter-snap environment variables can break C++ compilation on Linux.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 8
Add the package as a direct dependency. For macOS/iOS, clean pod caches if upgrading binary dependencies. For embedded Linux, remove libffmpeg.so.* if using system libraries.
import 'package:fvp/fvp.dart' as fvp;
fvp.registerWith();Alternatives
Packages that do the same job and could replace fvp.
- media_kit
If you prefer a feature-rich media player library built on libmpv instead of libmdk.
76Compare - just_audio
If your primary requirement is advanced audio playback and streaming rather than full video capabilities.
80Compare
Works with
Packages commonly used together with fvp: ones it builds on, ones built on it, and its own family.
- ffifvp depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- loggingfvp depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- plugin_platform_interfacefvp depends on itReusable base class for platform interfaces of Flutter federated plugins.
- path_providerfvp depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- video_playerfvp depends on itFlutter plugin for displaying inline video on Android, iOS, macOS, and web.