【发布时间】:2012-08-19 15:55:12
【问题描述】:
我正在尝试在 android 上显示视频缓冲区。我正在使用 Android 4.1 Jelly Bean 中发布的媒体编解码器 API。
示例如下:
MediaCodec codec = MediaCodec.createDecoderByType(type);
codec.configure(format, ...);
configure 方法接受除 MediaFormat 之外的 3 个其他参数。我已经能够以某种方式弄清楚 MediaFormat,但我不确定其他 3 个参数。 (以下)。
MediaSurface, MediaCrypto and Flags.
有什么线索吗?
另外,如果我不加密我的视频缓冲区,我应该如何处理 MediaCrypto 参数。
要求:
1) Decode the buffers on the android device,
2) Display them on the screen.
【问题讨论】:
-
查看我的问题 [此处][1] 的答案中提供的示例。 [1]:stackoverflow.com/questions/13418093/…
标签: android gstreamer android-4.2-jelly-bean java-gstreamer