[Theora-dev] aspect ratio ?

Thomas Vander Stichele thomas
Wed Jul 14 05:10:04 PDT 2004


Can someone enlighten me on what the status is of aspect ratio in theora
is ?

The ti structure has aspect_num and _den values, which I assume give the
intended display aspect ratio (e.g. 4/3).

The sample files on the bittorrent seem to say both values are 0 for all
files.  I'd think it should at least be made impossible to have a 0 as
the denominator.

The library doesn't check the values at all on encode_init.  I can
provide a patch if this needs to be fixed.

The example encoder states in its comments that if you don't set the
aspect denominator, the default of "0" is used (!)

The spec.py file seems to say that aspect ratio "is not used yet".

I'm a bit confused, and I'm trying to add proper aspect ratio support to
GStreamer at the moment.  What should I be doing ?

Thomas

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
Smelled you on my hand for days
I can't wash away your scent
I'm a dog and you're a bitch
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/




More information about the Theora-dev mailing list