【发布时间】:2011-06-03 06:51:37
【问题描述】:
我通过 jni 在我的 android 项目中使用带有 librtmp 的 ffmpeg。 Logcat 中 librtmp 的输出如下所示:
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): Property: <�X�KI {DY������F�:>
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): Property: NULL
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): Property: <�X�KI {DY������F�:>
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): Property: <�X�KI {DY������F�:>
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): (object end)
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): �X, server invoking <�KI {DY������F�:>
06-03 14:36:06.321: DEBUG/NDK_mmsplay(12736): �X: fd=-2135941431, size=-2133930231
有什么建议吗?
提前致谢!
博尔顿
【问题讨论】:
-
如何输出这些字符串?我有类似的东西
-
我正在开发一个使用 librtmp 和 ffmpeg 的项目,该项目旨在通过 Jni 为我的 android 应用程序进行 demux 工作。我在ffmpeg中设置了rtmp日志回调,得到了上面的输出:P
-
显示你的日志处理程序实现
标签: android ffmpeg android-ndk logcat