I am very interested. Do you have the code posted somewhere?
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 RegardsWIlls--
BTW, how to post message into arm-n...@lists.phcomp.co.uk?My mail seems to be filtered out.
I am interested. Have you set up on github?
--
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
--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?
Regards
Henrik
--
--
--
configure: error: "Could not find Cedar development headers"
--
./configure --host=arm-linux-gnueabi --prefix=${PWD}/installmakemake installls ${PWD}/install
--
--
Thank you, I was able to test and compile everything on armel rootfs, but for armhf using libcedarxalloc.a is really not going to happen. It was replaced with https://github.com/linux-sunxi/cedarx-libs/tree/master/libcedarv/linux-armhf/adapter/avheap (also one more blob gone opensource and readable). Please, convert your work for armhf and use our cedarx sources, they seem to be newer than armel and also will totally be faster. For many users Linaro is default rootfs and it is armhf. Our new sunxi-bsp will probably produce armhf image too.
COMPILE : libcedar_plugin_la-cedar.locedar.c: In function 'OpenDecoder':ERROR : cedar.c:270: 11: 'decoder_sys_t' has no member named 'data'ERROR : cedar.c:270: 26: 'decoder_sys_t' has no member named 'data_size'ERROR : cedar.c:271: 13: 'decoder_sys_t' has no member named 'data'cedar.c: In function 'DecodeBlock':WARNING : cedar.c:375: 38: assignment makes pointer from integer without a cast [enabled by default]WARNING : cedar.c:376: 38: assignment from incompatible pointer type [enabled by default]make: *** [all] Error 2
--
--
How do I debug cedar output? So basically cedar (decoder?) plugin loads up, but cedarfb (video output?) dont. I use Linaro latest, tried using both xf86-video-mali and plain fbdev. My build is --enable-cedar, --enable-egl, --enable-neon. I will try to recompile everything from scratch now just to be sure that I didnt do something wrong.[0xf2e1f8] main video output debug: Deinterlacing available[0xf2e1f8] main video output debug: deinterlace 0, mode blend, is_needed 0[0xf2e1f8] main video output debug: Opening vout display wrapper[0x426447f8] main vout display debug: looking for vout display module: 1 candidate[0x426447f8] main vout display debug: no vout display module matching "cedarfb" could be loaded[0x426447f8] main vout display debug: TIMER module_need() : 2.908 ms - Total 2.908 ms / 1 intvls (Avg 2.908 ms)
--
You should run "cvlc --demux ffmpeg --codec cedar --vout cedarfb --no-osd {media file}".The picture format from cedar decoder isn't YUV420, VLC cann't process it, so you must specify "--no-osd" option to avoid doing these.
--
--
Yes, of course I have, X11 runs fine both with FBDEV and xf86-video-mali. My resolution is 1080p VGA, I set it in script.bin.Might be that you are using older kernel before libv changed a lot of stuff in /dev/disp, check http://linux-sunxi.org/Sunxi_disp_driver and drv_display.h is now https://github.com/linux-sunxi/linux-sunxi/blob/sunxi-3.0/include/video/sunxi_disp_ioctl.h You should not rely on /dev/disp anyway because it will vanish at some point. Having such device is not a "linux way", everything will be replaced.Also, is it possible to use CedarX as a codec only? We can show picture with X11/SDL/EGL outputs that might work (first two work fine in default VLC), if CedarFB relies on /dev/disp too much because of the default Cedar implementation from allwinner sources, we should fix that.Best Regards,Dmitriy Beykun2012/11/12 Wills Wang <wills.w...@gmail.com>
--Do you have this device file “/dev/disp“?You can add same printouts in cedarfb.c and libcedarx.cThis status look like display initialization failure.
2012/11/12 Dmitriy B. <rzk...@gmail.com>
--Yes, I have libcedarfb_plugin.la/libcedarfb_plugin_la-cedarfb.lo and /usr/lib/vlc/plugins/video_output/libcedarfb_plugin.so
2012/11/12 wills <wills.w...@gmail.com>You should run "cvlc --demux ffmpeg --codec cedar --vout cedarfb --no-osd {media file}".The picture format from cedar decoder isn't YUV420, VLC cann't process it, so you must specify "--no-osd" option to avoid doing these.I've tried this too, still same YUV convertions happen even with --no-osd. http://pastebin.com/iE0jTzqm - avi file, http://pastebin.com/5gUwyw0R x264 .mkv
--
I've tried, no effect, still same fault. Could you please download linaro-alip and install it on sdcard and compile your VLC there?Also I have lots of tearing on any refresh of my screen when scaler is disabled, looks like screen memory filling is now software and done in blocks of around 300 pixels.
--
--
--
El viernes, 26 de octubre de 2012 12:00:35 UTC+2, wills escribió:
> 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
Great!
I really worked perfectly.
Does anyone know if there is a port for gstreamer?
Thanks!!!
--
On Wednesday, November 14, 2012 5:55:09 PM UTC-5, martin brook wrote:
> Dmitry Hi,
>
>
>
> 1.13 is working fine for me with the patch below on mele a1000
>
Hi Martin,
I applied the patch and managed to build against Xorg 1.13 but I'm unable to load the driver when I attempt to start X with an unresolved symbol - exaDriverAlloc
[445141.330] (II) LoadModule: "mali"
[445141.330] (II) Loading /usr/lib/xorg/modules/drivers/mali_drv.so
[445141.341] (EE) Failed to load /usr/lib/xorg/modules/drivers/mali_drv.so: /usr/lib/xorg/modules/drivers/mali_drv.so: undefined symbol: exaDriverAlloc
[445141.341] (II) UnloadModule: "mali"
[445141.342] (II) Unloading mali
[445141.342] (EE) Failed to load module "mali" (loader failed, 7)
[445141.342] (EE) No drivers available.
Any thoughts?
Thanks,
Vishnu
Full Xorg.1.log below:
X.Org X Server 1.13.0
Release Date: 2012-09-05
[445141.317] X Protocol Version 11, Revision 0
[445141.318] Build Operating System: Linux 3.6.6-gentoo x86_64 Gentoo
[445141.318] Current Operating System: Linux mele 3.0.42+ #24 Mon Nov 19 11:50:20 EST 2012 armv7l
[445141.318] Kernel command line: console=ttyS0,115200 root=/dev/sda3 loglevel=8 panic=10 rootwait rootfstype=ext4 console=tty0
[445141.319] Build Date: 19 November 2012 12:15:16AM
[445141.319]
[445141.319] Current version of pixman: 0.28.0
[445141.319] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[445141.320] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[445141.321] (==) Log file: "/var/log/Xorg.1.log", Time: Mon Nov 19 16:17:19 2012
[445141.322] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[445141.323] (==) No Layout section. Using the first Screen section.
[445141.323] (**) |-->Screen "Mali Screen" (0)
[445141.323] (**) | |-->Monitor "<default monitor>"
[445141.323] (**) | |-->Device "Mali FBDEV"
[445141.323] (==) No monitor specified for screen "Mali Screen".
Using a default monitor configuration.
[445141.324] (==) Automatically adding devices
[445141.324] (==) Automatically enabling devices
[445141.324] (==) Automatically adding GPU devices
[445141.324] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[445141.324] Entry deleted from font path.
[445141.324] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[445141.324] Entry deleted from font path.
[445141.324] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[445141.324] Entry deleted from font path.
[445141.324] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[445141.324] Entry deleted from font path.
[445141.324] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[445141.324] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[445141.324] Entry deleted from font path.
[445141.324] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[445141.324] (==) FontPath set to:
/usr/share/fonts/misc/
[445141.324] (==) ModulePath set to "/usr/lib/xorg/modules"
[445141.324] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[445141.324] (II) Loader magic: 0x402e7e38
[445141.324] (II) Module ABI versions:
[445141.324] X.Org ANSI C Emulation: 0.4
[445141.325] X.Org Video Driver: 13.0
[445141.325] X.Org XInput driver : 18.0
[445141.325] X.Org Server Extension : 7.0
[445141.326] (II) config/udev: Adding drm device (/dev/dri/card0)
[445141.326] (II) config/udev: Adding drm device (/dev/dri/card1)
[445141.326] Initializing built-in extension Generic Event Extension
[445141.326] Initializing built-in extension SHAPE
[445141.327] Initializing built-in extension MIT-SHM
[445141.327] Initializing built-in extension XInputExtension
[445141.327] Initializing built-in extension XTEST
[445141.327] Initializing built-in extension BIG-REQUESTS
[445141.327] Initializing built-in extension SYNC
[445141.327] Initializing built-in extension XKEYBOARD
[445141.327] Initializing built-in extension XC-MISC
[445141.327] Initializing built-in extension XINERAMA
[445141.327] Initializing built-in extension XFIXES
[445141.327] Initializing built-in extension RENDER
[445141.327] Initializing built-in extension RANDR
[445141.327] Initializing built-in extension COMPOSITE
[445141.327] Initializing built-in extension DAMAGE
[445141.327] Initializing built-in extension MIT-SCREEN-SAVER
[445141.327] Initializing built-in extension DOUBLE-BUFFER
[445141.327] Initializing built-in extension RECORD
[445141.327] Initializing built-in extension DPMS
[445141.328] Initializing built-in extension X-Resource
[445141.328] Initializing built-in extension XVideo
[445141.328] Initializing built-in extension XVideo-MotionCompensation
[445141.328] Initializing built-in extension XFree86-VidModeExtension
[445141.328] Initializing built-in extension XFree86-DGA
[445141.328] Initializing built-in extension XFree86-DRI
[445141.328] Initializing built-in extension DRI2
[445141.328] (II) LoadModule: "glx"
[445141.329] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[445141.330] (II) Module glx: vendor="X.Org Foundation"
[445141.330] compiled for 1.13.0, module version = 1.0.0
[445141.330] ABI class: X.Org Server Extension, version 7.0
[445141.330] (==) AIGLX enabled
[445141.330] Loading extension GLX
[445141.330] (II) LoadModule: "mali"
[445141.330] (II) Loading /usr/lib/xorg/modules/drivers/mali_drv.so
[445141.341] (EE) Failed to load /usr/lib/xorg/modules/drivers/mali_drv.so: /usr/lib/xorg/modules/drivers/mali_drv.so: undefined symbol: exaDriverAlloc
[445141.341] (II) UnloadModule: "mali"
[445141.342] (II) Unloading mali
[445141.342] (EE) Failed to load module "mali" (loader failed, 7)
[445141.342] (EE) No drivers available.
[445141.342]
Fatal server error:
[445141.342] no screens found
[445141.343] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[445141.343] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[445141.344] (EE)
[445141.345] Server terminated with error (1). Closing log file.
--
On Wednesday, November 14, 2012 5:55:09 PM UTC-5, martin brook wrote:
> Dmitry Hi,
>
>
>
> 1.13 is working fine for me with the patch below on mele a1000
>
--
On Monday, November 19, 2012 11:11:44 PM UTC-5, Roman Mamedov wrote:
> On the development mailing lists pasting logs inline is strongly preferred for
>
> archiving purposes, 'pastie' sites come and go, so your message will be
>
> incomplete to someone who finds it in Google 3 years later, when that
>
> 'pastie' website is already down or has deleted/expired your pasted content.
>
Balancing the ability to be informative, concise and precise without being too verbose is a fine art, but I see your point about the ephemeral nature of pasties :)
I did manage to get the driver built and working but the instructions I attempted to follow on http://linux-sunxi.org/Mali400 page will need to be updated as they didn't quite work for me when followed to the letter.
I'll post an update on what worked for me shortly and we can decide how to best to restructure the wiki page. I'll be happy to update it once we agree.
Also, should this conversation be moved to a separate thread since I feel it got hijacked by the xorg 1.13 changes needed for the xf86-video-mali driver to compile and no longer has much to do with CedarX?
That said, I am very interested in getting CedarX working with VLC as I've been trying to build a minimal distro of Gentoo for TVHeadend with a HDHomerun Prime on the Mele A2000.
--
Found a workaround using rc interface & xbindkeys (attached below if anyone is interested).
Removing the "--demux ffmpeg" allows playing YouTube (720p full screen runs smoothly), MMS working well, most formats do. All and all video hardware acceleration (with CedarX VPU and VLC) @ Linaro armhf is *working* on Allwinner A10 ( ~ Cubieboard, MK802, UHost, etc).
Thank you Wills (Dimitry and sunxi guys as well).
______________
<file: vlc-rc.sh>
#!/bin/bash
# usage:
# - vlc-rc.sh add "file.mp4"
# - vlc-rc.sh stop|fastforward|rewind|pause|volup|voldown... etc
# if vlc is already running send rc command
if ps aux | grep cedarfb | grep -v grep; then
echo "$1 $2" | nc localhost 4212
# otherwise - spawn it with the media file (use $2 because $1 is "add")
else
vlc -I rc --rc-host=localhost:4212 --codec cedar --vout cedarfb --no-osd "$2" &
fi;
On Saturday, February 2, 2013 4:47:46 PM UTC+2, daniel....@gmail.com wrote:
> I am able to use the CLI successfully, but no hotkeys, just typing VLC commands in the CLI (which is usually not visible..)
>
> . . .
> . . .
> Command Line Interface initialized. Type `help' for help.
> > pause
> > play
> > stop
> > play
> > [0x4389e830] pulse audio output error: PulseAudio server connection failure: Connection refused
> voldown
> ( audio volume: 224 )
> > voldown
> ( audio volume: 192 )
> > voldown
> ( audio volume: 160 )
> > volup
> ( audio volume: 192 )
> > volup
> ( audio volume: 224 )
> > volup
> ( audio volume: 256 )
> > rewind
Thanks, I'll give that a try. I just wasn't sure how much of vlc was customized in this version. I'm trying to create a kiosk type application thought of perhaps using http interface of vlc.In the wiki it states "No output modules support" would that mean http? I've tried a few cli switches and they aren't working but this is also the first time i've messed with this too.
--
Michal
--
You received this message because you are subscribed to a topic in the Google Groups "linux-sunxi" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linux-sunxi/iS2RFgLI3JY/unsubscribe?hl=en-GB.
To unsubscribe from this group and all of its topics, send an email to linux-sunxi...@googlegroups.com.
Here is the log from VLC: http://pastebin.com/VVwz99EE
During compilation, I didn't have any errors, just huge amount of warnings.
Milan
Dňa piatok, 1. marca 2013 21:28:20 UTC+1 Michal Suchanek napísal(-a):
Yes, that is the video I wanted to play. I also tried to run MPEG-2 video, but result was the same.
I will probably try to build it from beginning.
Dňa sobota, 2. marca 2013 16:05:57 UTC+1 George Ioakimedes napísal(-a):
Michal
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写道: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 RegardsWIlls
--