similar to: opus_encode

Displaying 20 results from an estimated 900 matches similar to: "opus_encode"

2016 Nov 10
1
Error running opus encoder/decoder under PIC32
I'm new using OPUS and I've implemented the OPUS lib under PIC32MZ, using the MIPS configuration. It compiles correctly and it seems that all the procedures invoked returns no error. However, when I excite the encoder with a pure 1 kHz tone, the encoding/decoding procedure returns al the samples to silence (the buffer is filled with 0x8001 or 0x7fff). The configuration is 48000 sps, 64kHz
2016 Sep 22
1
OPUS_STEREO
Hi I am using opus_demo binary to test 48KHz Stereo file, i used below arguments to encode and decode. ./opus_demo -e audio 48000 2 48k_stereo.pcm stereo.opus ./opus_demo -d 48000 2 stereo.opus stereo.pcm After decoding i found that both left and right channels are identical, even input stereo file channels are differential in gain. 1. Is this the expected behavior of OPUS CODEC, if yes then
2016 Dec 30
1
Opus_Repacketiser_Issue
Hi All, I have taken ITU standard 48KHz female voice file and Encoded using opus_demo by giving follwoing arguments. opus_demo -e audio 48000 1 32000 female1.pcm female1frame.opus And using repacketiser tried to pack 6frames/packet(6*20msec=120msec). While packing I observed below error for 3 times. Error: opus_repacketizer_cat() failed: corrupted stream when i inspect the encoded file, it
2012 Oct 25
2
WAVE PCM to OPUS and back
Hello, I have an p2p voice chat application using WAVE PCM (winmm). Now i am trying to add opus encoding to it to send it over the TCP/IP and then decoding it back to play - but without success (without opus it works ok) Here is an example of my code. I get message from input device then encode with opus then decode it back to output wave header and play. Doing it i hear only noise in my
2018 Jun 29
1
OPUS on cortex M4
Hi everybody I wrote a couple of months ago about implementing the opus codec on a DK52 from Nordic (nrf52832 MCU, Cortex M4). In the meantime I got a bit further and would again like to ask some questions. My settings: I included all the opus files into my project (opus-1.2.1) Defined: FIXED POINT, VAR_ARRAYS, DISABLE FLOAT API, OPUS_BUILD, CELT_MODE_ONLY I am able to allocate enough memory
2019 Apr 24
1
Opus Requirement for embedded Application
Hello everyone, I tried integrating opus middleware on an STM32L4 microcontroller based project. First thing I noticed is the considerable amount of memory allocated by the opus_encoder_create function (nearly 40 kbytes if I recall). After modifying my project's memory setting (mainly heap size adjustments), I could bypass some aspects of this problems. What I'm noticing now is the time
2013 Oct 06
1
Encoder off by one
If you encode with int iByteSizeEncoded = opus_encode(m_enc, m_ShortsInput, (1920/sizeof(short)), m_EncodedBytes, (960*6)); ... the byte size is 120. I thought that an odd value like 359 has to be a fault on my side. I thought it would be a multiple of something. So 359 is really correct??? Thank you for clearing this up. Am 06.10.2013 16:50, schrieb Jean-Marc Valin: > Why
2016 Jul 12
2
High noise after encoding/decoding procedure
Hello everyone. I have a problem with a high level of noise after opus encoding/decoding procedure. If I stream a raw data from the microphone and send it back to the speakers I hear the clear sound (with a small delay). If I encode each frame, decode it and send it back to the speakers I hear a very noisy signal - it is so large, so it is almost impossible to distinguish words in my speech...
2014 Apr 30
0
1276 Bytes returned by opus_encode
Maybe i found the source of the problem. The basestation is running several threads. One per sending client and one per receiving client. In each thread there is either an opus_encode() or an opus_decode() but there is in total only one OpusEncoder and one OpusDecoder defined which where used in every thread. Now every thread has it own OpusEncoder or OpusDecoder. After 20minutes of audiostreaming
2015 Apr 16
2
Availability of the 1.1.1 stable version
To be decodable by opus_demo, you'll have to add the 8-byte "header". Just put in the length of the packet followed by "0" for the encoder range (0 means "not present"). That being said, from previous experience, the most likely cause of the crash is a bug in your software causing a corruption in Opus. So it's safe to assume that if you can't reproduce
2016 Jul 14
1
High noise after encoding/decoding procedure
Thanks a lot for your tips. What I have to done to debug: got the raw wav-file, compressed/decompressed it on my PC and saved OPUS packets as an array. Moved this array to the embedded platform and made sure that the frames decoded from the OPUS packets are the same. However, the high noise level was the same, but it wasn`t caused by OPUS. The problem was with my sound bus between an embedded
2015 Apr 21
2
Availability of the 1.1.1 stable version
Hi, There is no change in the compiler flags. I'm using as it is from the original code. No change in the Makefile and I believe it is using the floating point only by default. We are using 8k samples and mono so the commands is as follows. [root at MEDIA opus-1.1]# ./opus_demo -d 8000 1 opus_encoded_crash.opus opus_encoded_crash.pcm *And segmentation is as below..*. ............ Calling
2015 Apr 20
1
Availability of the 1.1.1 stable version
Hi, We are able to reproduce the issue with the 1.1 opus_demo (sample file). We captured the frames in our server just before the opus_decode and fed the file to opus_demo (1.1) and it is crashing. Same file is tested with 1.1.1 and it is fine. So this is in line with our server testing observation and I think here we can conclude that the 1.1 library is crashing while handling a specific mode
2015 Apr 21
3
Availability of the 1.1.1 stable version
Red Hat Enterprise Linux Server release 6.4 (Santiago) gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) We see the issue in all our Intel based Linux servers. Thanks Suresh On 21 April 2015 at 12:41, Jean-Marc Valin <jmvalin at jmvalin.ca> wrote: > Still can't reproduce. What OS and compiler version? > > Jean-Marc > > On 21/04/15 02:48 AM, Suresh Thiriveedi
2015 Apr 16
3
Availability of the 1.1.1 stable version
Please provide the input file that produces this with opus_demo. On 16/04/15 03:24 AM, Suresh Thiriveedi wrote: > Hi Jean-Marc, > > Could you please update if you got a chance to look into. As I > mentioned, I don't see the same issue in 1.1.1, but I don't see any > difference in 1.1.1 other than optimization based on the architecture. > This optimization could have
2016 Jun 17
2
Opus Raw Pakcets
Hi, I have application, where I am reciving the RTP packets, which has OPUS payload. >From the RTP packets I got following information: (12 byes Header) tells about the version, payload time, time stamp, srsc, etc. The rest of the packet is OPUS payload (raw format), The TOC byte from OPUS payload tells its 20ms frame, even the time stamp different of 960 means 20 msec frame. Questions: 1)
2018 Jan 15
1
Ask for suggestions about optimizing opus on STM32F407
Hello Thomas and Amit, Thanks for your notice and the detailed decode performance report. I describe the details of my encode/decode test on STM32F407ZG. A. opus version: latest 1.2.1 (TI: opus 1.1.2) B. KEIL 5.23 (TI: ARM compiler tool chain 5.2.7) C. setup the encoder as the below (fs is the sampling frequency) enc = opus_encoder_create(fs, chans, OPUS_APPLICATION_AUDIO, &opus_err);
2016 Jan 07
2
Issue with decoding 8-bit PCM data
Hello All I have successfully run the Opus Decoder for 16-bit WAV files. However when doing the same on 8-bit, the decoder produces noise, but on 16 bit data the output is working. Both the 8 and 16 bit files are from the same source and hence except for some loss of quality on 8 bit, they are identical in total play back duration. For both 8 and 16 bit data I have used the following parameters
2015 Apr 02
2
Question on opus_decoder output sampling rate
Hi, is there any way to tell the decoder the output sampling Fz we want ? opus_decoder_create = Sampling rate of input signal (Hz) Considering this example (VoIP-out from WebRTC/RTP) MICROPHONE(44.1/48kHz) >> [encoder created at 48kHz but with internalSampleRate set to 8kHz]>> INTERNET >> [decoder(created with 48kHz)] >> 48kHz(?) >> G.711(8kHz) This leaves us with
2016 Sep 16
0
Opus DTX support
Hi, I want use opus DTX to save bandwidth in my half duplex VOIP project, so i require help for below questions 1)what is opus DTX and documents to study DTX. 2)if opus DTX is enable do i need send comfort noise or completly drop silence detected frame. 3)How extactly OPUS DTX works with RTP protocol. 4) how to test with OPUS demo binary Thanks & Regards Vittalprasad B R 8722397247