¡@

Home 

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

android Programming Glossary: avframe

Decoding Video using FFMpeg for android

http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android

int i videoStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVFrame pFrameRGB AVPacket packet int frameFinished int.. AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVFrame pFrameRGB AVPacket packet int frameFinished int numBytes uint8_t.. video frame pFrame avcodec_alloc_frame Allocate an AVFrame structure pFrameRGB avcodec_alloc_frame if pFrameRGB NULL LOGI..

How to decode audio via FFmpeg in Android

http://stackoverflow.com/questions/5367595/how-to-decode-audio-via-ffmpeg-in-android

audioStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVPacket packet int frameFinished float aspect_ratio.. audioStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVPacket packet int frameFinished float aspect_ratio..

android ffmpeg opengl es render movie

http://stackoverflow.com/questions/8867616/android-ffmpeg-opengl-es-render-movie

but I need to get the speed increased of converting the AVFrame object from FFmpeg into a native bitmap. Below is currently.. static void fill_bitmap AndroidBitmapInfo info void pixels AVFrame pFrame uint8_t frameLine int yy for yy 0 yy info height yy uint8_t..

Decoding Video using FFMpeg for android

http://stackoverflow.com/questions/11322952/decoding-video-using-ffmpeg-for-android

jobject javaThis jstring filename AVFormatContext pFormatCtx int i videoStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVFrame pFrameRGB AVPacket packet int frameFinished int numBytes uint8_t buffer Register all formats and codecs av_register_all.. jstring filename AVFormatContext pFormatCtx int i videoStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVFrame pFrameRGB AVPacket packet int frameFinished int numBytes uint8_t buffer Register all formats and codecs av_register_all.. pCodec 0 LOGI Codec Opened n return 1 Could not open codec Allocate video frame pFrame avcodec_alloc_frame Allocate an AVFrame structure pFrameRGB avcodec_alloc_frame if pFrameRGB NULL LOGI checking pFrameRGB NULL n return 1 Determine required buffer..

How to decode audio via FFmpeg in Android

http://stackoverflow.com/questions/5367595/how-to-decode-audio-via-ffmpeg-in-android

the following code AVFormatContext pFormatCtx int i videoStream audioStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVPacket packet int frameFinished float aspect_ratio AVCodecContext aCodecCtx AVCodec aCodec AVCodecContext c NULL.. argv jbyteArray array AVFormatContext pFormatCtx int i videoStream audioStream AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVPacket packet int frameFinished float aspect_ratio AVCodecContext aCodecCtx AVCodec aCodec SDL_Overlay bmp SDL_Surface..

android ffmpeg opengl es render movie

http://stackoverflow.com/questions/8867616/android-ffmpeg-opengl-es-render-movie

bitmap object on the native side. I think this has potential but I need to get the speed increased of converting the AVFrame object from FFmpeg into a native bitmap. Below is currently what I am using to convert a brute force approach. Is there.. to increase the speed of this or optimize this conversion static void fill_bitmap AndroidBitmapInfo info void pixels AVFrame pFrame uint8_t frameLine int yy for yy 0 yy info height yy uint8_t line uint8_t pixels frameLine uint8_t pFrame data 0 yy..