¡@

Home 

2014/10/16 ¤W¤È 08:28:10

android Programming Glossary: yuv420

Using MediaCodec to save series of images as Video

http://stackoverflow.com/questions/18795353/using-mediacodec-to-save-series-of-images-as-video

MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420SemiPlanar mediaFormat.setInteger MediaFormat.KEY_I_FRAME_INTERVAL.. get it to be any playable format. I tried all COLOR_FormatYUV420 formats and same gibberish output. And I still can't find away.. things to be aware of Not all devices support COLOR_FormatYUV420SemiPlanar . Some only accept planar. Android 4.3 introduced..

Image processing with Android Camera

http://stackoverflow.com/questions/4373254/image-processing-with-android-camera

the byte data returned to the callback is encoded in YUV420sp. Have people been decoding this to RGB in Java or using NDK.. I found a sample application that translates the YUV420 into RGB and displays sort of real time histograms over the..

Use FFMPEG on Android [closed]

http://stackoverflow.com/questions/5164211/use-ffmpeg-on-android

Does somebody know how to use FFMPEG on Android to convert YUV420 frame to H.264 I have ported FFMPEG work on Android with NDK..

Extract black and white image from android camera's NV21 format

http://stackoverflow.com/questions/5272388/extract-black-and-white-image-from-android-cameras-nv21-format

to convert the NV21 to RGB and it is working. Converts YUV420 NV21 to RGB8888 @param data byte array on YUV420 NV21 format... Converts YUV420 NV21 to RGB8888 @param data byte array on YUV420 NV21 format. @param width pixels width @param height pixels.. Where each int is a pixels ARGB. public static int convertYUV420_NV21toRGB8888 byte data int width int height int size width..

Using MediaCodec to save series of images as Video

http://stackoverflow.com/questions/18795353/using-mediacodec-to-save-series-of-images-as-video

10 mediaFormat.setInteger MediaFormat.KEY_COLOR_FORMAT MediaCodecInfo.CodecCapabilities.COLOR_FormatYUV420SemiPlanar mediaFormat.setInteger MediaFormat.KEY_I_FRAME_INTERVAL 5 codec.configure mediaFormat null null MediaCodec.CONFIGURE_FLAG_ENCODE.. image format is YUV image NV21 from camera preview . I can't get it to be any playable format. I tried all COLOR_FormatYUV420 formats and same gibberish output. And I still can't find away using MediaCodec to add audio. android video mediacodec.. question I think you have the right general idea. Some things to be aware of Not all devices support COLOR_FormatYUV420SemiPlanar . Some only accept planar. Android 4.3 introduced CTS tests to ensure that the AVC codec supports one or the other...

Image processing with Android Camera

http://stackoverflow.com/questions/4373254/image-processing-with-android-camera

to the user i.e. apply a color tint sepia etc . As I understand the byte data returned to the callback is encoded in YUV420sp. Have people been decoding this to RGB in Java or using NDK native code Does anyone have an example of a function that.. image image processing camera rgb share improve this question I found a sample application that translates the YUV420 into RGB and displays sort of real time histograms over the preview image. http www.stanford.edu class ee368 Android index.html..

Use FFMPEG on Android [closed]

http://stackoverflow.com/questions/5164211/use-ffmpeg-on-android

FFMPEG on Android closed Does somebody know how to use FFMPEG on Android to convert YUV420 frame to H.264 I have ported FFMPEG work on Android with NDK I just don't know how to use it. A source code is appreciated...

Extract black and white image from android camera's NV21 format

http://stackoverflow.com/questions/5272388/extract-black-and-white-image-from-android-cameras-nv21-format

share improve this question I developed the following code to convert the NV21 to RGB and it is working. Converts YUV420 NV21 to RGB8888 @param data byte array on YUV420 NV21 format. @param width pixels width @param height pixels height @return.. following code to convert the NV21 to RGB and it is working. Converts YUV420 NV21 to RGB8888 @param data byte array on YUV420 NV21 format. @param width pixels width @param height pixels height @return a RGB8888 pixels int array. Where each int is.. height pixels height @return a RGB8888 pixels int array. Where each int is a pixels ARGB. public static int convertYUV420_NV21toRGB8888 byte data int width int height int size width height int offset size int pixels new int size int u v y1 y2..