video: fixed metadata fetch from background
This commit is contained in:
parent
64451c6eb3
commit
99dd7ec0ff
5 changed files with 29 additions and 16 deletions
|
@ -57,8 +57,9 @@
|
||||||
allow install on API 19, despite the `minSdkVersion` declared in dependencies:
|
allow install on API 19, despite the `minSdkVersion` declared in dependencies:
|
||||||
- Google Maps is from API 20
|
- Google Maps is from API 20
|
||||||
- the Security library is from API 21
|
- the Security library is from API 21
|
||||||
|
- FFmpegKit for Flutter is from API 24
|
||||||
-->
|
-->
|
||||||
<uses-sdk tools:overrideLibrary="io.flutter.plugins.googlemaps, androidx.security:security-crypto" />
|
<uses-sdk tools:overrideLibrary="io.flutter.plugins.googlemaps, androidx.security:security-crypto, com.arthenica.ffmpegkit.flutter" />
|
||||||
|
|
||||||
<!-- from Android 11, we should define <queries> to make other apps visible to this app -->
|
<!-- from Android 11, we should define <queries> to make other apps visible to this app -->
|
||||||
<queries>
|
<queries>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import 'package:aves_model/aves_model.dart';
|
import 'package:aves_model/aves_model.dart';
|
||||||
import 'package:aves_video/aves_video.dart';
|
import 'package:aves_video/aves_video.dart';
|
||||||
import 'package:ffmpeg_kit_flutter_min/ffmpeg_kit_config.dart';
|
import 'package:ffmpeg_kit_flutter/ffmpeg_kit_config.dart';
|
||||||
import 'package:ffmpeg_kit_flutter_min/ffprobe_kit.dart';
|
import 'package:ffmpeg_kit_flutter/ffprobe_kit.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
|
|
||||||
class FfmpegVideoMetadataFetcher extends AvesVideoMetadataFetcher {
|
class FfmpegVideoMetadataFetcher extends AvesVideoMetadataFetcher {
|
||||||
|
|
|
@ -46,14 +46,15 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.5"
|
version: "2.0.5"
|
||||||
ffmpeg_kit_flutter_min:
|
ffmpeg_kit_flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: ffmpeg_kit_flutter_min
|
path: "flutter/flutter"
|
||||||
sha256: "103367b415fc19c181f02bf85ba3b932c9599223280d52aeafffd02f979535ea"
|
ref: background-lts
|
||||||
url: "https://pub.dev"
|
resolved-ref: "1606719442d8ca04827a94dacd8d3d7a17b5526d"
|
||||||
source: hosted
|
url: "https://github.com/deckerst/ffmpeg-kit.git"
|
||||||
version: "5.1.0-LTS"
|
source: git
|
||||||
|
version: "5.1.0"
|
||||||
ffmpeg_kit_flutter_platform_interface:
|
ffmpeg_kit_flutter_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -12,7 +12,17 @@ dependencies:
|
||||||
path: ../aves_model
|
path: ../aves_model
|
||||||
aves_video:
|
aves_video:
|
||||||
path: ../aves_video
|
path: ../aves_video
|
||||||
ffmpeg_kit_flutter_min: 5.1.0-LTS
|
# ffmpeg_kit_flutter_min: 5.1.0-LTS
|
||||||
|
# ffmpeg_kit_flutter:
|
||||||
|
# git:
|
||||||
|
# url: https://github.com/arthenica/ffmpeg-kit.git
|
||||||
|
# ref: development-flutter
|
||||||
|
# path: flutter/flutter
|
||||||
|
ffmpeg_kit_flutter:
|
||||||
|
git:
|
||||||
|
url: https://github.com/deckerst/ffmpeg-kit.git
|
||||||
|
ref: background-lts
|
||||||
|
path: flutter/flutter
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_lints:
|
flutter_lints:
|
||||||
|
|
13
pubspec.lock
13
pubspec.lock
|
@ -351,14 +351,15 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.0.2"
|
version: "2.0.2"
|
||||||
ffmpeg_kit_flutter_min:
|
ffmpeg_kit_flutter:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: ffmpeg_kit_flutter_min
|
path: "flutter/flutter"
|
||||||
sha256: "103367b415fc19c181f02bf85ba3b932c9599223280d52aeafffd02f979535ea"
|
ref: background-lts
|
||||||
url: "https://pub.dev"
|
resolved-ref: "1606719442d8ca04827a94dacd8d3d7a17b5526d"
|
||||||
source: hosted
|
url: "https://github.com/deckerst/ffmpeg-kit.git"
|
||||||
version: "5.1.0-LTS"
|
source: git
|
||||||
|
version: "5.1.0"
|
||||||
ffmpeg_kit_flutter_platform_interface:
|
ffmpeg_kit_flutter_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue