Re: [linux-sunxi] Does anyone have interest in porting allwinner cedarx decoder to vlc player?

3076 views
Skip to first unread message

Henrik Nordström

unread,
Oct 26, 2012, 8:13:20 AM10/26/12
to linux...@googlegroups.com
fre 2012-10-26 klockan 03:00 -0700 skrev wills:

> I am porting allwinner cedarx decoder to native vlc player(direct
> render to linuxfb, not android version), does anyone have interest in
> it?

Yes, Of course.

Don't have much time to help you however, need to spend the little time
I have available on u-boot.

Regards
Henrik


Neal Peacock

unread,
Oct 26, 2012, 8:26:31 AM10/26/12
to linux...@googlegroups.com

I am very interested.  Do you have the code posted somewhere?

On Oct 26, 2012 6:03 AM, "wills" <wills.w...@gmail.com> wrote:
Hi, All,

I am porting allwinner cedarx decoder to native vlc player(direct render to linuxfb, not android version), does anyone have interest in it?
This porting based on libcedarx(a wrapper library used libvecore, instead of libcedarv, lower level API than libcedarv).

Best Regards
WIlls

--
 
 

wills

unread,
Oct 27, 2012, 12:54:42 AM10/27/12
to linux...@googlegroups.com
I want to push it into github.
I hope more people will join the development.

BTW, how to post message into arm-n...@lists.phcomp.co.uk?
My mail seems to be filtered out.

在 2012年10月26日星期五UTC+8下午8时26分32秒,npeacock写道:

Dmitriy B.

unread,
Oct 27, 2012, 1:45:17 AM10/27/12
to linux...@googlegroups.com
BTW, how to post message into arm-n...@lists.phcomp.co.uk?
My mail seems to be filtered out.
 
Before posting you need to subscribe to the list and maybe wait for moderation approval. Anyway, you should post linux-sunxi stuff here, in this mailing list, ARM-Netbook is generic mailing list not headed just for sunxi. Afaik we did notice arm-netbook about this mailing list, so people who was interested in sunxi are already here.

Best Regards,
Dmitriy Beykun 

wills

unread,
Oct 27, 2012, 10:53:54 PM10/27/12
to linux...@googlegroups.com
I am not familiar with github.
How to fork the external office repository into github, such as vlc?
I plan to push libcedarx today. 

On Saturday, October 27, 2012 10:01:55 PM UTC+8, Tim Feng wrote:
I am interested. Have you set up on github?

wills

unread,
Oct 27, 2012, 11:08:35 PM10/27/12
to linux...@googlegroups.com

Dmitriy B.

unread,
Oct 27, 2012, 11:28:20 PM10/27/12
to linux...@googlegroups.com
Here is a good tutorial about git, I use it from time to time. http://gitready.com/

2012/10/28 wills <wills.w...@gmail.com>
--
 
 

Alejandro Mery

unread,
Oct 28, 2012, 4:24:46 AM10/28/12
to linux...@googlegroups.com

Hi,

El 28/10/2012 04:08, "wills" <wills.w...@gmail.com> escribió:
>
> https://github.com/willswang/libcedarx
>

Can you refactor that to use the lib and headers from our cedarx-libs repo as external instead? Leaving only the vlc-related code here so to avoid a maintenance and license  mess.

Thanks!
Alejandro Mery

Tim Feng

unread,
Oct 29, 2012, 8:17:01 PM10/29/12
to linux...@googlegroups.com
Hi Wills,

  Just cloned a local copy.
  Not very familiar with libcedarx yet, just get started.
  What's you plan?

Regards,
Tim

Tim Feng

unread,
Oct 30, 2012, 6:11:24 PM10/30/12
to linux...@googlegroups.com
Hi Wills,

  Checked this out:  http://linux-sunxi.org/XBMC  , in case you have not noticed ;)
  
Regards,
Tim

wills

unread,
Oct 30, 2012, 9:09:49 PM10/30/12
to linux...@googlegroups.com
Sorry, Tim,  I'm a little busy these days, i  plan on pushing the first working version in this week.

Tim Feng

unread,
Oct 31, 2012, 12:47:44 AM10/31/12
to linux...@googlegroups.com
Awesome, can't wait to give it a try.

