I’m a little confused with the jitsi-lgpl-dependencies project when I tried to compile it. There are both build.xml and pom.xml, while README-native tells something about compile lame、openh264、ffmpeg and finally jnffmpeg. I wonder what is the right sequence to do all these ant/mvn/make operations. Is pom.xml equal to build.xml? Hope someone could offer a clear list.
The environment is Win10 x64.
I’m building the lgpl-dependencies project to use libjitsi. I’ve been trying to build and use the libjitsi project tag<v1.0 1096>. Download and mvn install each of its dependencies on github/jitsi. Also removed the exclude lines about lgpl-dependencies in the libjitisi pom(I suppose it should be done to make things work?). However when running the example AVReceive2 it failed on matching the camera encoding fomat, which is H264.
I did some digging and found the problem is in MediaUtils.java. The code below:
= FFmpeg.avcodec_find_encoder(FFmpeg.CODEC_ID_H264) != 0;
catch (Throwable t)
logger.debug(“H264 codec not found”, t);
As the method avcodec_find_encoder(FFmpeg.CODEC_ID_H264) failed to return any encoder the example failed. I guess the reason is that when I mvn install the jitsi-lgpl-dependencies, the openh264 not inclueded.