ffmpeg_cube 0.1.2 copy "ffmpeg_cube: ^0.1.2" to clipboard
ffmpeg_cube: ^0.1.2 copied to clipboard

Cross-platform audio/video processing and playback SDK for Flutter. 跨平台影音處理與播放 SDK,支援轉檔、裁剪、縮圖、合併、混音、字幕、播放等功能。

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.1.2 - 2026-01-06 #

Documentation #

  • Updated all README files (Root, Package, Example) to be bilingual (English/Chinese).

0.1.1 - 2026-01-06 #

Documentation #

  • Added Mermaid architecture diagram to README
  • Enriched Example app documentation for pub.flutter-io.cn display

0.1.0 - 2026-01-06 #

Added #

Core SDK

  • FFmpegCubeClient - Main API entry point for all operations
  • FormatPolicy - Intelligent codec recommendation engine
  • BackendRouter - Automatic platform-specific backend selection

Job Models

  • TranscodeJob - Video transcoding with codec, resolution, bitrate options
  • TrimJob - Video trimming with start/end time or duration
  • ThumbnailJob - Frame extraction with format and quality options
  • ConcatJob - Video concatenation (demuxer and filter methods)
  • MixAudioJob - Audio mixing with volume control
  • SubtitleJob - Subtitle embedding (hardcode and softcode)

Backend Support

  • FFmpegKitBackend - Android/iOS/macOS via ffmpeg_kit_flutter_new
  • ProcessBackend - Windows/Linux via system FFmpeg
  • WasmBackend - Web platform stub (ffmpeg.wasm)
  • RemoteBackend - Remote API fallback stub

Playback

  • UnifiedPlayer - Cross-platform video playback via media_kit
  • UnifiedVideoPlayer - Flutter widget with controls

Utilities

  • ProbeResult - Media file information parsing
  • JobProgress - Real-time progress tracking
  • JobError / JobResult - Comprehensive error handling

Example Application #

  • Home screen with 4 feature cards
  • Transcode screen with codec/resolution options
  • Thumbnail screen with time slider
  • Player screen with playback controls
  • Probe screen with media info display

Tests #

  • 106 unit tests covering all job models
  • Job validation and FFmpeg argument generation
  • ProbeResult JSON parsing
  • FormatPolicy recommendations
0
likes
140
points
129
downloads

Publisher

unverified uploader

Weekly Downloads

Cross-platform audio/video processing and playback SDK for Flutter. 跨平台影音處理與播放 SDK,支援轉檔、裁剪、縮圖、合併、混音、字幕、播放等功能。

Homepage
Repository (GitHub)
View/report issues

Topics

#video #audio #ffmpeg #media #transcoding

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffmpeg_kit_flutter_new, flutter, http, media_kit, media_kit_libs_android_video, media_kit_libs_ios_video, media_kit_libs_linux, media_kit_libs_macos_video, media_kit_libs_windows_video, media_kit_video, path, path_provider, uuid

More

Packages that depend on ffmpeg_cube