Hi,
I am using following API to decode H264 frame.
int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
int *got_picture_ptr,
const AVPacket *avpkt);
But whenever 3rd parameter got_picture_ptr will be false, after that Whats
the deco
On Tue, Jun 12, 2012 at 8:12 PM, Michael Niedermayer wrote:
> On Tue, Jun 12, 2012 at 11:44:03AM -0600, Michael Bradshaw wrote:
>> avformat_find_stream_info() attempts to find the file's and streams'
>> durations, but it will guess them based on the bitrate if it can't
>> determine the actual dura
Michael Chisholm writes:
> Is a NULL buffer supported (if not documented) if you set the
> direct flag?
direct is the intended replacement, while it is not a good idea
to pass NULL (that's why it is not documented), it may work. A
better idea is to pass a buffer, note that neither the old API