[Libav-user] Difference between AVStream::sample_aspect_ratio and AVCodecContext::sample_aspect_ratio

Anders Rein are at vizrt.com
Tue Nov 12 14:30:23 CET 2013

When decoding IMX video from a mov file I get two different values for 
sample_aspect_ratio whether I look in AVStram or AVCodecContext. How are 
the two values retrieved/calculated? Which one should I use?

More information about the Libav-user mailing list