Displaying 20 results from an estimated 5000 matches similar to: "Encoding/Decoding doubts"
2009 Nov 18
2
jspeex question
The link is http://www.adobe.com/devnet/rtmp/. TC Message stands for TinCan message. It is 11 bytes long, first byte is message type, three bytes of payload length four bytes of timestamp and three bytes of stream ID.
The first byte of the payload for audio message is the format byte and the rest of the byte is the payload.
Jozsef
----- Original Message ----
From: Jeff Ramin <jeff.ramin
2009 Nov 18
3
jspeex question
FLV contains TC messages? TC message payload contains a format byte and speex frames (up to eight). In the format byte 0xb0 indicates speex. Speex is always 16 kHz, 16 bit, mono.
Jozsef
Message: 1
Date: Mon, 16 Nov 2009 14:40:20 -0600
From: Jeff Ramin <jeff.ramin at singlewire.com>
Subject: [Speex-dev] jspeex question
To: speex-dev at xiph.org
Message-ID: <4B01B8B4.8020904 at
2010 Mar 19
4
Speex in flash player: how to work with?
Nicer way:
void* speexState = speex_encoder_init(&speex_wb_mode);
int speexFrameSize, speexRate;
speex_encoder_ctl(speexState, SPEEX_GET_FRAME_SIZE, &speexFrameSize);
speex_encoder_ctl(speexState, SPEEX_GET_SAMPLING_RATE, &speexRate);
SpeexPreprocessState* speexPreprocessState = speex_preprocess_state_init(speexFrameSize, speexRate);
Jozsef
-----Original Message-----
From: Max
2009 Jul 12
0
Encoding/Decoding doubts
Hi,
I'm doing a VoIP related project where at some point i need to decode speex
data gathered from a flash client, and then encode it to ulaw or alaw pcm so
i can send it in rtp packets.
On the other way, i get rtp packets with ulaw and alaw pcm data, then i need
to decode them to linear pcm and feed the speex encoder, so i can send the
data to the flash player.
I'm using JSpeex, i know
2009 Nov 18
0
jspeex question
Thanks for the help folks, but I got this working a couple hours ago. =)
I'm quite please after struggling with it for a few days.
I just needed to take each audio tag from the FLV file and feed the contents
of the tag (except for the first byte) to the jspeex decoder and write the
results to a file.
Jozsef - it is possible to specify 8KHz in the flash client and decode it as
such. Speex
2004 Aug 06
2
frame size
hello,
i have a simple question about speex frame size.
i work with jspeex - but i think it's speex generic, the question i have.
can i use any frame size i want? or does the size have be in a certain
ratio to other numbers? and what does the frame size in the decoder
mean? encoded or decoded packet frame size?
how much data can i hand to the encoder to encode?
if i hand i.e. 400 bytes to
2010 Mar 28
3
Need help in speex..
Hi
I am using Jspeex for my project which requires compression of audio in
realtime..so far i managed to capture sound using java's sound.The capturing
format i use is 8 bit 8khz ,stereo pcm.The captured sound is buffered and
fed to encoder.Its fed to decoder,whose output is again buffered for
sometime.But when i try to play it back i could hear sound only in right
channel.Left channel is
2004 Aug 06
2
speed and memory
hello,
i switched to use the encoder.processData() and
encoder.getProcessedData() of jspeex. however it looks to me like a
memory leak ... memory usage is increasing very fast and there is no
visible stop ... after about five minutes java.lang.OutOfMemory occurs.
I think it must be the jspeex component, because before i added jspeex
to my app usage was constant at about 5mb.
is it possible
2010 Mar 30
1
Need help in speex..
Hi, Vipin,
What you're going to want to do here is convert your 8-bit stereo
samples into 16-bit mono samples and back again when you're done(*).
What you are actually doing here, it sounds like, is feeding 2 8-bit
mono samples into Jspeex, which expects 16-bit mono. So, the
most-significant-byte is in the right channel, and more or less gets
encoded/decoded properly, but the
2010 Mar 19
2
Speex in flash player: how to work with?
First of all, Flash Player can only publish Speex at 16 kHz. 20 ms of audio (320 samples) will result in compressed payload size of 106 bytes (42.4 kbps). When Flash Player sends a TC message, there is 11 bytes TC message header and a single byte of audio message header.
For more information, please see ActionScript 3 reference http://help.adobe.com/en_US/AS3LCR/Flash_10.0/
Jozsef
2010 Mar 31
1
Speex in flash player: how to work with?
What are you trying to accomplish? My code sample was about how Flash Player microphone input in speex.
If you want to do decode, please see speexdec.c
Jozsef
-----Original Message-----
From: Max Lapshin [mailto:max.lapshin at gmail.com]
Sent: Tuesday, March 30, 2010 8:53 AM
To: Jozsef Vass
Cc: speex-dev at xiph.org
Subject: Re: [Speex-dev] Speex in flash player: how to work with?
On Sat, Mar
2009 Nov 18
0
jspeex question
Is there a document somewhere that describes speex-encoded FLV files?
What is a TC message?
Thanks.
Jozsef Vass wrote:
> FLV contains TC messages? TC message payload contains a format byte and speex frames (up to eight). In the format byte 0xb0 indicates speex. Speex is always 16 kHz, 16 bit, mono.
>
> Jozsef
>
>
> Message: 1
> Date: Mon, 16 Nov 2009 14:40:20 -0600
>
2008 Apr 12
2
newbie qs - can one implement speex for Google Android?
Anil Philip <goodnewsforyou at yahoo.com> wrote: see http://code.google.com/android
It would be good of members from here will step in and offer google help to implement speex.
Without exaggeration, android will transform the mobile world.
Ivo Emanuel Gon?alves <justivo at gmail.com> wrote: On Fri, Apr 11, 2008 at 10:58 PM, Anil Philip wrote:
> I recommended in a bug report that
2010 Nov 09
3
herky-jerky audio
Just an update, and a follow-up question:
I'm making progress on this issue, and will likely have something working
very soon, now that I understand how the jspeex transcoding classes work.
Unfortunately, I will need to make a couple small changes to the jspeex
source code.
My question is - is anybody using jspeex for streaming speex-encoded audio?
It works great for static audio, but seems
2009 Jul 15
1
Speex header
so, having a speex frame, how do i know where is each sample if i don't know
how many bits per sample are being used. Isn't there any info besides the
data ?
On Wed, Jul 15, 2009 at 7:21 PM, Alexander Chemeris <
Alexander.Chemeris at sipez.com> wrote:
> Hi,
>
> Speex RTP payload does not have any header (except RTP header),
> as per speex-rtp RFC.
>
> On Wed, Jul
2007 Jun 13
1
Re: Speex-dev Digest, Vol 37, Issue 19
I found the details: 44100hz, 16bits, stereo
I am looking at rewriting the program to record at
8Khz/16Khz/32Khz mono
only
should I record at 44100hz (and convert down) or
record at the required hz
level?
----- Original Message -----
From: <speex-dev-request@xiph.org>
To: <speex-dev@xiph.org>
Sent: Thursday, June 14, 2007 3:44 AM
Subject: Speex-dev Digest, Vol 37, Issue 19
>
2010 Oct 28
2
transcoding G.711 (u-law) to Speex
Hi folks.
The jspeex library has classes for converting speex to pcm and
vice-versa. I also
have other code that converts from G.711 to pcm (and vice-versa).
I want to transcode G.711 to speex, using an input stream. Can I
accomplish this
in one step, or must I go G.711 -> PCM -> Speex? If possible in one
step, is there
some example code I could look at for reference?
Thanks!
--
Jeff
2010 May 03
1
Help decompressing Speex audio
I have an audio file compressed by JSpeex that I'm trying to decompress on the iPhone. I've been trying to work from the speexdec example in an attempt to port the core logic to ObjC. I have a class that does the decode and passes the result back to another class. (currently the other class is a unit test.) My other class is writing the converted output to disk. I compare the results of my
2008 Apr 12
1
newbie qs - can one implement speex for Google Android?
Conrad Parker schrieb:
> so perhaps patching the build to include libspeex is not technically
> difficult. Of course it'd make more sense to access libspeex through
> VoIP apps than just through the generic MediaPlayer interface.
>
Even if they included Speex support, the Android media API is very
limited, as it can only access audio from a file or an HTTP URL. I
raised a bug
2004 Aug 06
1
Real-time JSpeex coding
Hi,
Is real-time possible with the current java-based JSpeex for real-time
full duplex voice communication?
If yes, can you please also provide some details of the Wintel (Windows
on Intel) specifications that you have used to achieve that, and perhaps
the JSpeex encoding/decoding specs used?
Thanks.
Cheers,
Jo Yew
Everyone should have a big dream and live a meaningful life to its