¡@

Home 

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

android Programming Glossary: pframe

Decoding Video using FFMpeg for android

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

AVCodecContext pCodecCtx AVCodec pCodec AVFrame pFrame AVFrame pFrameRGB AVPacket packet int frameFinished int numBytes.. pCodecCtx AVCodec pCodec AVFrame pFrame AVFrame pFrameRGB AVPacket packet int frameFinished int numBytes uint8_t buffer.. n return 1 Could not open codec Allocate video frame pFrame avcodec_alloc_frame Allocate an AVFrame structure pFrameRGB..

How to decode audio via FFmpeg in Android

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

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

android ffmpeg opengl es render movie

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

height 0 border GL_RGBA format GL_UNSIGNED_BYTE type pFrameConverted data 0 glEnableClientState GL_TEXTURE_COORD_ARRAY glTexCoordPointer.. fill_bitmap AndroidBitmapInfo info void pixels AVFrame pFrame uint8_t frameLine int yy for yy 0 yy info height yy uint8_t.. height yy uint8_t line uint8_t pixels frameLine uint8_t pFrame data 0 yy pFrame linesize 0 int xx for xx 0 xx info width xx..

Decoding Video using FFMpeg for android

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

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.. 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 Open video.. Open codec if avcodec_open pCodecCtx 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..

How to decode audio via FFmpeg in Android

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

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 int out_size.. 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

0 level GL_RGBA internal format textureWidth width textureHeight height 0 border GL_RGBA format GL_UNSIGNED_BYTE type pFrameConverted data 0 glEnableClientState GL_TEXTURE_COORD_ARRAY glTexCoordPointer 2 GL_FLOAT 0 texCoords glVertexPointer 3 GL_FLOAT.. 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 pFrame.. 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 pFrame linesize 0 int xx for xx 0 xx info width xx int out_offset xx 4 int in_offset xx 3 line out_offset frameLine..