Displaying 2 results from an estimated 2 matches for "ttheorainfo".
Did you mean:
mtheorainfo
2006 Oct 06
0
V4L + Theora small app...
...deoBitrate = 400000;
int iVideoQuality = 15;
int iFrameCounter;
unsigned char* ucYUVframe = NULL;
FILE* pfOGGclip = NULL;
ogg_stream_state tOGGstreamState;
ogg_page tOGGpage;
ogg_packet tOGGpacket;
theora_state tTheoraState;
theora_info tTheoraInfo;
theora_comment tTheoraComment;
yuv_buffer tYUVbuffer;
int OGG_Init( void )
{
printf( "+++ OGG_Init() \n" );
srand( time( NULL ) );
/* Set up Theora encoder */
/* Theora has a divisible-by-sixteen restriction for the encoded video size */
/* scale the frame size...
2006 Oct 04
3
Encoding - CPU usage ...
...a... but I see that
it gets a lot of CPU :(
So I'm here to ask for any kind tips to reduce the CPU usage.
- Hardware... do you think there are better CPUs for Theora? AMD64?
- CPU optimisations... they are enabled by default, right?
- Encoding parameters... now I use:
...
theora_info tTheoraInfo;
tTheoraInfo.colorspace = OC_CS_ITU_REC_470BG; /*
OC_CS_UNSPECIFIED ? */
tTheoraInfo.pixelformat = OC_PF_420;
tTheoraInfo.target_bitrate = 0;
tTheoraInfo.quality = 15;
tTheoraInfo.dropframes_p = 0;
tTheoraInfo....