[Android] Adding cedarx codec to android vlc

Mehmet Kurnaz hmehmetkurnaz at gmail.com
Thu Apr 28 16:45:48 CEST 2016


Hello all,

First of all, I am sorry because of I don't know where I can ask.

I need to add cedarx(allwinner video codec) codec to vlc for android. I
added related parameters to
vlc/modules/codec/Makefile.am

*libcedar_plugin_la_SOURCES = codec/cedar.c*
*libcedar_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_cedar)*
*libcedar_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' *
*libcedar_plugin_la_LIBADD = $(LIBS_cedar)*

*EXTRA_LTLIBRARIES += libcedar_plugin.la <http://libcedar_plugin.la>*
*codec_LTLIBRARIES += $(LTLIBcedar)*

I have related libs in vlc/contrib/arm-linux-androideabi/lib directory.
*libcedarx.a  *
*libcedarx.la <http://libcedarx.la>  *
*libcedarx.so  *
*libcedarx.so.1  *
*libcedarx.so.1.0.0*

When I run "sh compile.sh -a armeabi-v7a" script I got below errors.
*../../modules/codec/cedar.c:389: error: undefined reference to
'libcedarx_decoder_close'*
*../../modules/codec/cedar.c:223: error: undefined reference to
'libcedarx_decoder_open'*
*../../modules/codec/cedar.c:430: error: undefined reference to
'libcedarx_decoder_add_stream'*
*../../modules/codec/cedar.c:430: error: undefined reference to
'libcedarx_decoder_decode_stream'*
*../../modules/codec/cedar.c:430: error: undefined reference to
'libcedarx_decoder_request_frame'*

I tried to add *lcedarx* to *libcedar_plugin_la_LIBADD *but nothing has
changed.

Best regards
Mehmet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20160428/ea6fe36a/attachment.html>


More information about the Android mailing list