[Ffmpeg-devel] How to get pointer to MpegEncContext structure from AVCodec / AVCodecContext
Wed May 17 18:18:51 CEST 2006
I want ffmpeg to decode MPEG4 data into my own pre-allocated buffers.
Also, I need access to the last and next pictures contained within the
MpegEncContext structure, or I need them to be placed in buffers
allocated by me, not by the codec.
Basically I want to avoid using memcpy() to move the decoded frames
(including the next/prev frames) from one set of buffers to another.
On 17/05/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> Gary Pearman said:
> > Does anybody know how I can get a pointer to an MPEG4 MpegEncContext
> > structure from an AVCodec / AVCodecContext structure?
> You can't, and you shouldn't want to. What are you trying to do?
> M?ns Rullg?rd
> mru at inprovide.com
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel