On Tue, Jul 27, 2010 at 1:43 PM, Nhat Huy <[email protected]> wrote:
> Hi,
>
> According to your suggestion, I have to write a new av_read_frame which
> points to my bit-stream buffer.

No! you do not need it, just tell ffmpeg your buffer and length ,
FFmpeg will do everything for you

> But how can I determine the AVPacket.size which contains each frame in H.264
> bit-stream ?

I will share some pieces of code.
you should grasp my idea based on the code!
Note: my code was based on older FFmpeg APIs.

-- 
-----------------------------------------------------------------------------------------
My key fingerprint: d1:03:f5:32:26:ff:d7:3c:e4:42:e3:51:ec:92:78:b2

Attachment: MPEG4MiniDecoder.cpp
Description: Binary data

Attachment: MPEG4Decoder.h
Description: Binary data

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to