search for: fps_denominator

Displaying 20 results from an estimated 21 matches for "fps_denominator".

2004 Oct 02
2
Theora decode problem
...y blows up because the moving vectors are garbage. I'm not sure what I'm doing wrong. Here's my encryption initialization: theora_info_init(&m_ti); m_ti.width=176; m_ti.height=144; m_ti.frame_width=176; m_ti.frame_height=144; m_ti.offset_x=0; m_ti.offset_y=0; m_ti.fps_denominator=(ogg_uint32_t)1000000.0; m_ti.fps_numerator=10 * m_ti.fps_denominator; //10 is 10 frames per second m_ti.aspect_numerator=1; m_ti.aspect_denominator=1; m_ti.colorspace=OC_CS_UNSPECIFIED; m_ti.target_bitrate=0; // 0 if we are specifying quality m_ti.quality=5; // from 0 to 10, 10...
2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
...Ogg Dirac? - keyframe_granule_shift = (char) ((header[40] & 0x03) << 3); - keyframe_granule_shift |= (header[41] & 0xe0) >> 5; - */ - keyframe_shift = keyframe_granule_shift; - #ifdef DEBUG - printf ("Got dirac fps %d/%d, keyframe_shift %d\n", - fps_numerator, fps_denominator, keyframe_shift); + printf ("Got dirac fps %d/%d, granule_shift %d\n", + info->fps_numerator, info->fps_denominator, granule_shift); #endif - oggz_set_granulerate (oggz, serialno, (ogg_int64_t)info->fps_numerator, + /* the granulerate is twice the frame rate (in or...
2010 Jun 14
4
Live Stream Encoding
...;ti); ti.frame_width = ((480 + 15) >>4)<<4; ti.frame_height = ((320 + 15)>>4)<<4; ti.pic_width = 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);...
2009 Jul 07
1
Estimate bytes per second from th_info-settings
...e 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 _________________________________________________________________ NY Windows Live Messenger med nye fede funktioner. Hent den her! http://download.live.com/messenger
2005 Mar 02
1
Patch that fixes distortions during static scenes
...[i] ){ @@ -862,8 +862,8 @@ /* Set key frame data rate target; this is nominal keyframe size */ cpi->Configuration.KeyFrameDataTarget = (c->keyframe_data_target_bitrate * - c->fps_numerator / - c->fps_denominator ) / 8; + c->fps_denominator / + c->fps_numerator ) / 8; /* Note the height and width in the pre-processor control structure. */ cpi->ScanConfig.VideoFrameHeight = cpi->pb.info.height;
2010 Mar 25
2
Questions about encoder parameters.
...blems 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 default, and hope that is OK. info.keyframe_granule_shift = 10; I'm uncertain on...
2005 Feb 17
1
Fix a bug that causes the encoder to spend way to many bits on keyframes
...copy) @@ -862,8 +862,8 @@ /* Set key frame data rate target; this is nominal keyframe size */ cpi->Configuration.KeyFrameDataTarget = (c->keyframe_data_target_bitrate * - c->fps_numerator / - c->fps_denominator ) / 8; + c->fps_denominator / + c->fps_numerator ) / 8; /* Note the height and width in the pre-processor control structure. */ cpi->ScanConfig.VideoFrameHeight = cpi->pb.info.height; I'm...
2007 Jan 06
7
FFmpeg Theora encoding patch
Hi, Attached is my patch to add theora encoding to ffmpeg's libavcodec (by using libtheora). I am requesting help to fix the bug I mention below and am seeking general comments before I submit the patch properly. Files encoded using this encoder have a problem playing in VLC. The files will not play unless "Drop late frames" has been unticked in the advanced video settings.
2006 Oct 06
0
V4L + Theora small app...
...= iVideoY; tTheoraInfo.frame_width = FRAME_WIDTH; tTheoraInfo.frame_height = FRAME_HEIGHT; tTheoraInfo.offset_x = iFrameOffsetX; tTheoraInfo.offset_y = iFrameOffsetY; tTheoraInfo.fps_numerator = iVideoFPSnum; tTheoraInfo.fps_denominator = iVideoFPSden; tTheoraInfo.aspect_numerator = iVideoAspNum; tTheoraInfo.aspect_denominator = iVideoAspDen; tTheoraInfo.colorspace = OC_CS_UNSPECIFIED; tTheoraInfo.pixelformat = OC_PF_420; tTheoraInfo.target_bitrate = iVideoBitrate; tTheor...
2003 May 22
6
resolution issues
...support arbitrary pixel sizes (presently it is limited to multiples of 16 both horizontally and vertically). It is felt that this can be achieved with minimal pain by adding four values to the page header, immediately following the present width & height parameters (before fps_numerator & fps_denominator): pixel_width, pixel_height, x_offset, and y_offset (or somesuch). The existing width & height parameters specify (in 16x16 units as they do now) the encoded frame size, which will always be a multiple of 16x16 blocks. The new parameters should specify a rectangle within said encoded frame whi...
2004 May 20
0
theora header bitmap for alpha3
...| PICH: frame_height | 16-19 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PICX: offset_x| PICY: offset_y| FRN: fps_numerator | 20-23 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FRD: fps_denominator | 24-27 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PARN: aspect_numerator | 28-31 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PARD: aspect_denominator | 32-35 +-+-+-...
2005 Nov 03
1
CPU usage while encoding...
Hi all. In my test application I saw that the encoding process with Theora is too CPU expensive ( compared to FFmpeg - MP4 ) ... Perhaps I'm using wrong parameters: ti.fps_numerator = fps * 11 + 1; // var framerate ti.fps_denominator = 11; ti.aspect_numerator = 1; ti.aspect_denominator = 1; ti.colorspace = OC_CS_ITU_REC_470BG; // OC_CS_UNSPECIFIED; ti.pixelformat = OC_PF_420; ti.target_bitrate = 0; ti.quality = 1 * 6.3; ti.dropframes_p...
2008 Feb 15
2
Seeking to granules in discontinuous streams
On 15-Feb-08, at 6:44 AM, ogg.k.ogg.k@googlemail.com wrote: > Well, it doesn't quite work because the second part of the gpos is > an offset, > rather than absolute, and the precision we shed on one, we need to > recover > on the other one, to keep the ability to timestamp events at the > correct > granularity. It would have worked if the second part was absolute
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
2005 Sep 07
1
encoder settings
...i.height = video_y; videostream->ti.frame_width = frame_x; videostream->ti.frame_height = frame_y; videostream->ti.offset_x = frame_x_offset; videostream->ti.offset_y = frame_y_offset; videostream->ti.fps_numerator = refreshrate * 1000000; videostream->ti.fps_denominator = 10 * 100000; videostream->ti.aspect_numerator = 0; videostream->ti.aspect_denominator = 0; videostream->ti.colorspace = OC_CS_UNSPECIFIED; videostream->ti.target_bitrate = video_r; videostream->ti.quality = 1; videostream->ti.dropframes_p = 0; videos...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
..."Ogg logical stream " << theoraStreamState.serialno << " is Theora " << theoraInfo.width << "x" << theoraInfo.height << " " << ((double)theoraInfo.fps_numerator/theoraInfo.fps_denominator) << " fps video " << " Encoded frame content is size: " <<theoraInfo.frame_width << "x" << theoraInfo.frame_height << " offset: " << theoraInfo.offset_x << ",...
2008 Feb 18
0
Seeking to granules in discontinuous streams
...ference between the two methods is: Current method (from libtheora's toplevel.c): ogg_int64_t iframe=granulepos>>pbi->keyframe_granule_shift; ogg_int64_t pframe=granulepos-(iframe<<pbi->keyframe_granule_shift); return (iframe+pframe)* ((double)pbi->info.fps_denominator/pbi->info.fps_numerator); Proposed method (from libkate's kate_granule.c): base=granulepos>>ki->granule_shift; offset=(granulepos-(base<<ki->granule_shift))>>ki->granule_shift2; return base*(kate_float)ki->gps_base_denominator/ki->gps_base_numerator...
2005 Oct 05
1
Simple encodig sample...
...); ti.width = video_x; ti.height = video_y; ti.frame_width = frame_x; ti.frame_height = frame_y; ti.offset_x = frame_x_offset; ti.offset_y = frame_y_offset; ti.fps_numerator = video_hzn; ti.fps_denominator = video_hzd; ti.aspect_numerator = video_an; ti.aspect_denominator = video_ad; ti.colorspace = OC_CS_UNSPECIFIED; ti.pixelformat = OC_PF_420; ti.target_bitrate = video_r; ti.quality = video_q; ti.dropframes_p...
2009 Jul 08
2
Theora 1.1 rate controller
Hello everyone, I'm currently developing an adaptive videoconferencing application based on Ekiga which uses TFRC as a congestion control mechanism to adapt the video encoding rate according to the quality of the network experienced. My goal was to use the open-source Theora codec for video transmission. Unfortunately, it seemed that Theora 1.0 did not properly implement any correct CBR mode.
2008 Feb 22
2
Seeking to granules in discontinuous streams
...t; > Current method (from libtheora's toplevel.c): > > ogg_int64_t iframe=granulepos>>pbi->keyframe_granule_shift; > ogg_int64_t pframe=granulepos-(iframe<<pbi->keyframe_granule_shift); > > return (iframe+pframe)* > ((double)pbi->info.fps_denominator/pbi->info.fps_numerator); > > Proposed method (from libkate's kate_granule.c): > > base=granulepos>>ki->granule_shift; > offset=(granulepos-(base<<ki->granule_shift))>>ki->granule_shift2; > return base*(kate_float)ki->gps_base_denominato...