[FFmpeg-devel] aspect fuction

Stefan Gehrer stefan.gehrer
Tue Nov 20 09:12:26 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

rachel li wrote:
>  
> 
> 1. What does code below mean?
> 
> video_enc->sample_aspect_ratio = av_d2q(frame_aspect_ratio*video_enc->height/video_enc->width, 255);
> 
> If the source is 720x480 aspect_ratio 1.333, then the result is 8 /9. what does it mean?

Maybe http://rob.opendot.cl/index.php/2007/10/31/aspect-ratios/
can help you.

Stefan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHQpbqYpYOlpT3vNMRAu98AKCQ7K0eUyWQeQvSCGxYKJONTSoVcACg7c+5
NwZW98Kz15BOCAaY2n2rQ9Y=
=yRVJ
-----END PGP SIGNATURE-----




More information about the ffmpeg-devel mailing list