Displaying 20 results from an estimated 400 matches similar to: "Calculating vorbis packet durations..."
2013 Oct 07
0
Dahdi incoming call detection and hangup detection durations.
Hi,
I've set an Asterisk 11 box with a TDM400 board and Dahdi 2.7.0.1.
I've connected an FXS port to an FXO one and issued a couple of channel
originate command to measure the duration Asterisk/Dahdi needs to detect a
dahdi call is coming in.
Basically, using EPOCH variable, I'm reading a 2 or 3s duration with the
followinf AEL2 dialplan:
context remote {
s => {
if
2006 Jun 12
1
cumulative time durations of specified periods (chron)
Hi,
Say we have two chron vectors representing start and end date/times of an
event, respectively:
R> (xfrom <- chron(seq(1.25, 11, 3.25)))
[1] (01/02/70 06:00:00) (01/05/70 12:00:00) (01/08/70 18:00:00)
[4] (01/12/70 00:00:00)
R> (xto <- chron(as.numeric(xfrom) + seq(1.5, 2.25, 0.25)))
[1] (01/03/70 18:00:00) (01/07/70 06:00:00) (01/10/70 18:00:00)
[4] (01/14/70 06:00:00)
and we
2010 Oct 26
2
Formatting durations
Hi,
I am working with a dataset for sometime and I need some help in parsing
some data.
There is a column called "Duration" which has data like following:
2 minutes => 120
2 min => 120
10 seconds =>10
2 hrs =>7200
2-3 minutes => 150 or 120
5 minutes (when i arrived => 300
Flyby approx 20 sec. => 20
felt like 10 mins but tim => 600
I need to convert them to
2009 Nov 11
1
How to control DTMF tone duration on Zap channels?
Hi,
I am using zap channels, and by using sendDTFM application, I can control
the duration between two DTMF digits, but I can't find a way to control the
duration of the digits themself. Did search on the Internet and found out
that I can change it in the asterisk source files and recompile asterisk.
Wiki also says that it can be controlled using toneduration option in
zapata.conf, but it
2008 Jun 06
2
Finding out the duration of an Ogg stream
Hello people!
I'm developing a Java Ogg media player applet and I have encountered a
problem while creating a progress bar. I need to know how long, in
samples or seconds, the Ogg stream that I'm playing is, and I need to
know it before I have downloaded the entire stream. Problem is, I don't
see how I could do that.
I could provide a "duration" argument, but that would
2006 May 24
1
multiple destinations in duration (survival) analysis
Hi,
I'm trying to estimate a (parametric) competing risks model in the context
of duration (or survival, if you wish) analysis. That is, instead of
studying the transition of subjects to "death", I wish to study the
transitions to multiple *destinations* (which is different from studying
multiple *durations*, or recurrent events). I am more interested in the
hazard function rather
2008 Aug 15
1
Vectorization of duration of the game in the gambler ruin's problem
Hey fellas:
In the context of the gambler's ruin problem, the following R code obtains the mean duration of the game, in turns:
# total.capital is a constant, an arbitrary positive integer
# initial.capital is a constant, an arbitrary positive integer between, and not including
# 0 and total.capital
# p is the probability of winning 1$ on each turn
# 1-p is the probability of loosing 1$
# N
2012 Feb 27
0
Correct call duration when transfer a call
Hi.
I am new to asterisk.
I have an ivr application with asterisk and voiceglue. I make a call from
asterisk (say to A) and when callee press a button voiceglue transfer the
callee to another number (say to B). When I look cdr records the billsec
between A and B always 0 and billsec with A shows the billsec for A and B.
I am confused. Is there a reliable way to get the real call durations?
Best
2007 May 31
1
Passing call duration to an AGI Script
Hi,
I'm trying to find a way of passing the actual call duration (something like
ANSWEREDTIME) to an AGI
script that runs periodically during a call. Any ideas?
Thanks,
Adi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070531/115b0aee/attachment.htm
2008 Apr 10
1
Reg: Finding Duration of OGA file
Hi
How do I find the duration of a OGA file programmatically ? Please let me
know .
thanks
kiran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/ogg-dev/attachments/20080410/fe746979/attachment-0001.htm
2008 Jun 06
0
Finding out the duration of an Ogg stream
\On 6-Jun-08, at 1:21 PM, Jon Kristensen wrote:
> Do you know a way that I could get around this somehow? Maybe some
> header data that I have missed?
No, you didn't miss anything. Ogg is designed to always be
streamable, so the only way to get the duration is to look at the end
of the stream.
> If not, what is the easiest way to check the numbers of samples?
It's a bit
2007 Aug 23
2
How to get the duration of a file or track?
I'm starting with the theora player_example.c. I want to be able to
determine the duration of the audio/video ahead of time, to be able to
display it somewhere.
I can't see anything obvious in ogg.h, theora.h, or vorbis.h for this.
Can anyone help me with the right place to look to do this?
Thanks,
Ken Larson
FMJ project, fmj.sourceforge.net
2016 Dec 31
3
[ogg-dev] comment writing in opus / liboggz
On 31 December 2016 at 14:03, Timothy B. Terriberry <tterribe at xiph.org> wrote:
> Ian Malone wrote:
>>
>> out, due to the Opus pre-seek, I think. Fixing that probably requires
>> adding an Opus-specific metric to liboggz, since the current default
>> linear one doesn't deal with first granule position being set. Thought
>> I'd check before getting
2004 May 14
2
Timestamps...
Since we've been debating the merits of start or end timestamping... i'm
curious why the page doesn't have both stamps ?
That would solve the problems for all parties wouldn't it ?
It's not like the overhead is huge... less than 0.1%... so on the average
audio file thats 5 megs.... it's a 5k increase, which pretty much
insignificant. Even on a 1gig video file it's
2009 Mar 30
3
Encoding multiple tiny audio files
Hi all,
I want to make a static database containing hundreds of thousands of very
short audio files, each having not more than 100 milliseconds. These are made
by splitting larger audio files into tiny pieces.
I encode all the little files separately, but do not store 3 vorbis header
packets, which are the same for all the files. I do not use ogg stream, only
store plain vorbis packets.
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
2012 Mar 29
1
Adding duration (hh:mm:ss)\Converting factor column into duration class
Hi All,
I have a data frame:
Time1 Time2
1 176:46:10 41:48:06
2 171:28:57 61:19:10
3 178:25:15 34:05:35
4 74:04:20 25:01:55
5 136:11:20 37:59:32
6 138:17:17 30:22:27
7 183:04:48 29:25:02
8 179:35:01 19:29:44
> str(df)
'data.frame': 8 obs. of 2 variables:
$ Time1: Factor w/ 583 levels
2004 Apr 15
1
Granule pos bug ?
After trying to find out what to do when no packets complete on a page... i reread the ogg spec and found this...
"A special value of -1 (in two's complement) indicates that no packets finish on this page."
So i searched through a few files and it appears that the muxer doesn't do this... has this been depracated ? In all cases i can find that this happens the page has the same
2017 Dec 07
2
[PATCH 0/2] libopusfile int64 overflows
On Tue, Nov 28, 2017 at 3:22 PM, James Zern <jzern at google.com> wrote:
> On Mon, Nov 20, 2017 at 1:07 PM, James Zern <jzern at google.com> wrote:
>> Just an attempt to avoid overflows with an explicit check, I don't know if
>> there's a better way to identify corrupt input here.
>>
>> James Zern (2):
>> op_pcm_seek: fix int64 overflow
2010 Oct 06
7
Passing a hash from the model to the view
I''m trying to display a drop-down menu by using an instance variable
from a model.
THIS WORKS...
<div class="field">
<%= f.label :duration %><br />
<%= f.select ("duration", {"30 minutes" => "30", "1 hour" => "60"},
:prompt => "Select") %>
</div>
THIS DOESN''T