android-studio - 使用 android FFMPEG 库处理有限的视频帧
问题描述
我只需要显示视频中的 10 帧,下面的代码带来了视频的所有帧,FFmpeg 中是否有任何查询集可用于 android 中有限数量的帧并显示在 WhatsApp 等视频编辑中。非常感谢下面这样的查询。
String[] complexCommand = {"-y", "-i", yourRealPath, "-an", "-ss", "" + startMs / 1000, "-t", "" + (endMs - startMs) / 1000 , dest.getAbsolutePath()};
解决方案
推荐阅读
- php - Excluding a value from an array of data
- postgresql - 未配置对 postgresql 服务器的远程访问
- real-time - 无需 iPhone 即可获得实时心率 watchOS 4
- python - 如何将csv文件中具有整数值的列拆分为新列
- visual-studio - 要访问 VisualStudio.com 帐户,请使用上面的选择器登录
- autohotkey - How to get ahk_class name for AutoHotkey?
- excel - 将访问表导出到 .csv 文件时如何停止自动投射
- python - Wake Up Agent Python 2.7 script
- vba - 我正在尝试删除 excel 中的单元格,因为它们的值从另一个函数呈现为空白
- javascript - 反应路由器和 webpack 似乎产生了错误的输出,在某些 URL 中给出了 404