search for: opus_packet_get_nb_samples

Displaying 10 results from an estimated 10 matches for "opus_packet_get_nb_samples".

2013 Nov 29
2
Please help me decode this webrtc chrome conversation
...he SDP requests and RTP packets into files. Then I made a java decoder based on jitsi. Although the files contain all the needed info: encription keys, codec info, timestamps, etc., I could only decode one side in one of 2 conversations. For example, the RTP payload is decrypted successfully, but opus_packet_get_nb_samples() or opus_decode() return OPUS_INVALID_PACKET. payload-0.dat , contains my real voice. Decoded successfully. https://docs.google.com/file/d/0B40Hp1Tx6I6eaHJaRjBKY1M0WnM/edit payload-1.dat , contains looped beep recorded with a virtual microphone. While recording I was hearing it, but I can't...
2013 Nov 29
1
Please help me decode this webrtc chrome conversation
..._samples() on 1st packet returns reasonable number 960, but then opus_decode() fails. On Fri, Nov 29, 2013 at 11:39 PM, Jean-Marc Valin <jmvalin at jmvalin.ca>wrote: > On 29/11/13 01:49 PM, Ilya Basin wrote: > > For example, the RTP payload is decrypted successfully, but > > opus_packet_get_nb_samples() or opus_decode() return > > OPUS_INVALID_PACKET. > > Are you sure you didn't forget to strip the RTP header before decoding it? > > Jean-Marc > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opu...
2013 Nov 29
1
Please help me decode this webrtc chrome conversation
On 29/11/13 01:49 PM, Ilya Basin wrote: > For example, the RTP payload is decrypted successfully, but > opus_packet_get_nb_samples() or opus_decode() return > OPUS_INVALID_PACKET. Are you sure you didn't forget to strip the RTP header before decoding it? Jean-Marc
2017 Feb 10
2
Adding a decoder fuzz target
...;jmvalin at jmvalin.ca> wrote: > Hi Felicia, > > Here's a few comments/questions on your patch: > > > static void ParseToc(const uint8_t toc, TocInfo *const info) { > > Any particular reason you don't use the Opus functions for parsing the > ToC? It seems like opus_packet_get_nb_samples(), > opus_packet_get_bandwidth(), and opus_packet_get_nb_channels() should do > the trick. > > > int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) > > How is that function supposed to work? I noticed that it will only > decode a single packet. How does the fuzzer...
2017 Jan 27
3
Adding a decoder fuzz target
Hi all, I'm working on fuzzing Opus with OSS-Fuzz and have started with the decoder. Attached is a patch to add the corresponding fuzz target. Please let me know if there are any concerns? Thanks, Felicia -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xiph.org/pipermail/opus/attachments/20170127/f69951aa/attachment-0001.html>
2012 Dec 06
0
Opus 1.0.2 is out
...EC for packets with multiple Opus frames - Hybrid mode quality improvements and fixes - Fixed bugs in the CELT mode PLC - Redundant mode transition fixes Other changes - Stack reduction - Doc fixes (many) - 16-bit fixes - Misc build fixes - New API calls: OPUS_GET_LAST_PACKET_DURATION ctl() and opus_packet_get_nb_samples() - Minor code cleanup As usual, this release is fully compliant with the Opus specification. Cheers, Jean-Marc
2013 Nov 29
0
Please help me decode this webrtc chrome conversation
...e() fails. > > > On Fri, Nov 29, 2013 at 11:39 PM, Jean-Marc Valin <jmvalin at jmvalin.ca > <mailto:jmvalin at jmvalin.ca>> wrote: > > On 29/11/13 01:49 PM, Ilya Basin wrote: > > For example, the RTP payload is decrypted successfully, but > > opus_packet_get_nb_samples() or opus_decode() return > > OPUS_INVALID_PACKET. > > Are you sure you didn't forget to strip the RTP header before > decoding it? > > Jean-Marc > >
2017 Jan 30
0
Adding a decoder fuzz target
Hi Felicia, Here's a few comments/questions on your patch: > static void ParseToc(const uint8_t toc, TocInfo *const info) { Any particular reason you don't use the Opus functions for parsing the ToC? It seems like opus_packet_get_nb_samples(), opus_packet_get_bandwidth(), and opus_packet_get_nb_channels() should do the trick. > int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) How is that function supposed to work? I noticed that it will only decode a single packet. How does the fuzzer handle testing for bugs that only...
2017 Feb 10
0
Adding a decoder fuzz target
...rote: > > Hi Felicia, > > Here's a few comments/questions on your patch: > > > static void ParseToc(const uint8_t toc, TocInfo *const info) { > > Any particular reason you don't use the Opus functions for parsing the > ToC? It seems like opus_packet_get_nb_samples(), > opus_packet_get_bandwidth(), and opus_packet_get_nb_channels() should do > the trick. > > > int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) > > How is that function supposed to work? I noticed that it will only > decode a single packet...
2018 Mar 22
1
Using FEC
Hi, I'm trying to use the FEC feature. I have a service which does the encoding with OPUS_SET_INBAND_FEC(1) and OPUS_SET_PACKET_LOSS_PERC(20) with 10ms packets. I'm not clear on the decoding process though. 1- When a packet is lost, do I need to call decode with fec=1 ONLY or do I need to call decode with fec=0 after as well? 2- How do I know up front the size of the pcm that I send to