
MultiMedia
文章平均质量分 77
honemleysm
这个作者很懒,什么都没留下…
展开
-
compile x264 for Android on Mac
1. Toolchain for compile (This NDK version is r8) a. Android’s NDK allows we to create toolchain installation using “make-standalone-toolchain.sh” script. b. Execute like below. $> /home/bywyu/andr转载 2013-07-14 00:02:22 · 948 阅读 · 0 评论 -
JNI wrapper for x264
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := x264 LOCAL_SRC_FILES := $(LOCAL_PATH)/libx264.so include $(PREBUILT_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := l转载 2013-10-11 17:12:36 · 829 阅读 · 0 评论 -
YUV to RGB convertion by fragment shader
I've a problem with convertion of camera preview in Android from YUV format to RGB. The purpose of conversion is to apply some effects. I try to convert by fragment shader because convertion by native转载 2013-09-13 18:26:38 · 1889 阅读 · 0 评论 -
H.264 extradata (partially) explained
H.264 extradata (partially) explained - for dummies While this article will seem obvious and redundant to anyone who is fluent in H.264, i'm hoping it will come in useful for those people who s转载 2013-09-10 17:01:59 · 1818 阅读 · 0 评论 -
Mux H.264 into MP4 without LIBAVCODEC
http://stackoverflow.com/questions/15263458/h-264-muxed-to-mp4-using-libavformat-not-playing-back I am trying to mux H.264 data into a MP4 file. There appear to be no errors in saving this H.转载 2013-09-11 01:22:24 · 3269 阅读 · 0 评论 -
THE H.264 SEQUENCE PARAMETER SET
http://www.cardinalpeak.com/blog/the-h-264-sequence-parameter-set/ THE H.264 SEQUENCE PARAMETER SET April 20th, 2011 by Ben Mesander This is a follow-up to my World’s Smallest h.2转载 2013-09-10 08:23:50 · 1358 阅读 · 0 评论 -
MediaCodec Sample
om.opentok.media.avc; import java.io.IOException; import java.nio.ByteBuffer; import android.media.MediaCodec; import android.media.MediaCodecInfo; import android.media.MediaFormat; public class转载 2013-09-02 19:42:07 · 2054 阅读 · 0 评论 -
用ffmpeg抽取yuv数据
extract yuv data ./ffmpeg -i ../streams/video-2013-09-09-03-14.mp4 -pix_fmt yuv420p ../streams/note2.yuv If you have the wonderful FFmpeg, there are many cool things you can do with it. I'转载 2013-09-09 16:50:26 · 3912 阅读 · 0 评论 -
Use Android Hardware Decoder with OMXCodec in NDK
Android Hardware Decoding with MediaCodec2013-1-11 AndroidOpenMAX Finally, I must say, finally, we get low-level media APIs in Android, the Android hardware decoding and encoding APIs are转载 2013-09-09 17:19:56 · 3998 阅读 · 0 评论 -
how to use HW accelerated video codec on android
http://stackoverflow.com/questions/11321825/how-to-use-hardware-accelerated-video-decoding-on-android转载 2013-07-17 00:15:21 · 1337 阅读 · 0 评论 -
How to use Android HW Video Codec
http://stackoverflow.com/questions/11321825/how-to-use-hardware-accelerated-video-decoding-on-android Three ways to use Android HW accelerated Video Codec: Use ffmpeg libstagefright (overview of原创 2013-07-17 00:51:09 · 2576 阅读 · 0 评论 -
YUV420各种格式备忘
plana 模式: 420p(yv12) yv21(把yv12的uv反序) packet模式: 420sp(nv21) nv12(把yv12的uv反序)原创 2014-01-09 11:04:17 · 729 阅读 · 0 评论