Mateusz Koslacz
2015-Jul-08 19:29 UTC
[opus] mjr to opus audio conversion - corrupted results
Hi Mark, Well, so do you think that any of this libraries probably won't provide correct audio conversion? Do you know any other possible solutions for described problems, ommiting trying to fix on my own any of this libraries or waiting for fix? Will you mind if I quote you in disscussion I mentioned? Sorry for asking you so many questions at once. Regards, Mateusz 2015-07-08 17:42 GMT+02:00 Mark Harris <mark.hsj at gmail.com>:> Hi Mateusz, > > The Ogg Opus container does not have explicit per-packet timestamps, > and so doesn't allow gaps in the audio. PLC packets may be generated > to replace any packets that were lost or corrupted, as described in > section 4.1 of the specification: > https://tools.ietf.org/html/draft-ietf-codec-oggopus-08#section-4.1 > These packets usually consist of just a single TOC byte. It looks > like the tool you are using does not do this, and does not replace > gaps with anything. Unfortunately FFmpeg has a similar issue: > https://trac.ffmpeg.org/ticket/3391 > > - Mark >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20150708/1846a92e/attachment.htm
Hi Mateusz, It looks like the Janus code that writes Ogg Opus will not produce correct Ogg Opus output when there are packets missing. You can quote me or https://tools.ietf.org/html/draft-ietf-codec-oggopus-08#section-4.1 if you wish. If you have another way to convert these files to Ogg Opus or a way to write the Opus audio to webm instead then that might be a workaround. - Mark
Mateusz Koslacz
2015-Jul-09 11:06 UTC
[opus] mjr to opus audio conversion - corrupted results
Thanks a lot. Well, the problem is that it's hard to find any informaton about converting *.mjr files. I'll keep trying. Regards, Mateusz 2015-07-09 0:57 GMT+02:00 Mark Harris <mark.hsj at gmail.com>:> Hi Mateusz, > > It looks like the Janus code that writes Ogg Opus will not produce > correct Ogg Opus output when there are packets missing. You can quote > me or https://tools.ietf.org/html/draft-ietf-codec-oggopus-08#section-4.1 > if you wish. If you have another way to convert these files to Ogg > Opus or a way to write the Opus audio to webm instead then that might > be a workaround. > > - Mark >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20150709/30c91ab6/attachment.htm