diff --git a/CHANGELOG.md b/CHANGELOG.md index d93a846..92ada1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.0.3 +- Added single thread wasm implementation. - PR#23 + ## 1.0.2 - Bump dependencies - js - Added example to create gif - PR#11 diff --git a/LICENSE b/LICENSE index 2b6800f..473f60d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 RedLeaf Softs Private Limited +Copyright (c) 2024 RedLeaf Softs Private Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 87d7c46..db7b303 100644 --- a/README.md +++ b/README.md @@ -148,6 +148,15 @@ final url = Uri.base.resolve('ffmpeg/ffmpeg-core.js').toString(); FFmpeg ffmpeg = createFFmpeg(CreateFFmpegParam(corePath: url)); ``` +For single thread implementation which doesn't require `SharedArrayBuffer`. + +```dart +// Note: CreateFFmpegParam is optional and and corePath is also optional +FFmpeg ffmpeg = createFFmpeg(CreateFFmpegParam(log: true, corePath: 'https://unpkg.com/@ffmpeg/core-st@0.11.1/dist/ffmpeg-core.js', +mainName: 'main')); +``` + + ### Use FFmpeg instance ```dart @@ -232,3 +241,8 @@ final controller = VideoPlayerController.network(xFile.path); ``` Supported Browsers - https://caniuse.com/sharedarraybuffer + + +### Roadmap + +- [ ] Migrate to 0.12.x. \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index bf12c63..76bbef4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: ffmpeg_wasm description: ffmpeg.wasm browser APIs dart port for accessing in Flutter web. -version: 1.0.2 +version: 1.0.3 homepage: "https://github.com/redleafsofts/flutter_ffmpeg_wasm" repository: "https://github.com/redleafsofts/flutter_ffmpeg_wasm"