[theora-dev] Win32 experimental player/encoder

Dan Miller
Sat, 24 May 2003 22:19:29 -0000

it appears your encoder/player do not yet reflece the changes rillian introduced
wrt theora headers, which have been split into three parts -- header proper,
comment, and tables (see toplevel.c).

It's strange that your code works at all linked against the new libs;
presumably since the tables still have the hard-coded values, if you encode
& decode from the same lib compile you won't see the problem -- the
tables just never get loaded & use default values.  You can test this by
trying to decode with NEW_FREQS (hufftables.h) set to 1 (use a file encoded with
it set to zero, or vice versa).  You should see obvious artifacts that get
progressively worse after each keyframe.

Right now I think I have the encoder working properly, but I'm having
trouble with the player.  Should be debugged in a couple days.  Clearly the code
needs to be cleaned up so it errors or at a minimum doesn't initialize these
tables to any default values.

Hopefully then we can do a real merge & test/ checkin.  Final bitstream
change would be the arbitrary size fix, with a cropping rectangle in the header.
Anyone working on that?

 ___  Dan Miller
(++,) Founder, On2 Technologies

> -----Original Message-----
> From: Mauricio Piacentini [mailto:mauricio@tabuleiro.com]
> Sent: Friday, May 23, 2003 4:51 PM
> To: theora-dev@xiph.org
> Subject: [theora-dev] Win32 experimental player/encoder
>
>
> This one is ust to let you all know that Windows versions of
> a Theora simple
> player and encoder are checked into the "win32/experimental"
> subdirectory of
> the CVS tree. This should allow the guys working on Windows
> to test the
> library more easily. I have also implemented simple audio latency
> compensation, so audio and video playback should be
> synchronized well (at
> least they are on my tests.) The required portaudio/SDL includes are
> supplied, so just checkout the whole tree and rebuild.
>
> Regards,
> Mauricio