Adding cedarx codec to android vlc

This forum is about all development around libVLC.
hmehmetk
New Cone
New Cone
Posts: 4
Joined: 02 Jul 2011 16:41

Adding cedarx codec to android vlc

Postby hmehmetk » 28 Apr 2016 16:49

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

Code: Select all

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 codec_LTLIBRARIES += $(LTLIBcedar)
I have related libs in vlc/contrib/arm-linux-androideabi/lib directory.
  • libcedarx.a
    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.

Code: Select all

../../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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Adding cedarx codec to android vlc

Postby Jean-Baptiste Kempf » 28 Jun 2016 10:05

missing some -lcedarx

Btw, where is this code?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 13 guests