[jitsi-dev] Use libjitsi to encode and decode H264 video


#1

Hi,

I am going to write a program that can encode and decode H264 video. But it’s implemented in JMF. So I need to write a plugin for JMF to make it support for H264. I found there is a class "org.jitsi.impl.neomedia.codec.video.h264.*” that supports JNIEncoder and JNIDecoder.

Is it possible to use these two class to implement H264 codec in JMF? I found there functions in these two class is similar to the functions which need to be implemented in JMF.

Thank you very much.


#2

Hello,

···

On 12/27/13 5:20 PM, decoet wrote:

Hi,

I am going to write a program that can encode and decode H264 video. But it��s implemented in JMF. So I need to write a plugin for JMF to make it support for H264. I found there is a class "org.jitsi.impl.neomedia.codec.video.h264.*�� that supports JNIEncoder and JNIDecoder.

Is it possible to use these two class to implement H264 codec in JMF? I found there functions in these two class is similar to the functions which need to be implemented in JMF.

Yes, that's exactly what libjitsi's h264.JNIEncoder and h264.JNIDecoder
classes are -- they extend net.sf.fmj.media.AbstractCodec (and thus
implement the FMJ Codec interface).

Regards,
Boris