search for: 6.5ms

Displaying 8 results from an estimated 8 matches for "6.5ms".

Did you mean: 3.5ms
2017 Nov 13
3
Gapless concatenation of Opus frames
Hi Jean-Mark, thank you for your answer! Yes, you understood my question correctly. I was just about to compose a reply to my original question, where I described how I solved my problem. As you've already suggested, I've switched to Ogg/Opus, which is better supported, but does not work with the Media Source Extensions. I'll have a look whether disabling prediction will help with
2017 Nov 16
2
Gapless concatenation of Opus frames
Hi all, I finally understand how lipopusenc is capable of producing chainable Opus files (in contrast to my program), and I managed to successfully implement the method [1]. Essentially, the last frame of a file is marked as a "keyframe" by disabling prediction for this frame in libopus. This encoded keyframe frame is then copied in verbatim to the next file, with the pre-skip set to
2017 Nov 15
2
Gapless concatenation of Opus frames
Hi Jean-Marc (and everyone else who replied), > Considering you're switching to Ogg, I think you should give libopusenc> a try. It does a really good job at getting rid of *all* discontinuities> -- to the point where you can chop a song into files less than one> millisecond each and it still sounds good. It's also pretty simple to> use. You just feed it audio and tell it
2017 Nov 13
0
Gapless concatenation of Opus frames
Hi Andreas, Considering you're switching to Ogg, I think you should give libopusenc a try. It does a really good job at getting rid of *all* discontinuities -- to the point where you can chop a song into files less than one millisecond each and it still sounds good. It's also pretty simple to use. You just feed it audio and tell it where the file boundaries are. Cheers, Jean-Marc On
2017 Nov 16
1
Gapless concatenation of Opus frames
Hi Jean-Marc, thank you for looking into this. I'm using the current release version of libopus (1.2.1) and version 0.1.10 of opus-tools, both built from source. Libopusenc is the current git master. Indeed I cannot hear any glitches in continuous.opus, continuous.wav, and chained.wav. chained.opus decodes just fine with opusdec as well, but doesn't play properly in any standard audio
2017 Nov 16
0
Gapless concatenation of Opus frames
Hi Andreas, So I encoded your file in chunks with a slightly modified version of opusenc_example and I can't hear anything wrong. Maybe there's a problem in the tools you used? I uploaded the files at: https://jmvalin.ca/misc_stuff/continuous.opus (one file) https://jmvalin.ca/misc_stuff/continuous.wav (one file, decoded) https://jmvalin.ca/misc_stuff/chained.opus (many small files)
2017 Nov 16
0
Gapless concatenation of Opus frames
Actually, cross-fading will work even better than what libopusenc does. The reason I did not do it is because the Ogg Opus spec provides a preskip, but no crossfade option. This means you will not be able to get standard players to play your files (which may be OK). BTW, there may be a way to implement what libopusenc does in parallel. All you'd need to do is start each parallel chunk with
2017 Nov 08
4
Gapless concatenation of Opus frames
Hi! Short version of my question: How to produce Opus frames which can be safely concatenated and how to embed them into a WebM file? Long version: I'm currently implementing a web-based audio player which streams audio as opus/WebM using the HTML5 media source extensions. Currently, the server decodes a set of input files to a fixed RAW audio format (stereo, 48000 kHz) and encodes the