Regards,
Tim

cnxsoft

unread,
Oct 31, 2012, 12:50:59 AM10/31/12
to linux...@googlegroups.com
--
 
 
I thought Linux based video players / media centers such as VideoLAN or XBMC on A10 could not be developed due to poor CedarX libraries. Has anything changed in this regard?
Or is it just that it can work, but it's just many video files won't be able to be played?

Alejandro Mery

unread,
Oct 31, 2012, 4:13:16 AM10/31/12
to linux...@googlegroups.com
On 31 October 2012 05:50, cnxsoft <cnx...@cnx-software.com> wrote:
> I thought Linux based video players / media centers such as VideoLAN or XBMC
> on A10 could not be developed due to poor CedarX libraries. Has anything
> changed in this regard?
> Or is it just that it can work, but it's just many video files won't be able
> to be played?

The libs aren't perfect, but empat0
<https://github.com/empatzero/xbmca10> got basic xbmc support working
without hackery and using the same old libs. It seems more coding,
reading and testing than politics, pride and whining did the trick.

We recently received debian/ubuntu armhf libs
<https://github.com/linux-sunxi/cedarx-libs>.

See <http://linux-sunxi.org/CedarX> and <http://linux-sunxi.org/XBMC>
for more details.

cheers,
Alejandro Mery

Henrik Nordström

unread,
Oct 31, 2012, 5:05:33 AM10/31/12
to linux...@googlegroups.com
ons 2012-10-31 klockan 11:50 +0700 skrev cnxsoft:

> I thought Linux based video players / media centers such as VideoLAN
> or XBMC on A10 could not be developed due to poor CedarX libraries.
> Has anything changed in this regard?

Yes, much.

The CedarX libraries are much better understood now, and more people are
working on integrating them, this time in the open, and available for
hardfloat as well.

> Or is it just that it can work, but it's just many video files won't
> be able to be played?

There is support for most formats, in addition to software decoders
there is hardware acceleration for many formats. But it's unclear which
formats works well.

Regards
Henrik

Tim Feng

unread,
Oct 31, 2012, 6:43:44 AM10/31/12
to linux...@googlegroups.com
Seems some one have already patched ffmpeg libraries for CedarX. It save tons of work since most media player utilize ffmpeg, such as VLC ;)
But I couldn't find the patched ffmpeg, does anyone knows?

Regard,
Tim

Henrik Nordström

unread,
Oct 31, 2012, 8:39:33 AM10/31/12
to linux...@googlegroups.com
ons 2012-10-31 klockan 03:43 -0700 skrev Tim Feng:
> I just come across
> this: http://comments.gmane.org/gmane.comp.hardware.netbook.arm/3454
>
> Seems some one have already patched ffmpeg libraries for CedarX.

No. That is an old discussion on what would be required to do it, not
that someone have done it.

Regards
Henrik


Tim Feng

unread,
Oct 31, 2012, 9:02:27 PM10/31/12
to linux...@googlegroups.com
In the first reply,  the guy called lkcl luck says ffmpeg done already. I am a bit confusing though.

Regards
Henrik


Henrik Nordström

unread,
Nov 1, 2012, 7:46:23 AM11/1/12
to linux...@googlegroups.com
ons 2012-10-31 klockan 18:02 -0700 skrev Tim Feng:

> In the first reply, the guy called lkcl luck says ffmpeg done
> already. I am a bit confusing though.

Confusing, but no, he did not mean that cedarx ffmpeg integration is
done already.

Regards
Henrik


wills

unread,
Nov 7, 2012, 1:36:23 AM11/7/12
to linux...@googlegroups.com
I have pushed the first work version into github.
You must build libcedarx before vlc.

https://github.com/willswang/vlc 

Tim Feng

unread,
Nov 7, 2012, 1:45:51 AM11/7/12
to linux...@googlegroups.com
Awesome ;) I will give it a try shortly.
Great work~

Dmitriy B.

unread,
Nov 7, 2012, 5:25:29 AM11/7/12
to linux...@googlegroups.com
Great work! Could you please document your progress and known stuff (how to compile, dependencies, bugs) at http://linux-sunxi.org/VLC ?

