john liu
2014-May-24 01:18 UTC
[opus] how to tell opus encoder to send generater a key frame?
i'm new in using opus. i'm plan to use opus to encode audio in multi-participants-internet-conversation, in this circumstance, participants may john in and out frequently, so, my question is how can i generate a keyframe for a new participant ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20140524/384b0827/attachment-0001.htm
Jean-Marc Valin
2014-Jun-20 20:08 UTC
[opus] how to tell opus encoder to send generater a key frame?
In practice you shouldn't need what you call "keyframes" since the audio will converge in less than 1/10 of a second. But if you really want to make it perfect and have an independent frame, then you will want to use OPUS_SET_PREDICTION_DISABLED(0), which as the name implies will disable prediction. Make sure you re-enable it on the next frame, otherwise you will be losing a lot of quality. Jean-Marc On 23/05/14 09:18 PM, john liu wrote:> i'm new in using opus. i'm plan to use opus to encode audio in > multi-participants-internet-conversation, in this circumstance, > participants may john in and out frequently, so, my question is how can > i generate a keyframe for a new participant ? > > > _______________________________________________ > opus mailing list > opus at xiph.org > http://lists.xiph.org/mailman/listinfo/opus >