[Android] Adding cedarx codec to android vlc

Mehmet Kurnaz hmehmetkurnaz at gmail.com
Thu Apr 28 23:25:20 CEST 2016


Hi Thomas,

Someone had built VLC with Cedarx for debian.

http://linux-sunxi.org/VLC

I built libcedarx with arm-linux-androideabi and used cedar.c in
vlc/modules/codec/ directory. I modified Makefile.am in the same directory
as first mail. And I got above errors.

On Thu, Apr 28, 2016 at 6:37 PM, Thomas Guillem <thomas at gllm.fr> wrote:

>
> On Thu, Apr 28, 2016, at 16:45, Mehmet Kurnaz wrote:
>
> 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.
>
>
> Hello, I'm not aware of this plugin. Is there a code source ? It's
> difficult to help without it.
>
>
>
> Best regards
> Mehmet
>
> *_______________________________________________*
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
>
>
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20160429/f809c596/attachment-0001.html>


More information about the Android mailing list