Hello,
If you prepare your pictures in a suitable format (for example
RGB PPM), you can use "oqtencoder" to encode them using one
of the installed codecs, like this, for example:
cat *ppm | oqtencoder -V "jpeg" -F 25 -r RGB888 encoded.mov
This supposes that "jpeg" is installed, which is most probably
the case, unless configure could not find libjpeg on your
system while building.
For screen-shots you might want to use "png " instead, which
needs (the quite standard) libpng to be found at build time.
PPM is just a header followed by RGB data (like this:
RGBRGBRGB...), so they should be easy to produce from what
you have. Use "man ppm" for details. Example of a PPM header:
"P6\n720 480\n255\n".
Depending on which libraries are present at build time, you
can get a different set of codecs.
Use the tool "oqtcodecs" to list available codecs.
Of course, you can use the API directly (that is what you're
probably referring to in your email, or not?), I'd suggest you
use "oqtencoder"'s source as example.
I hope this helps a little bit.
Questions?
If so, please provide us with information, especially the
output of "oqtcodecs" and some details about how you're trying
to use the library (APIs, the "oqtencoder" utility, etc), and
of course some specifics about what is going wrong (error code,
crash, invalid result file, etc).
jh
On Mon, May 24, 2004 at 11:50:04AM -0600, Knee, wrote:
>To whom it may concern;
I feel a bit concerned, yes ;)
>I have a quick question about the Openquicktime libraries I downloaded from
>you guys. I am currently looking for a simple encoder to encode screenshots
>I have taken using OpenGL. All screenshots are in a continuous buffer in
>RGB format. In using the code supplied, I am unable to load any codecs and
>am thus unable to encode any video. If you could please let me know what I
>need to do to be able to use a simple codec to perform my desired operation.
>Thanks for your time,
>Peter Knee
|