search for: pixel_fmt

Displaying 2 results from an estimated 2 matches for "pixel_fmt".

Did you mean: pix_fmt
2010 Jun 14
4
Live Stream Encoding
...480; ti.pic_height = 320; ti.pic_x = 0; ti.pic_y = 0; ti.fps_numerator = 30; ti.fps_denominator = 1; ti.aspect_numerator = 0; ti.aspect_denominator = 0; ti.colorspace = TH_CS_UNSPECIFIED; ti.pixel_fmt = TH_PF_422; ti.target_bitrate = -1; ti.quality = 48; ti.keyframe_granule_shift=ilog(keyframe_frequency-1); What can cause such a problem? Regards Mario
2009 Nov 25
2
encoding image from a webcam
...et to the decoder, get the YCbCr buffer , convert it back to RGB24 then 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...