[Libav-user] What define the quality of a decoded video

Alex Cohn alexcohn at netvision.net.il
Mon Jun 24 13:40:36 CEST 2013


On Mon, Jun 24, 2013 at 11:11 AM, ... ... <bersac_1 at hotmail.fr> wrote:
>
> Hi,
>
> Thanks for all your responses, it makes things clearer. So if I understand, I can't encode video without losing quality (the same with decoding, but I don't actually have problems with decoding). But I can't skip decoding  for processing reasons. So how to define the encoding tweaks which will minimize the lost of quality ? Is there a function like AVOutputFormat* defineBestDecodeSettings(AVPacket *pkt, enum AVQuality flags); ?
>
> Sincerely,
> Guillaume Bersac
> 237bis rue de Pessac
> 33000 Bordeaux
> 06.65.30.89.43

Which codec are you using?

> I decode it, reencode it using the same type of encoder without modifying the decoded data and finally I save it on one file of my computer.

If you need to process decoded frames, but don't modify them for
storage, you can still copy the original packets to the file on your
computer.

Sincerely,
Alex


More information about the Libav-user mailing list