search for: frame_height

Displaying 18 results from an estimated 18 matches for "frame_height".

2004 Dec 20
2
frame_height, height, y_height etc...
I'd previously been working on the assumption that the frame_height was the height of the inner picture region... and height was the height of the outer frame. Then upon readnig the spec... where it calls the outer part the frame and the inner part the picture region... i assumed i'd made a mistake and that frame_width is actually >= width in the theora...
2006 Oct 06
0
V4L + Theora small app...
...ioctl.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <linux/videodev.h> #include "theora/theora.h" #define SPIN "|\\-/" #define V4L_DEVICE "/dev/video0" #define FRAME_WIDTH 352 #define FRAME_HEIGHT 288 #define TOT_FRAMES 50 int V4L_Init ( const char *szDevice ); void V4L_GetFrame ( void ); void V4L_Uninit ( void ); int OGG_Init ( void ); int OGG_OpenClip ( const char *szFilename ); int OGG_CloseClip ( void ); int OGG_PutFrame ( void ); int OGG_Uninit ( void ); /...
2010 Jun 14
4
Live Stream Encoding
...ill not be displayed. If i play the video in Firefox, the first 2 seconds will not be played. I think the problem is in the setup of the encoder: keyframe_frequency = 0; th_info_init(&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;...
2005 Feb 09
1
Trying to do windows encoding dll
...eam; __declspec (dllexport) void startenc(int width, int height, int bitrate) { ogg_stream_init(&enc_stream, 290482); enc_width = width; enc_height = height; theora_info ti; theora_info_init(&ti); ti.width=width; ti.height=height; // must be /16 ti.frame_width=width; ti.frame_height=height; ti.offset_x=0; ti.offset_y=0; ti.colorspace=OC_CS_UNSPECIFIED; ti.target_bitrate=bitrate; ti.dropframes_p=0; ti.quick_p=1; ti.keyframe_auto_p=1; ti.keyframe_frequency=64; ti.keyframe_frequency_force=64; ti.keyframe_data_target_bitrate=bitrate*1.5; ti.keyframe_auto_thr...
2004 Oct 02
2
Theora decode problem
...ing vectors - and yet it goes into this area anyway and promptly 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...
2003 Jul 23
1
Aspect ratio question
Hi, despite the warnings on the website ;-) I played with the current CVS source of theora on Windows 2000 w/ Microsoft Visual C++. The codec and the "experimental" example programs compiled fine. I also encoded a 33 MB MPEG2 (?) video (3 minute trailer) to a 14 MB .OGG using "mplayer -vo yuv4mpeg -ao pcm" and the "encoderwin" sample program, and play it with the
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.
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.
2004 May 20
0
theora header bitmap for alpha3
...| VREV | FMBW: width >> 4 | 8-11 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FMBH: height >> 4 | PICW: frame_width | 12-15 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PICH: frame_height | 16-19 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PICX: offset_x| PICY: offset_y| FRN: fps_numerator | 20-23 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FRD: fps_denominator...
2009 Dec 07
0
Bunch of bugs in LibTheora, FFMPEG2THEORA, PNG2THEORA
...c" (subminor) https://trac.xiph.org/browser/trunk/theora/examples/png2theora.c 207 /* Must hold: yuv_w >= w */ 208 yuv_w = (w + 15) & ~15; 209 210 /* Must hold: yuv_h >= h */ 211 yuv_h = (h + 15) & ~15; 699 ti.frame_width = ((w + 15) >>4)<<4; 700 ti.frame_height = ((h + 15)>>4)<<4; Same thing ^^^ done 2 x differently ;-) 3. "png2theora.c" Win32 binary doesn't work https://trac.xiph.org/browser/trunk/theora/examples/png2theora.c http://firefogg.org/nightly/ 97 "The input argument uses C printf format to represen...
2004 Oct 31
3
a question about Bitstream Header.
Hi, I have a question about the format of Theora bitstream header. It seems to me that there are differences between the specification[1] (version 2004 Oct 1) and its reference implementation in libtheora 1.0alpha3 released at 2004 Jun 1. I mean that... please refer to Section 6.2 'Identification Header Decode' in that specification[1] and the function
2005 Sep 07
1
encoder settings
...'t want to buffer the stream and here is the problem... Right now the encoder works with following settings: bitrate = 80 video_r = 80; videostream->ti.width = video_x; videostream->ti.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.as...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...<< " " << ((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 << "," << theoraInfo.offset_y << " Colorspace: " << theoraInfo.colorspace << std::endl; } else {...
2005 Oct 05
1
Simple encodig sample...
...frame_x ) / 2 ) & ~1; frame_y_offset = ( ( video_y - frame_y ) / 2 ) & ~1; yuvframe = malloc( video_x * video_y * 3 / 2 ); theora_info_init( &ti ); 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...
2005 Sep 27
4
problems understanding yuv_buffer format
hi folks! once again i am trying to decode a yuv_buffer to a 24 bit RGB buffer. last time nobody seemed willing to tell me how to do this, so i am trying again. i try to make my questions more simple. what i need to know is: how many bytes are in each y, u, v array? what for are these strides? what exactly is a "plane" in a frame, and what does it do? what i want to achieve is
2005 Mar 23
0
[PATCH]
...mp;oc_frag_recon_inter2__c; + _state->opt_vtable.oc_state_frag_copy = &oc_state_frag_copy__c; + _state->opt_vtable.restore_fpu = &restore_fpu; + } + /*Invert the sense of pic_y to match Theora's right-handed coordinate system.*/ _state->info.pic_y=_info->frame_height-_info->pic_height-_info->pic_y; @@ -820,7 +850,7 @@ dst_ystride=_state->ref_frame_bufs[dst_framei][_pli].ystride; /*For now ystride values in all ref frames assumed to be equal.*/ if(_frag->mbmode==OC_MODE_INTRA){ - oc_frag_recon_intra(_frag->buffer[dst_framei],dst_ystrid...
2004 Nov 20
0
ffmpeg2theora start and end time support
...ight); } if(!info.audio_only){ /* video settings here */ /* config file? commandline options? v2v presets? */ theora_info_init (&info.ti); info.ti.width = this->video_x; info.ti.height = this->video_y; info.ti.frame_width = this->output_width; info.ti.frame_height = this->output_height; info.ti.offset_x = this->frame_x_offset; info.ti.offset_y = this->frame_y_offset; // FIXED: looks like ffmpeg uses num and denum for fps too // venc->frame_rate / venc->frame_rate_base; //info.ti.fps_numerator = 1000000 * (this->fps); /* fps=...
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...mp;oc_frag_recon_inter2__c; + _state->opt_vtable.oc_state_frag_copy = &oc_state_frag_copy__c; + _state->opt_vtable.restore_fpu = &restore_fpu; + } + /*Invert the sense of pic_y to match Theora's right-handed coordinate system.*/ _state->info.pic_y=_info->frame_height-_info->pic_height-_info->pic_y; @@ -820,7 +850,7 @@ dst_ystride=_state->ref_frame_bufs[dst_framei][_pli].ystride; /*For now ystride values in all ref frames assumed to be equal.*/ if(_frag->mbmode==OC_MODE_INTRA){ - oc_frag_recon_intra(_frag->buffer[dst_framei],dst_ystrid...