Hi Jian,

My computer is 64 bits before this, so I have changed  it to machine 32 bits . It still give the same result,
FYI I'm using windows.

Thanks for the reply
Aj


On Fri, Apr 4, 2014 at 2:51 PM, JIANG Pin A <Pin.a.Jiang@alcatel-sbell.com.cn> wrote:

Hi, Amir

 

         Is your computer 64 bits?  It may probable caused by compiling it in 64 bits.

 

         I remember I meet segmentation problem as well.

 

I see an ETSI patch folder in the source and try to apply those patches. ( One of them will force to compile them in 32 bits ).

 

Besides, you need to get sdecoder compiled as well and use it after the cdecoder.

        

BRs, Jiang Pin

 

From: tetra-bounces@lists.osmocom.org [mailto:tetra-bounces@lists.osmocom.org] On Behalf Of sebastian.subik@tu-dortmund.de
Sent: 2014
44 14:45
To: Amir Jr
Cc: tetra@lists.osmocom.org
Subject: Re: decoder/encoding tetra sample

 

Hi Amir,

 

Try to run the example within a debugger to identify the exact occurrence of the segmentation fault. 

If I remember correctly, the format is raw PCM, try to open the wav with an audiotool (e.g. Audacity) and save it as raw PCM.

 

Best Regards

Sebastian

--

Sent in haste while not in the office.

 

This cell phone is not a secure line!


Am 04.04.2014 um 06:44 schrieb "Amir Jr" <altobeta@gmail.com>:

I have download one sample from osmocom speech codec http://tetra.osmocom.org/trac/wiki/Speech_Codec. I  have compiled it sucesssfully then the output "ccoder.exe"

 and "cdecoder.exe" have been built. When i try to run the sample exe file using the command line, it show Segmentation fault (core dumped).

 

This is the how i'm running the sample

"./ccoder.exe sample.wav sample2.wav".

 

I'm very confusing about the input and the output file. What is the correct type file for input and the output.

Thank you for any respond

Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.