[Ffmpeg-devel] access to the previous frames in H.264

Michael Niedermayer michaelni
Tue Jan 23 20:50:20 CET 2007


On Tue, Jan 23, 2007 at 09:48:17PM +0330, Alireza Ghane wrote:
> Hi,
> I need to perform some temporal error concealment on H.264 using FFMpeg
> decoder. But the s->last_picture_ptr is NULL for H.264 video and I do not
> know how I could access to the previously decoded frames in
> error_resilience.c methods especially in ff_er_frame_end(MpegEncContext
> s). Is there a field in MpegEncContext structure which helps me to access
> the previous frames in H.264 stream?

try MpegEncContext.picture[]

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070123/50960166/attachment.pgp>

More information about the ffmpeg-devel mailing list