search for: bps

Displaying 20 results from an estimated 409 matches for "bps".

Did you mean: bp
2003 Jun 07
3
Bandwidth measurement tool: bmtools
...eally_ uses, or seeing what your total usage is between two IAX hosts, or pretty much anything that requires live examination of ethernet segment traffic. http://s-tech.linux-pl.com/bmtools/ [root@ms1 bmtools-0.71]# ./rate -r 1 -f 'host 10.0.1.3 and not port ssh' -> Currently 263.05 Bps/3.01 pps, Average: 263.05 Bps/3.01 pps -> Currently 2706.00 Bps/17.00 pps, Average: 1486.97 Bps/10.02 pps -> Currently 588.00 Bps/6.00 pps, Average: 1186.92 Bps/8.68 pps -> Currently 440.00 Bps/4.00 pps, Average: 1000.00 Bps/7.51 pps -> Currently 440.00 Bps/4.00 pps, Average: 887.91 Bps...
2014 Jun 19
5
[PATCH] stream_encoder : Improve selection of residual accumulator width
...19, 2014 at 03:30:22PM +0400, lvqcl wrote: > BTW, what can you say about the following place in stream_decoder.c > in read_subframe_lpc_() function: > > /*@@@@@@ technically not pessimistic enough, should be more like > if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1) << 32) ) > */ > if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32) > > Is it really "not pessimistic enough"? Can it be changed similarly to your patch...
2014 Jun 19
2
[PATCH] stream_encoder : Improve selection of residual accumulator width
...to spare, can you please > consider compiling flac from git with the attached patch and see if > you have any files that fail with "flac -t" ? > > With the known problem file (snippet6.wav) encoded by 1.3.0 it prints > this: > > WARNING: residual -11025151 wider than bps 24 > WARNING: residual 41873263 wider than bps 24 > WARNING: residual -67175215 wider than bps 24 > WARNING: residual 69950995 wider than bps 24 > WARNING: residual -67108864 wider than bps 24 > ... > WARNING: residual 11227392 wider than bps 24 > WARNING: residual -8754288 wid...
2003 Jun 28
1
IAX2 trunking: codec bandwidth comparison notes and results
...results in a public forum. Experiment notes and methods: ------------- - Raw figures below are bi-directional, meaning that the numbers include both incoming/outgoing voice traffic. "Cooked" figures are included in parenthesis - raw numbers were divided by two and turned into kbps for your ease of reading. Packets per second not cooked, and that is left as an exercise to the reader. - Phones were Cisco 7960 devices - Calls were bi-directional with audio, using the same recording at the PSTN side, and my use of the word "blah" repeatedly spoken into the 79...
2014 Jun 19
7
[PATCH] stream_encoder : Improve selection of residual accumulator width
In the precompute_partition_info_sums_ function, instead of selecting 64-bit accumulator when the signal bps is larger than 16, revert to the original approach based on partition size, but make room for few extra bits to not overflow with unusual signals where the average residual magnitude may be larger than bps. It slightly improves the performance with standard encoding levels and 16-bit files as the...
2014 Aug 14
1
Encoder example for 24-bit files
On Thu, Aug 14, 2014 at 12:34 PM, lvqcl <lvqcl.mail at gmail.com> wrote: > Jose Pablo Carballo <jose.carballo at ridgerun.com> wrote: > >> - channels = 2; >> - bps = 16; >> + channels = ((unsigned)buffer[23] << 8) | buffer[22]; >> + bps = ((unsigned)buffer[35] << 8) | buffer[34]; >> total_samples = (((((((unsigned)buffer[43] << 8) | buffer[42]) << 8) >> | buffer[41]) << 8) | buffer[40]) / 4; >> &gt...
2004 Dec 27
0
Ingress question with sub classes
...ses thus allowing me to implement 3. . Therefore I added the lines with ''===>>'' . I clearly did something wrong cause it doesn''t compile :( Can anyone explain me how to implement 3. ? kind regards, Pieter $intDev = "adsl0"; // in bps (bits per second) $maxUpstream = 2048000; $maxDownstream = 2048000; // Internet device dev $intDev { // outgoing traffic egress { /* classification */ // very interactive class (<$group1>) //VPN Protocols if ip_proto == 50...
2014 Jun 19
0
[PATCH] stream_encoder : Improve selection of residual accumulator width
On Thu, Jun 19, 2014 at 03:30:06PM +0200, Miroslav Lichvar wrote: > But, as we have seen with unusual data the residual signal can be > wider than bps. The FLAC format specification doesn't seem to mention > this. Should it be treated as a valid FLAC stream? I think it would be interesting to know how common are such streams. I patched flac to print a warning on decoding or testing when this is detected, but didn't find any files with...
2014 Mar 20
2
Wrong warning in encoder for 24bits WAV
Hi Guys, I've just faced a wrong warning trying to encode a 24 bits WAV file if(wFormatTag == 1) { if(bps != 8 && bps != 16) { if(bps == 24 || bps == 32) { /* let these slide with a warning since they're unambiguous */ flac__utils_printf(stderr, 1, "%s: WARNING: legacy WAVE file has format type %u but bits-per-sam...
2014 Aug 14
6
Encoder example for 24-bit files
Hi, In the last days I've been taking as reference the example found in examples/c/encode/file/main.c. With it I've been able to encode a 2ch, 16 bps, 44100 sample rate input WAV file to a FLAC file. Now I've been trying to modify this example to encode a 2ch, 24 bps, 96000 sample rate WAV file. I have to say I'm a bit lost on how I should read the input file in this case, and how should I pack the data to feed the encoder. Any guidance...
2003 Jul 08
0
codec problems with asterisk
...eak. i believe this problem is a codec problem as far as i can see we use ulaw across the board, the 5300 currently supports 12 different codecs however asterisk only like too work with ulaw or alaw it tends to not except the call if the other codecs are used. clear-channel Clear Channel 64000 bps g711alaw G.711 A Law 64000 bps g711ulaw G.711 u Law 64000 bps g723ar53 G.723.1 ANNEX-A 5300 bps g723ar63 G.723.1 ANNEX-A 6300 bps g723r53 G.723.1 5300 bps g723r63 G.723.1 6300 bps g726r16 G.726 16000 bps g726r24 G.726 24000 bps g...
2011 Apr 02
2
[Bug 712] New: iptables-save does not save correcly rateest bps parameter
http://bugzilla.netfilter.org/show_bug.cgi?id=712 Summary: iptables-save does not save correcly rateest bps parameter Product: iptables Version: unspecified Platform: x86_64 OS/Version: Debian GNU/Linux Status: NEW Severity: normal Priority: P5 Component: unknown AssignedTo: netfilter-buglog at li...
2014 Jun 30
2
Residual bps and encoding speed
I changed the condition in *_precompute_partition_info_sums_*() functions from if(bps <= 16) to if(FLAC__bitmath_ilog2(default_partition_samples) + bps < 32) and then changed the 'subframe_bps' argument of find_best_partition_order_() in evaluate_fixed_subframe_() and evaluate_lpc_subframe_() as follows: evaluate_fixed_subframe_(): evaluate_lpc_subframe_(...
2010 Jul 14
1
[patch] Decoding non 8/16/24 bps audio to raw format should fail cleanly
...callback before realising that it doesn't know how to write the data. It then fails with an unhelpful message (or trips an assert() in debug mode). The attached patch performs the check earlier, and gives a more helpful error message. Kind regards, Christopher Key #v+ # metaflac --show-bps data_20bps.flac 20 #v- without patch: #v+ # flac -dc --force-raw-format --sign signed --endian little data_20bps.flac flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribu...
2014 Jul 02
0
Residual bps and encoding speed
lvqcl wrote: > I changed the condition in *_precompute_partition_info_sums_*() > functions from > if(bps <= 16) > to > if(FLAC__bitmath_ilog2(default_partition_samples) + bps < 32) > > and then changed the 'subframe_bps' argument of find_best_partition_order_() > in evaluate_fixed_subframe_() and evaluate_lpc_subframe_() as follows: > > evaluate_fixed_subf...
2015 Apr 20
2
About a comment in stream_decoder.c
I don't understand the comment in src/libFLAC/stream_decoder.c: /*@@@@@@ technically not pessimistic enough, should be more like if( (FLAC__uint64)order * ((((FLAC__uint64)1)<<bps)-1) * ((1<<subframe->qlp_coeff_precision)-1) < (((FLAC__uint64)-1) << 32) ) */ if(bps + subframe->qlp_coeff_precision + FLAC__bitmath_ilog2(order) <= 32) see http://git.xiph.org/?p=flac.git;a=commitdiff;h=8534bbe4e92300609fd6dc289d882130b69d48cd First, I suspect tha...
2004 Jun 28
0
fairnat with squid + Squid with ZPH
...TE=$2 PC_USER_RATE=$3 PC_USER_CEIL=$4 PC_LOCAL_RATE=$5 PC_LOCAL_CEIL=$6 # Root QDisc: $BIN_TC qdisc add dev $PC_DEV root handle 1: htb default 3 # Main (fat) device class: $BIN_TC class add dev $PC_DEV parent 1: classid 1:2 \ htb rate $(($PC_RATE))bps ceil $(($PC_RATE))bps \ quantum $DEV_NET_MTU $HTB_OPT # Local traffic class with lower prio: $BIN_TC class add dev $PC_DEV parent 1:2 classid 1:3 \ htb rate $(($PC_LOCAL_RATE))bps ceil $(($PC_LOCAL_CEIL))bps \ quantum $DEV_NET_MTU $HTB_...
2013 Jul 21
3
exhaustive-model-search issue results in multi-gigabyte FLAC file
Miroslav Lichvar wrote: > On Wed, Jul 17, 2013 at 07:45:53PM +1000, Erik de Castro Lopo wrote: > > The fix was changing one local variable from FLAC_uint32 to FLAC_uint64 > > in function precompute_partition_info_sums_(). > > > > https://git.xiph.org/?p=flac.git;a=commit;h=6f7ec60c7e7f05f5ab0b1cf6b7b0945e44afcd4b > > I don't like this fix. It will
2007 Dec 15
1
hfsc and bps
Hi! Do you know somthing about hfsc and bps? There''s no output for speed only for packets. Doesn''t hfsc support such a field? tc -s class show dev eth0 class hfsc 1: root Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 period 0 level 2 class hfsc 1:11 parent 1:1 sc m1...
2014 Jun 30
2
[PATCH] stream_encoder : Improve selection of residual accumulator width
...-l 0 seems to avoid the encoding problem too. > > And indeed, max. possible residual value is 16 times bigger than max. value > > in data[] array: > > > > residual[i] = data[i] - 4*data[i-1] + 6*data[i-2] - 4*data[i-3] + data[i-4] > > > > 16 == 2^4, so max. bps value for residual[] is equal to max. bps for data[] + 4. > > The value of FLAC__MAX_EXTRA_RESIDUAL_BPS == 4 is enough to fix this problem > > with FLAC__fixed_compute_residual(). > > > On the other hand, it is possible to set FLAC__MAX_EXTRA_RESIDUAL_BPS > to 0, and chang...