Hi Zulham, I can repeat your problem under Linux so looks like a bug has crept into the header handling code. I'll log that bug so someone can take a look at it some time.
However this works: $ /c2enc 700C ../../raw/hts1a.raw hts1a.bin $ ./c2dec 700C hts1a.bin hts1a_out.raw Cheers, David On 12/09/19 13:15, dzoelham wrote: > Hello everyone. > I am Zulham. > > I tried to encode the wav file using command /./src/c2enc.exe 700C > ../wav/hts1a.wav hts1a_700.c2 /and I tried to decode it back using > command /./src/c2dec.exe 700C hts1a_700.c2 hts1a.wav/, and there is > error in the output:/ > / > /assertion "nread == sizeof(in_hdr)" failed: file > "/cygdrive/d/SJ/SM1000/codec2-master/src/c2dec.c", line 115, function: main > Aborted (core dumped)/ > / > / > Does codec2 support wav file? > > Best Regards. > Zulham > // > > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
