search for: aspect_denomin

Displaying 15 results from an estimated 15 matches for "aspect_denomin".

2004 Nov 20
0
ffmpeg2theora start and end time support
...deinterlace; int sample_rate; int channels; int disable_audio; float audio_quality; int output_width; int output_height; double fps; ImgReSampleContext *img_resample_ctx; /* for image resampling/resizing */ ReSampleContext *audio_resample_ctx; ogg_uint32_t aspect_numerator; ogg_uint32_t aspect_denominator; double frame_aspect; int video_quality; /* cropping */ int frame_topBand; int frame_bottomBand; int frame_leftBand; int frame_rightBand; int video_x; int video_y; int frame_x_offset; int frame_y_offset; int start_time; /* In seconds */ int end_time; /* In seconds */ } *ff2the...
2004 Jul 14
4
aspect ratio ?
Can someone enlighten me on what the status is of aspect ratio in theora is ? The ti structure has aspect_num and _den values, which I assume give the intended display aspect ratio (e.g. 4/3). The sample files on the bittorrent seem to say both values are 0 for all files. I'd think it should at least be made impossible to have a 0 as the denominator. The library doesn't check 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.
2010 Jun 14
4
Live Stream Encoding
...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); What can cause such a problem? Regards Mario
2010 Mar 25
2
Questions about encoder parameters.
...ll 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 what the intention of the parameter is. It seems like it is the frequency keyframes are sent in, so the parameter above would mean that every 10th fra...
2004 Oct 02
2
Theora decode problem
...(&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 is highest quality but higher files m_ti.dropframes_p=0; m_ti.quick_p=1; // should always be 1 m_ti.keyframe_auto_p=1; m_ti.keyframe_frequency...
2004 Jun 29
6
Encoding theora...
...Any restrictions ? Also the other encoding parameters... i am just using the default values shown in the encoder example... For the bitrate fields... what happens if i set it to 0 ? Will it do some default action ? Also the aspect ratio fields... i am just setting aspect_numerator = videoWidth aspect_denominator = videoHeight Am i correct in doing this ? Any restrictions ? Also... i'm noticing that most of the filters in directshow output YUY2 and not YUV12... just curious if there is code floating around somewhere to do the conversion before i write it myself... it doesn't look too complex a...
2006 Oct 06
0
V4L + Theora small app...
...= 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; tTheoraInfo.quality = iVideoQuality; tTheoraInfo.dropframes_p = 0; tTheor...
2008 Feb 29
1
Poor encoding quality with etheora and aspect ratio problem
Hello, I wrote a theora video encoder based on etheora (and the examples provided with it) for Processing IDE (processing.org). I have some problem with the quality of encoded frames. eg. http://poux.be/tmp/movie.ogg And when I play the movie with mplayer or totem, the video resolution is changed from 640x480 to 854x480 (when i use ETHEORA_ASPECT_NORMAL in etheora_enc_setup). And if I try to
2004 May 20
0
theora header bitmap for alpha3
...| | FRD: fps_denominator | 24-27 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PARN: aspect_numerator | 28-31 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PARD: aspect_denominator | 32-35 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CS: colorspace| NOMBR: target_bitrate | 36-39 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | QUAL | KFGSHIFT| PF| resv|...
2005 Nov 03
1
CPU usage while encoding...
...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 = 0; ti.quick_p = 1; ti.keyframe_au...
2005 Sep 07
1
encoder settings
...ht = 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; videostream->ti.quick_p = 1; videostream->ti.keyframe_auto_p = 1; videostream->ti.keyfr...
2005 Oct 05
1
Simple encodig sample...
...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 = 0; ti.quick_p = 1; ti.keyframe_auto_p...
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...eight; double fps; @@ -123,6 +127,9 @@ this->video_bitrate=0; this->audio_quality=0.297;// audio quality 3 this->audio_bitrate=0; + this->smoothness=0; + this->keyint=64; + this->noautosync=0; this->force_input_fps=0; this->aspect_numerator=0; this->aspect_denominator=0; @@ -150,6 +157,21 @@ int64_t frame_number=0; double fps = 0.0; + /* 20041216/DK variables that help us keep track of A/V sync */ + double v_pts_out = 0.0; + double v_pts_in = 0.0; + double a_pts_out = 0.0; + double v_pts_delta = 1e99; + double v_pts_delta_new = 0.0; + double a_pts_delt...
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.