Displaying 19 results from an estimated 19 matches for "target_bitrate".
2004 Jul 02
4
Encoding paramaters...
I've got my encoder working now... and i put a proeprty page interface to
allow the user to set a few encoding paramters to start off with... but
changing the paramters doesn't seem to make barely any difference...
These are the defaults i'm using...
mTheoraInfo.target_bitrate=400000;
mTheoraInfo.quality=30;
mTheoraInfo.dropframes_p=0;
mTheoraInfo.quick_p=1;
mTheoraInfo.keyframe_auto_p=1;
mTheoraInfo.keyframe_frequency=64;
mTheoraInfo.keyframe_frequency_force=64;
mTheoraInfo.keyframe_data_target_bitrate=mTheoraInfo.target_bitrate*1.5;
mTheoraInfo.keyframe_auto_threshold=...
2004 Oct 02
2
Theora decode problem
...th=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=64;
m_ti.keyframe_frequency_force=64;
m_ti.keyframe_data_targe...
2009 Jul 08
2
Theora 1.1 rate controller
...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. The encoding rates can be adjusted "on-the-fly" during
encoding by adjusting the "target_bitrate" and the "keyframe_target_bitrate"
variables of the "theora_info" structure, but the resulting average bitrate
is largely below the target bitrate desired. Furthermore, the bitrates vary
depending on the amount of motion captured, which is a typical VBR feature.
Here are t...
2007 Jan 23
0
Bitrate expectations for encoding or decoding
...I'm currently working on implementing Theora Video playback for the
Unity engine (http://www.unity3d.com). So far everything works fine,
But I have a small question:
Is there a reliable way to predict what bitrate a stream will have
when encoding or decoding?
Of course, there's the target_bitrate parameter in the Theora Info
structure, but somehow, I always get quite different bitrate results
for my encodings (typically about half as much). Is the quality
parameter ignored when target_bitrate is non-zero? I'd like to have
some idea of what I will get, so I can present the user w...
2010 Jun 14
4
Live Stream Encoding
...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
2005 Aug 04
1
libtheora Bitrate Problem
...rint(atof(optarg)*1000);
if(video_r<45000 || video_r>2000000) {
fprintf(stderr,"Illegal video bitrate (choose 45kbps through 2000kbps)\n");
exit(1);
}
video_q=0;
break;
I assume 'kbps' is Kilobits Per Second (kbit/s) and
*theora_info.target_bitrate* is in Bits Per Second.
If this is true then shouldn't the argument (optarg) be multiplied by
1024 and not 1000? Or does it matter?
Thanks,
Draco
draco@dragonsguild.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/piperm...
2005 Nov 03
1
CPU usage while encoding...
...meters:
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_auto_p = 1;
ti.keyframe_frequency = 64;
ti.keyframe_frequency_force = 64;
ti.keyframe_data_target_bitrate = ti....
2009 Jul 07
1
Estimate bytes per second from th_info-settings
...ytes 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 Feb 09
1
Trying to do windows encoding dll
...nit(&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_threshold=80;
ti.keyframe_mindistance=8;
ti.noise_sensitivity=1;
theora_encode_init(&enc_...
2006 Oct 04
3
Encoding - CPU usage ...
...D64?
- 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.quick_p = 1;
tTheoraInfo.keyframe_auto_p = 1;
tTheoraInfo.keyframe_frequency = 64;
tTheoraInfo.keyframe_frequency_force...
2004 Aug 06
2
buffer size from source to ice/shoutcast
Hello,
I've built my own source for ICE/SHOUTcast, and it works pretty well except for one thing. After tuning into the server and listening for an 60-90 minutes you may hear a song skip ahead 30-90 seconds. I think I know why this is happening but I'mnot sure how to fix it.
I think this is happening because my source is sending a little bit too much data to ICE/SHOUTcast. My formula
2006 Oct 06
0
V4L + Theora small app...
...= 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;
tTheoraInfo.quick_p = 1;
tTheoraInfo.keyframe_auto_p = 1;
tTheoraInfo.keyframe_frequency = 64;
tTheoraInfo.keyf...
2004 Aug 06
0
buffer size from source to ice/shoutcast
...39;s media formats
incidently).
But your algorithm will suffer because sending the data will take a
non-negligible time -
better algorithm is
tart = time();
sent = 0;
while(1){
sent += send_chunk();
delta = time() - start;
my_bitrate = sent *8 / delta;
if(my_bitrate> target_bitrate){
sleep(1); /* (or any short time)*/
}
}
you maybe want to reset the sent/start parameters periodicly.
Scott Manley
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to &...
2004 May 20
0
theora header bitmap for alpha3
...| PARN: aspect_numerator | 28-31
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | PARD: aspect_denominator | 32-35
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| CS: colorspace| NOMBR: target_bitrate | 36-39
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| QUAL | KFGSHIFT| PF| resv| 40-43
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
*/
Conrad.
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepag...
2004 Nov 20
0
ffmpeg2theora start and end time support
...// guess not, commandline option to select colorspace would be the best.
if(this->fps==25)
info.ti.colorspace = OC_CS_ITU_REC_470BG;
else if(abs(this->fps-30)<1)
info.ti.colorspace = OC_CS_ITU_REC_470M;
else
info.ti.colorspace = OC_CS_UNSPECIFIED;
//FIXME: allow target_bitrate as an alternative mode
//only use quality mode for now.
//info.ti.target_bitrate=1200;
info.ti.quality = this->video_quality;
info.ti.dropframes_p = 0;
info.ti.quick_p = 1;
info.ti.keyframe_auto_p = 1;
info.ti.keyframe_frequency = 64;
info.ti.keyframe_frequency_force = 6...
2005 Sep 07
1
encoder settings
...e_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.keyframe_frequency = 16;
videostream->ti.keyframe_frequency_force = 16;
videostream->ti.keyfr...
2005 Oct 05
1
Simple encodig sample...
...i.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 = 1;
ti.keyframe_frequency = 64;
ti.keyframe_frequency_force = 64;
ti.keyframe_data_target_bitrate...
2003 May 04
3
Ogg Vorbis and streaming
Hi. I'd like to ask a little about where Ogg stands today when it comes
to streaming audio.
The VBR has been the main argument in the incompatibility for streaming
but has this changed somehow or will it? Is there something else
besides quick and large scaled bandwith usage variations and the
difficulty of buffering, that could cause problems?
CBR could be used but some people say that it
2004 Dec 19
0
[patch] more ffmpeg2theora improvements
...info.ti.dropframes_p = 0;
info.ti.quick_p = 1;
info.ti.keyframe_auto_p = 1;
- info.ti.keyframe_frequency = 64;
- info.ti.keyframe_frequency_force = 64;
+ info.ti.keyframe_frequency = this->keyint;
+ info.ti.keyframe_frequency_force = this->keyint;
info.ti.keyframe_data_target_bitrate = info.ti.target_bitrate * 1.5;
info.ti.keyframe_auto_threshold = 80;
info.ti.keyframe_mindistance = 8;
info.ti.noise_sensitivity = 1;
+ info.ti.sharpness = this->smoothness;
// range 0-2, 0 sharp, 2 less sharp,less bandwidth
- if(info.preset == V2V_PRESET_PREVIEW)
+ if(inf...