decoder/encoding tetra sample

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/tetra@lists.osmocom.org/.

JIANG Pin A Pin.a.Jiang at alcatel-sbell.com.cn
Fri Apr 4 06:51:49 UTC 2014


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 at lists.osmocom.org [mailto:tetra-bounces at lists.osmocom.org] On Behalf Of sebastian.subik at tu-dortmund.de
Sent: 2014年4月4日 14:45
To: Amir Jr
Cc: tetra at 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 at gmail.com<mailto:altobeta at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/tetra/attachments/20140404/4f90d936/attachment.htm>


More information about the tetra mailing list