On Wed, Mar 12, 2008 at 10:09:02AM +0100, Luca Abeni wrote:
> Hi all,
> 
> when encoding a video stream, I need to compute the difference
> between the original video frames and the frames obtained after
> encoding and decoding (something like an "error frame").

CODEC_FLAG_PSNR and AVCodecContext.error arent enough?


> 
> So, I am wondering if there is a standard way to access the
> decoded frame when encoding - I think an encoder needs to store

try AVCodecContext.coded_frame

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is not what we do, but why we do it that matters.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to