Flutter中使用dart的视频编辑器 [英] Video Editor in Flutter using dart
问题描述
我正在寻找使用dart的Flutter视频编辑器的插件或示例.
I am looking for a plugin or example of a video editor in flutter using dart.
我尝试了以下插件 https://pub.dartlang.org/packages/video_player,但似乎没有可编辑视频的属性.示例修剪或在视频上添加水印.
I have tried the following plugin https://pub.dartlang.org/packages/video_player, but it doesn't seems to have properties that I can edit the video. Example trim or add a watermark on the video.
非常感谢
推荐答案
- 评论提到了 https://github.com/tanersener/flutter-ffmpeg 我找不到任何明确记录编辑视频方法的内容,例如水印.但根据其他人 https://stackoverflow.com/a/57847155/6668797 .
-
还有 https://pub.dev/packages/video_manipulation
- Comments mentioned https://github.com/tanersener/flutter-ffmpeg, though I couldn’t find anything that explicitly documents a way to edit the video, such as a watermark. But it should be possible according to others https://stackoverflow.com/a/57847155/6668797.
There’s also https://pub.dev/packages/video_manipulation
将静止帧添加到现有视频,例如水印
Adding still frames to an existing video, e.g. watermarks
.generateVideo(List<String> paths, String filename, int fps, double speed).
.generateVideo(List<String> paths, String filename, int fps, double speed).
参数
paths
输入文件路径的列表.可以是图片(.jpg或 (.png)或用于生成新视频的视频文件(.mp4). 例如:["documents/input.mp4", "documents/watermark.jpg]
Parameters
paths
list of input file paths. Can be images (.jpg or .png) or video files (.mp4) that are used to generate the new video. E.g.:["documents/input.mp4", "documents/watermark.jpg]
否则,目前在Flutter的视频编辑软件包中没有很多可用的软件包,因为在 https:中找不到了: //pub.dev/flutter .有关更多选项,您必须查找本机Android/iOS库和自定义通过平台渠道进行整合.
Otherwise, there’s currently not much in readily available packages for video editing for Flutter as I couldn't find anymore at https://pub.dev/flutter. For more options, you’ll have to seek out native Android/iOS libraries and custom integrate them through the platform channels.
这篇关于Flutter中使用dart的视频编辑器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!