[jitsi-dev] Recoding Speex to Opus audio with Libjitsi


#1

Hi guys

I'm trying to use libjitsi to accomplish a relative simple task of transcoding Speex to Opus encoded audio files.
So my input is a usual java InputStream and output is OutputStream. Container is OGG for both input and output.

I write a standalone Java application, so I don't have any calls, devices or other stuff like that.

Can anybody point me to the correct classes or usage patterns I should use in my case? I see libjitsi really lacks on docs and examples.

Max Alexejev
Backend development head
@Talkbits


#2

Hey Max,

Hi guys

I'm trying to use libjitsi to accomplish a relative simple task of
transcoding Speex to Opus encoded audio files.
So my input is a usual java InputStream and output is OutputStream.
Container is OGG for both input and output.

I write a standalone Java application, so I don't have any calls,
devices or other stuff like that.

Can anybody point me to the correct classes or usage patterns I should
use in my case? I see libjitsi really lacks on docs and examples.

Projects like Jitsi and Jitsi Videobridge are the ultimate examples for
use of libjitsi. I realise something simpler would be more helpful and
of course we are open to contributions in that regard.

That said, libjitsi is mostly meant for use within a real-time
communication context where data arrives in RTP packets rather than
files. While what you are looking for is certainly possible with
libjitsi, if you are not going to use its streaming capabilities then
you'll probably be handling with an added layer of complexity that you
don't really need.

Cheers,
Emil

ยทยทยท

On 05.04.13, 18:53, Max Alexejev wrote:

--
https://jitsi.org