Hi Michael,

Michael Niedermayer wrote:
> 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?

I'll have a better look, but I think they are not enough for my
particular requirement (I need to know the "error" for every
different pixel of the frame)


>> 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

Ok, thanks; I'll have a look at it.


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

Reply via email to