[jitsi-dev] Please help to rebuild jnffmpeg.so


#1

Hi Dev Group,

I'm using libjitsi and building the video call feartures. But when I run my
project on Ubuntu for testing the video call, it's alway crashed on some
Ubuntu machines, please see the log file. I think the problem is the native
file jnffmpeg.so, so I have tried to rebuild it but could not build
successful.

Please help me to rebuild jnffmpeg.so or give me another solution for using
Libjitsi on Ubuntu for my project
I have tested the Jitsi version released on Ubuntu, it run well. What is
the difference between my project and Jitsi when using Libjitsi?

I hope to get the feedback as soon as possible

Thanks!

hs_err_pid11687.log (87 KB)


#2

Please help me to rebuild jnffmpeg.so or give me another solution for using
Libjitsi on Ubuntu for my project

Please refer to the README file in the src/native/ffmpeg directory of
libjitsi's source.

I have tested the Jitsi version released on Ubuntu, it run well. What is the
difference between my project and Jitsi when using Libjitsi?

It's crashing in the function sws_scale. You may want to print out the
values of the variables inWidth, inHeight, srcFmt, outWidth, outHeight
and dstFmt right before the invocation of that function and check out
whether they are suspicious right before the crash.

As to the uses of libjitsi in Jitsi and your project, there shouldn't
be any difference as far as FFmpeg is concerned.

···

2013/8/24 Nam Nguyen <namnavp@gmail.com>:


#3

Dear Lyubomir Marinov,

Please refer to the README file in the src/native/ffmpeg directory of
libjitsi's source.

I have been reading the README file too many times and when I build
ffmpeg + x264 + lame on my Ubuntu, it seem don't have any trouble.
But when I use the x264, lame and ffmpeg (builded) directory as arguments
for
'ant ffmpeg', building error, It always throws exception, somethings like:
the file libavutil/config.h not found or libavformat/format.h not found...
Maybe I have made a mistake somewhere...Please help me.
This is the user guide for building ffmpeg on my Ubuntu:
http://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

It's crashing in the function sws_scale. You may want to print out the
values of the variables inWidth, inHeight, srcFmt, outWidth, outHeight
and dstFmt right before the invocation of that function and check out
whether they are suspicious right before the crash.

I have been printed out the variables... And the crash do not often happen
on every Ubuntu machine, sometime it's also run fine on my Ubuntu. :frowning:

Thank you for your support!

···

2013/8/27 Lyubomir Marinov <lyubomir.marinov@jitsi.org>

2013/8/24 Nam Nguyen <namnavp@gmail.com>:
> Please help me to rebuild jnffmpeg.so or give me another solution for
using
> Libjitsi on Ubuntu for my project

Please refer to the README file in the src/native/ffmpeg directory of
libjitsi's source.

> I have tested the Jitsi version released on Ubuntu, it run well. What is
the
> difference between my project and Jitsi when using Libjitsi?

It's crashing in the function sws_scale. You may want to print out the
values of the variables inWidth, inHeight, srcFmt, outWidth, outHeight
and dstFmt right before the invocation of that function and check out
whether they are suspicious right before the crash.

As to the uses of libjitsi in Jitsi and your project, there shouldn't
be any difference as far as FFmpeg is concerned.