[Theora-dev] aspect ratio ?

illiminable ogg
Wed Jul 14 05:19:26 PDT 2004


In my directshow filters right now i just set them to 0.

It doesn't seem to present a division by zero error anywhere. Somewhere in
libtheora it sets them to something meaningful, i think.

Zen.
----- Original Message -----
From: "Thomas Vander Stichele" <thomas at apestaart.org>
To: "Theora Development" <theora-dev at xiph.org>
Sent: Wednesday, July 14, 2004 8:10 PM
Subject: [Theora-dev] aspect ratio ?


> 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/
>
>
> _______________________________________________
> Theora-dev mailing list
> Theora-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora-dev
>
>



More information about the Theora-dev mailing list