Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一块 Android 板(Nanopi M3,Android 5.1)。我想使用 FFMPEG 将从相机捕获的内容编码为 h.264 格式。在 FFMPEG 的命令中应该放什么输入源?我不知道如何在命令中将输入源设置为相机。
首先,你需要使用NDK编译器FFmpeg源码。你可以得到so库。
然后你通过 jni 调用来收集 Camera 数据,用于 H264 编码 FFmpeg。