search for: th_info

Displaying 6 results from an estimated 6 matches for "th_info".

Did you mean: sh_info
2009 Jul 07
1
Estimate bytes per second from th_info-settings
Hi Is there a way to estimate the number of bytes per second from the information passed in the th_info-struct to the Theora encoder's th_encode_alloc()? I'm trying to be able to give users a rough estimate of the file size needed to encode with the setting provided to th_info-struct (frame width/height, fps_numerator/fps_denominator, target_bitrate and quality). -- Bjoern ___________________...
2010 Jun 04
2
OGGZ Seeking in Theora
Dear all I'm aware that there have been several discussions about the seeking issue and I'm sorry to bring this up again. To solve the problem with Inter-Frame garbage, a seek to the previous keyframe has to be made. The keyframe number should be extracted from the granulepos of the frame where we want to seek to. I hope I understood the theory - unfortunately a few questions have
2009 Nov 25
2
encoding image from a webcam
...convert it to YCbCr 4:4:4, I encode it, resulting an ogg_packet. Then I provide this ogg_packet 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? B...
2010 Mar 25
2
Questions about encoder parameters.
...ackground the first few seconds, and ghost images after that. One of the problems is probably that I send wrong parameters to theora for encoding. I had some problem understanding what the intention of these parameters are. I will therefore ask some questions about some of the parameters in the th_info structure: th_info info; info.fps_numerator = 10; info.fps_denominator = 1; My understanding is that this is the framerate, and that the parameters above means 10 frames per second, Is that right? info.aspect_denominator = 0; info.aspect_numerator = 0; Here I use the defau...
2010 Jun 04
0
(no subject)
Hi Sahana I must admit I'm not an expert in Theora. But the error message "Could not set keyframe interval to 64" might indicate that an attempt to set the keyframe frequency failed. Have a look at the keyframe_granule_shift attribute in the th_info struct. It says: The maximum distance between key frames is 1<<keyframe_granule_shift. So I could imagine that the error might be caused by setting the keyframe_frequency to a larger value than permitted by the keyframe_granule_shift field (e.g. with TH_ENCCTL_SET_KEYFRAME_FREQUENCY_FORCE)....
2010 Apr 17
1
How to encode with frame offset ?
Hi all, looking at the theora spec, it says that it is possible to encode a video with a frame offset for the actual image. How is it possible to do that ? I don't see any option for it in the encoder_example. Regards, Salsaman. http://lives.sourceforge.net https://www.ohloh.net/accounts/salsaman -------------- next part -------------- An HTML attachment was scrubbed... URL: