Fwd: [theora-dev] Encoding with encoder_example

xiphmont at xiph.org xiphmont at xiph.org
Thu Jan 17 05:09:06 PST 2008


Oh, and please keep discussions on the list (assuming they're not
confidential).  Replying only to me directly runs the risk of me not
getting around to answering mail for weeks.

Monty

---------- Forwarded message ----------
From:  <xiphmont at xiph.org>
Date: Jan 17, 2008 8:07 AM
Subject: Re: [theora-dev] Encoding with encoder_example
To: Nuwan Millawitiya <millawitiya at gmail.com>


On Jan 16, 2008 11:32 PM, Nuwan Millawitiya <millawitiya at gmail.com> wrote:
> But  encoder_example  have mentioned that  it  can convert only yuv streams.

Specifically, it only parses 'YUV4MPEG2' style streams, a popular
format for unix video manipulation tools.  The libtheora video
submission call wants raw YUV in 4:2:0 format.

> Do I have to implement a new function for encode row stream such as
> fetch_and_process_video function for yuv streams.

No, you need to convert your video input to YUV for the input.  Theora
internally natively represents video in YUV.  At some point,
somewhere, there needs to be a conversion to YUV.

Monty


More information about the theora-dev mailing list