Re: [FFmpeg-user] How to integrate shared object file of libx264 while using ffmpeg for android?

2014-08-05 Thread Carl Eugen Hoyos
David Varghese davidvrgh at gmail.com writes:

 2) Build ffmpeg v 2.3

If you need support on this mailing list, please 
provide the actual configure line you are using 
(not an external script) and the problem you have 
with that configure line.
If you believe that our configure script misses 
some feature necessary for a particular OS (like 
Android) please report this here!

If you have problems building x264, I am not sure 
this is the right place to ask.

Carl Eugen


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How to integrate shared object file of libx264 while using ffmpeg for android?

2014-08-05 Thread David Varghese
Thanks .

I have edited the actual configure file by replacing the following lines ,

SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'

 LIB_INSTALL_EXTRA_CMD='$$(RANLIB) $(LIBDIR)/$(LIBNAME)'

 SLIB_INSTALL_NAME='$(SLIBNAME_WITH_VERSION)'

 SLIB_INSTALL_LINKS='$(SLIBNAME_WITH_MAJOR) $(SLIBNAME)'




with the below lines,

SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'

LIB_INSTALL_EXTRA_CMD='$$(RANLIB) $(LIBDIR)/$(LIBNAME)'

SLIB_INSTALL_NAME='$(SLIBNAME_WITH_MAJOR)'

SLIB_INSTALL_LINKS='$(SLIBNAME)'



My intention was to generate shared object files with extension library
name - version.so rather than with the extension format
libavcodec.so.version . This is because android's binary generating
system only supports .so format .

When running ffmpeg configure with --enable-libx264 option the generated
shared object files (eg : libavutil) has dynamic dependency with
libx264.so.version . But I want to make this dependency to library
name.so extension format so that android binary packaging system will be
able to package shared object for libx264 .






On Tue, Aug 5, 2014 at 4:22 PM, Carl Eugen Hoyos ceho...@ag.or.at wrote:

 David Varghese davidvrgh at gmail.com writes:

  2) Build ffmpeg v 2.3

 If you need support on this mailing list, please
 provide the actual configure line you are using
 (not an external script) and the problem you have
 with that configure line.
 If you believe that our configure script misses
 some feature necessary for a particular OS (like
 Android) please report this here!

 If you have problems building x264, I am not sure
 this is the right place to ask.

 Carl Eugen


 ___
 ffmpeg-user mailing list
 ffmpeg-user@ffmpeg.org
 http://ffmpeg.org/mailman/listinfo/ffmpeg-user




-- 
Thanks and Regards ,
David Varghese
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How to integrate shared object file of libx264 while using ffmpeg for android?

2014-08-05 Thread Carl Eugen Hoyos
David Varghese davidvrgh at gmail.com writes:

 I have edited the actual configure file

You (of course!) cannot get support here if you 
edit your configure file. Instead, please report 
what does not work with the unchanged source so 
we can fix it.
If you want to compile for Android, please use 
the configure option --target-os=android (this 
should stop FFmpeg from building shared libraries 
with major version in the file name).

Please do not top-post here.

Carl Eugen


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] How to integrate shared object file of libx264 while using ffmpeg for android?

2014-08-05 Thread Carl Eugen Hoyos
David Varghese davidvrgh at gmail.com writes:

 Using configure option --target-os=android is 
 generating shared object files which has extension 
 supported by android (.so) .

Thank you for testing this!

 But when I use --enable -libx264 option the libavutil.so 
 (which is generated after building ffmpeg) is having a 
 dynamic dependency to the shared object file libx264.so.142

Do I understand correctly that you built a binary of x264 
that has an incorrect so name? Is it perhaps sufficient to 
rename the library?

Carl Eugen


___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user