[Libav-user] Some questions about use mediacodec of ffmpeg in android

2018-03-29 Thread 黄仁渭
Dear FFMEG: I use ffmpeg in android JNI, I need use mediacodec to decode some H264 stream, first (the DecodeMp4TestV2 function)I do a test to decode some video files like mkv. It works fine and I decode it successfully. But I need to decode some raw H264 stream rather then a

Re: [Libav-user] H264 profiles and Levels

2018-03-29 Thread Gonzalo Garramuño
El 29/03/18 a las 07:43, Vittalprasad escribió: Hi Team, I have written sample application using FFMPEG Libraries  to encode YUV, but here i would like to know how to  specify H264 profile and levels for encoder. This is how i'm filling Encode context const AVCodec *codec_enc;

[Libav-user] H264 profiles and Levels

2018-03-29 Thread Vittalprasad
Hi Team, I have written sample application using FFMPEG Libraries to encode YUV, but here i would like to know how to specify H264 profile and levels for encoder. This is how i'm filling Encode context const AVCodec *codec_enc; AVCodecContext *c_enc = NULL; c_enc =