[gst-devel] fractions and aspect ratios
Thomas Vander Stichele
thomas at apestaart.org
Wed Jul 14 12:22:12 CEST 2004
On Wed, 2004-07-14 at 16:06, Ronald Bultje wrote:
> Hi,
>
> On Wed, 14 Jul 2004, Benjamin Otte wrote:
> > Why is the information necessary from where you came?
> > Also, what are other systems/libraries (theora, X, ...) using for pixel
> > aspect ratios?
>
> mjpegtools uses ratios, ffmpeg uses floats.
I checked to make sure.
8 months ago:
http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/avcodec.h.diff?r1=1.235&r2=1.236&cvsroot=FFMpeg
where AVRational is a struct containing two ints, num and den.
This is already in our gst-ffmpeg as well, btw.
So, that leaves us with zero known codec projects that use floats. All
of them use a fraction.
Thomas
Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
- There it is. Ten thousand dollars. You're not gonna count it?
- Nah.
- You trust me?
- No. But I do kill people.
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/
More information about the gstreamer-devel
mailing list