Best Regards,
Dmitriy Beykun

2012/11/7 wills <wills.w...@gmail.com>
--
 
 

wills

unread,
Nov 7, 2012, 7:30:47 AM11/7/12
to linux...@googlegroups.com
OK, i intend to do it after the next version of libcedarx.
I want to use cmake instead of autotools in next version because i can't install prebuild binary library by autotools, such as libvecore.so.
In next version, i will use libvecore.so from https://github.com/linux-sunxi/cedarx-libs.

wills

unread,
Nov 7, 2012, 7:30:47 AM11/7/12
to linux...@googlegroups.com
OK, i intend to do it after the next version of libcedarx.
I want to use cmake instead of autotools in next version because i can't install prebuild binary library by autotools, such as libvecore.so.
In next version, i will use libvecore.so from https://github.com/linux-sunxi/cedarx-libs.

On Wednesday, November 7, 2012 6:25:50 PM UTC+8, Dmitriy B. wrote:

wills

unread,
Nov 7, 2012, 7:53:11 AM11/7/12
to linux...@googlegroups.com
You need run "automake -a -c" to generate configure script and  specify "--host=arm-linux-gnueabi" option to configure cross-compiling in this version.
I use ubuntu 12.04, the cross toolchains was install by "apt-get install gcc-arm-linux-gnueabi".
The following is decoder status in this version:
MPEG1/2/4 VP8 VC1 H263 XVID FLV H264 can decode
AVS/MJPEG not test
REALVIDEO not work

Dmitriy B.

unread,
Nov 8, 2012, 5:25:43 AM11/8/12
to linux...@googlegroups.com
Please, move to armhf (arm hard float) target rootfs and cross compiling toolchain, we have armhf Mali-400 libraries and armhf CedarX libraries, so nothing limits us to armel (arm soft float) anymore.
I will create the page at wiki for this info, if it is working well, I think this should eventually became default player for A10 boards. Thanks for your work!

Best Regards,
Dmitriy Beykun

2012/11/7 wills <wills.w...@gmail.com>
--
 
 

Dmitriy B.

unread,
Nov 8, 2012, 6:55:04 AM11/8/12
to linux...@googlegroups.com
Unfortunatelly, that doesnt work well.
First run was with AC_DEPLIBS_CHECK_METHOD, I've commented it out and run second time.

And this happens when I'm trying to do the standard autoreconf -vi: http://pastebin.com/a9zRRP76

Please, git clone your own repos, step-by-step do the compilation and write down your command history. Then everybody could do the same and test your work.

Best Regards,
Dmitriy Beykun

2012/11/7 wills <wills.w...@gmail.com>
--
 
 

wills

unread,
Nov 8, 2012, 8:11:36 AM11/8/12
to linux...@googlegroups.com
I have submitted autogen.sh script for generating configure file. 

Dmitriy B.

unread,
Nov 8, 2012, 8:31:22 AM11/8/12
to linux...@googlegroups.com
Thanks, libcedarx compiles now, but where in VLC tree libcedarx should be? I keep getting 
configure: error: "Could not find Cedar development headers"
I've tried to put libcedarx/ in vlc compilation directory, src/, include/ and in my /usr/include
Nothing of these make configure see the headers. (I know that this is extremely dumb question and I probably miss something obvious).

2012/11/8 wills <wills.w...@gmail.com>
--
 
 

Tim Feng

unread,
Nov 8, 2012, 5:24:08 PM11/8/12
to linux...@googlegroups.com
+1, I'm getting the same error message.

wills

unread,
Nov 8, 2012, 7:56:10 PM11/8/12
to linux...@googlegroups.com
You need type "make install" to install lincedarx header.
Vlc' compiling need this header.

wills

unread,
Nov 8, 2012, 8:07:49 PM11/8/12
to linux...@googlegroups.com
The header was installed into folder specified by "--prefix" option when configuration.
Example:
./configure --host=arm-linux-gnueabi --prefix=${PWD}/install
make
make install
ls  ${PWD}/install

Wills Wang

unread,
Nov 8, 2012, 11:25:06 PM11/8/12