Displaying 1 result from an estimated 1 matches for "th_encode_flushheader".
2009 Nov 25
2
encoding image from a webcam
...hen display it.
Now the questions:
I have a Codec class with a function encoderInitialize(), where I
initialize the encoder,
filling a th_info structure with the image's properties, fps, aspect
ratio, colorspace, quality
and pixel_fmt. Then I allocate a th_enc_ctx handle and repeatedly call
th_encode_flushheader().
Do I have to save this header packets? Do i have to provide this header
packets to the decoder when I
initialize it? Because the documentation says /Parse the header packets
by repeatedly calling
th_decode_headerin().
Thank you,/
--
Mircea Gliga
-------------- next part --------------
An H...