[Theora-dev] Encoding paramaters...

illiminable ogg
Sat Jul 3 06:10:42 PDT 2004


Forwarded... stupid thing !

----- Original Message -----
From: "illiminable" <ogg at illiminable.com>
To: "Maik Merten" <maikmerten at gmx.net>
Sent: Saturday, July 03, 2004 9:08 PM
Subject: Re: [Theora-dev] Encoding paramaters...


> >illiminable wrote:
> >> Do the frame size parameters in theora_info have to match the values in
> >> yuv_buffer ?
> >>
> >> ie Is the idea that i can feed in a 800x600 video so the yuv values
will
> be
> >> these and the values in theora_info aer say 320x240, and it will do the
> >> frame shrinking internally ?
> >
> >I don`t know.
> >
> >(I would be pleasantly surprised if it would do automatic scaling...
> >something like cropping seems more likely to me - if libtheora doesn`t
> >explode).
>
> Nope... libtheora explodes :)
>
> >> Anyway... what i'm wondering is... does this multiple of 16 restriction
> only
> >> apply to the final frame sizes or also to the values in yuv_buffer...
> hence
> >> you have to pad it out.
> >
> >
> >I *think* this restriction applies to both...
>
> >From encoder_example.c
> <snip>
>
> >Seems like padding happens in the encoding-frontend, not in libtheora.
>
> Hmmm... so how is a decoder supposed to know what is padding ? I guess
that
> does explain why a few mpg->theora movies i've tested have black bordering
> :(
>
> Zen.
>
>
>
> --
> EN: Every mail bigger than 35 KByte will be deleted automatically from
> my mailbox. Please contact me before sending any attachments.
> DE: Jede Mail gr??er als 35 KByte wird automatisch aus meinem Postfach
> gel?scht. Bitte kontaktieren Sie mich, wenn Sie Anh??nge schicken wollen.
> _______________________________________________
> 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