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
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.commailto: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.
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年4月4日 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.commailto: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.
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 itin 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年4月4日 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*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. *
another thing jian
from your comment "you need to get sdecoder compiled as well and use it after the cdecoder"
where to get this sdecoder? i'm only see cdecoder and ccoder compiled only
On Fri, Apr 18, 2014 at 11:29 AM, Amir Jr altobeta@gmail.com wrote:
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 compilingit 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年4月4日 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*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. *
Hi Sebastian.
I have followed your instruction by using audacity app. Then I have export my record voice into WAV(microsoft) 16 bits PCM. It still produced the same result
./ccoder.exe sample.wav sample2.wav
Anything i miss? Thanks for your reply.
Regards aj
On Fri, Apr 4, 2014 at 2:44 PM, sebastian.subik@tu-dortmund.de < sebastian.subik@tu-dortmund.de> wrote:
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. *