ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development discussion - Don't ask to ask. Just ask! - See http://linux-sunxi.org | https://github.com/linux-sunxi/ | Logs at http://irclog.whitequark.org/linux-sunxi
torqu3e has joined #linux-sunxi
tinti has joined #linux-sunxi
tinti has quit [Max SendQ exceeded]
tinti has joined #linux-sunxi
rz2k has quit []
egbert has quit [Disconnected by services]
egbert has joined #linux-sunxi
BJfreeman has quit [Quit: had a good time]
ssvb has quit [Ping timeout: 248 seconds]
eebrah has joined #linux-sunxi
eebrah has quit [Ping timeout: 246 seconds]
eebrah has joined #linux-sunxi
shineworld has joined #linux-sunxi
n01 has joined #linux-sunxi
rellla has joined #linux-sunxi
<gzamboni> it does slapin_nb
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
hno has quit [Quit: Coyote finally caught me]
hno has joined #linux-sunxi
ssvb has joined #linux-sunxi
BJfreeman has quit [Quit: had a good time]
christopher_ has joined #linux-sunxi
vicenteH has joined #linux-sunxi
_whitelogger has joined #linux-sunxi
torindel has quit [Ping timeout: 245 seconds]
christopher_ has quit [Remote host closed the connection]
<libv> seems like ithamar is working on awutils again
tinti has quit [Quit: Leaving]
eebrah has quit [Ping timeout: 245 seconds]
shineworld has quit [Quit: Leaving]
rellla has quit [Remote host closed the connection]
Yaku321 has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
<oliv3r> libv: interesting, last time i checked it worked for extracting only
torindel has joined #linux-sunxi
<libv> i wasn't able to achieve much with them though, not able to figure out how to use the resulting extracted files
hno has quit [Remote host closed the connection]
hno has joined #linux-sunxi
MoRoSKit has joined #linux-sunxi
vicenteH has quit [Ping timeout: 256 seconds]
ganbold_ has joined #linux-sunxi
<Yaku321> are there good consumer ccd chips to add a camera to like the cubieboard ?
shineworld has joined #linux-sunxi
<hramrach> ssvb: ?
<hramrach> Yaku321: why ccd and not full usb?
<Yaku321> because i read that the a10 has 2 camera ports
<hramrach> so?
<Yaku321> but i don´t know where to buy any camera for it, my logitech webcam works of course on usb
<hramrach> it's useful when making a tablet
<Yaku321> i have a http://www.monocular.info/zeiss30x60.htm lying around here
<Yaku321> and was wondering if i could put a ccd sensor in it´s focus
<hramrach> if you want to try it out it's technically possible but probably not awesomely useful
<hramrach> you can take apart the webcam and put it there
<hramrach> there are even models designed just for that
<Yaku321> yes, but the 1024x768 pictures are not as great from the webcam
<ssvb> hramrach: I tried to test cedarx video decoding with vlc, and apparently the sample videos from http://linux-sunxi.org/CedarXVideoRenderingChart are generally fine (only bb2.mp4 is slow)
<hramrach> there is even video samples in that chart?
<ssvb> hramrach: but many other videos not listed there are broken, which probably just indicates insufficient testing :)
<hramrach> missed that
<ssvb> hramrach: there are links to these videos in the 'SampleFile' column
Yakuzza has joined #linux-sunxi
<hramrach> yes, tehy are very small and that part of the table is usuallu off-screen ;-)
Yaku321 has quit [Ping timeout: 272 seconds]
<Yakuzza> well in thought i was thinking of using an arduino to control the camera and using the a10 device to record
<Yakuzza> and take the pic
Yakuzza is now known as Yaku321
<ssvb> hramrach: anyway, just as an example of a broken video file, the HD 1080p (~1GB, MKV, 5.1) from http://www.sintel.org/download is no good
<ssvb> hramrach: can you try it?
<hramrach> ssvb: not at the moment
<ssvb> hramrach: ok, still the same file plays just fine in android (and many other files which are buggy with vlc), which means that the hardware itself is not a problem
<ssvb> hramrach: and it's interesting that the bb2.mp4 sample from http://linux-sunxi.org/CedarXVideoRenderingChart is also sluggish in android
<hramrach> I would expect that the hardware is just a generic vector coprocessor and all the problems are caused by nobody knowing wth it is doing
<ssvb> hramrach: the problem with bb2.mp4 in android shows that cedarx is not perfect, but it is not nearly as bad as the vlc implementation
<ssvb> so we may want to also try rellla's xbmc to see if it works better
<hramrach> I am out fo disk space
tinti has joined #linux-sunxi
<hramrach> that reminds me to take th ssd
<ssvb> and filing bugreports to https://github.com/willswang/vlc for any broken samples might be a good idea
<hramrach> for some reason libtool does not work on samba :s
<ssvb> yeah, xbmc seems to be a bloated monster, I still need to install and try it
<ssvb> from anything directly or indirectly related to graphics, accelerated video playback seems to be the most popular request from the users
<ssvb> IMHO it makes sense to solve this problem :)
<hramrach> or at least find out how much it is solvable with the current lib
<hramrach> the vlc performance is non-impressive, however
<hramrach> 720p is slideshow
<ssvb> really?
<shineworld> I'm using vlc everyday with cubieboard
<hramrach> like 1fps estimate
<hramrach> did not really measure
<shineworld> yes
<ssvb> is it some specific sample? because I have only seen the 1fps problem with bb2.mp4 sample
<hramrach> I guess it's specific to one encode, yes
<ssvb> the biggest problem for me is the blocky pink image corruption, but the performance seems to be ok
<hramrach> differnt encodes behave differently
<hramrach> I get blocky b&w image corruption in every cutscene
<hramrach> good enough for omg, that andrpoid phone can play video!
<hramrach> but you expect more from a media center
<ssvb> as I said, android has a lot less problems with video than vlc, in fact it is nearly perfect
<hramrach> can try cutting pieces of the videos and uploading somewhere now that the leaking layer is sloved
<ssvb> sounds good, http://linux-sunxi.org/CedarXVideoRenderingChart needs more broken samples
<ssvb> shineworld: does cedarx vlc work good for you?
<shineworld> I don't know, surely but it is very slow also at 800x480
<shineworld> just for some test because I don't think I will use video features
<mnemoc> if it's slow it's not using cedarx
<shineworld> ah
<mnemoc> and if slow at 800x480, it's not even using neon
<mnemoc> with neon you can get decent 720p
<ssvb> or maybe the extremely slow audio decoding for some weird codec is slowing it down
<shineworld> there is an pre-made image that I can try ?
<shineworld> I will change only script to match my display configuration
Undertasker has joined #linux-sunxi
<ssvb> I may try to eventually provide some sort of gentoo image (or rootfs) with optimized/accelerated stuff
<ssvb> shineworld: where did you get your current vlc?
<torindel> ssvb: or just upload ebuilds somewhere ^
<torindel> ^^
<shineworld> I've run it on ubuntu linaro and installed with apt-get install vlc
<ssvb> shineworld: ok, then it does not have cedarx acceleration for sure
<shineworld> that's the reason so...
<shineworld> I've also tried on android with MxPlayer
<shineworld> now I'm on android
<ssvb> torindel: I have no ebuilds for cedarx/vlc yet, but making them is rather simple (though the native compilation takes ~20 minutes on dual-core Cortex-A15, and reportedly more than an hour on Allwinner A10)
<ssvb> torindel: I'm not sure if everyone will enjoy this :)
<torindel> ssvb: ^^
<Undertasker> Does it work?
<Undertasker> As fast as MX player?
<ssvb> Undertasker: just scrollback the irc log and you will see that cedarx patched vlc still has a lot of problems with correct video decoding
<Undertasker> Just joined
<Undertasker> Also I'm thinking of getting rid of all my Allwinner devices
<Undertasker> Too less company support
<Undertasker> I.mx6 looks good
<torindel> ssvb: from other barrel, you use multitouch gestures on xorg?
<ssvb> Undertasker: yeah, the grass is greener on the other side :)
<Undertasker> At least Freescale has good datasheets
<ssvb> torindel: I don't have a touchscreen
<Undertasker> Also my employer has an nda with Freescale, so I should be able to get ALL datasheets
<xenoxaos> it's not all that hard to get nda's with companies if you know who to harass
<Undertasker> I'm just waiting for a cheap dev board like the cubieboard, with i.mx6
<ssvb> Undertasker: regarding scrollback, here is irc log - http://irclog.whitequark.org/linux-sunxi/2013-04-19 (but it seems to be down for me at the moment)
<Undertasker> also from here
<Undertasker> Nevermind
<Undertasker> btw. Did anybody ever manage to compile squeezelight for Android?
<Undertasker> Id seems to depend on some alsa libs, and I'm not sure how to handle this
<xenoxaos> random question....the mele a1000 etc...what voltage psu is that? 5v or 12v?
<ssvb> mnemoc: it might be fun to hack cedarx support into mplayer vdpau, that's where osd/subtitles can be handled
rellla has joined #linux-sunxi
<ssvb> mnemoc: an emulation of a necessary subset of vdpau could be perhaps good enough
<mnemoc> yes
<Undertasker> Did anybody try those Amlogic Sticks with VGA output? They look interesting. http://www.aliexpress.com/item/Google-Amlogic-Android-4-0-Mini-PC-MX3-TV-BOX-HDMI-DONGLE-1G-4G-ARM-CORTEX/765894171.html
<mnemoc> ssvb: /q
gzamboni has quit [Remote host closed the connection]
* rellla is looking forward because ssvb got interested in cedarx
torindel has quit [Read error: Connection reset by peer]
gzamboni has joined #linux-sunxi
torindel has joined #linux-sunxi
lunra has joined #linux-sunxi
shineworld has quit [Quit: Leaving]
<Yaku321> xenoxaos: mele a1000/2000 are 5v, the original psu got 2.4 a according to the label, i don´t know any of the sticks using something else then 5v btw.
<xenoxaos> just making sure as i didn't send the psu with one i gave to someone
<xenoxaos> and looking at the board the only regulator i found on board was the axp209 which has a max vin of 6.3v
<mnemoc> olimex's have a very flexible VDC range iirc
ganbold__ has joined #linux-sunxi
shineworld has joined #linux-sunxi
ganbold_ has quit [Ping timeout: 276 seconds]
e-ndy has quit [Quit: ZNC - http://znc.sourceforge.net]
e-ndy has joined #linux-sunxi
e-ndy has quit [Excess Flood]
e-ndy has joined #linux-sunxi
e-ndy has quit [Excess Flood]
e-ndy has joined #linux-sunxi
MoRoSKit has quit [Quit: Quitte]
rz2k has joined #linux-sunxi
shineworld has quit [Remote host closed the connection]
shineworld has joined #linux-sunxi
vicenteH has joined #linux-sunxi
rm has quit [Ping timeout: 245 seconds]
rm has joined #linux-sunxi
paulk-desktop has joined #linux-sunxi
tinti_ has joined #linux-sunxi
n01 is now known as n01|work
rellla has quit [Quit: Nettalk6 - www.ntalk.de]
paulk_ has joined #linux-sunxi
paulk_ has quit [Client Quit]
ganbold___ has joined #linux-sunxi
ganbold__ has quit [Ping timeout: 276 seconds]
n01 has joined #linux-sunxi
<hramrach> ssvb: created the video layer while the screen was unblanking and the output sure was odd
<hramrach> there is a lot wrinkles to iron out in the disp code :s
<hramrach> any good software for cutting video pieces?
<mnemoc> ffmpeg?
<hramrach> I want as much close to original format as possible
<mnemoc> iirc the default is to "copy" the encoded data as-is
<hramrach> but it repacks it?
<hramrach> even repacking with mkvtool changes the video substantially sometimes
* mnemoc out of ideas
<hramrach> seems it crashes within first 30s so dd should do
mdfe has joined #linux-sunxi
<hramrach> huh, takes really long to split out 10s of video
Yaku321 has quit [Ping timeout: 245 seconds]
vinifm has joined #linux-sunxi
<ssvb> hramrach: yeah, looking at vlc/cedarxs code I have also just discovered that there are some special video related ioctls in sunxi disp
<hramrach> yeah, got the fpe in 10s clip
<hramrach> actually the next 10s trigger it too
<hramrach> it's 12mb still :s
<hramrach> the other is 3mb
<hramrach> any idea wehre to put the files?
<ssvb> push into some github repository?
<hramrach> maybe
<ssvb> is the resulting splitted file still playable in ffplay/vlc/mplayer without errors/warnings?
<hramrach> it's mkvtool splitted
<hramrach> should be ok
<ssvb> could it have been possibly corrupted in the first place?
<hramrach> it does not cause fpe in mplayer
<hramrach> corruption is always possibility
<ssvb> adding one or more '-v' options can make mplayer more verbose and noisy
<ssvb> it could complain about something suspicious
<hramrach> flac audio ..
<hramrach> matching crc ..
christopher_ has joined #linux-sunxi
<hramrach> does not seem to cmplain about anything but missing chapters
<hramrach> missing chapters are expected in a few secs clip
christopher_ is now known as anunnaki
_BJFreeman has joined #linux-sunxi
<ssvb> hramrach: regarding bad performance, the CPU usage can be very high thanks to audio sample rate conversion - https://gist.github.com/ssvb/5422200
sanka has joined #linux-sunxi
<ssvb> maybe that's the reason for low fps for some of your 720p videos?
BJfreeman has quit [Ping timeout: 260 seconds]
BJfr33man has joined #linux-sunxi
BJfr33man has quit [Client Quit]
_BJFreeman has quit [Ping timeout: 248 seconds]
BJfreeman has joined #linux-sunxi
<techn__> ssvb: hw should be capable for different sample rates :/
<techn__> atleast DAC can eat 8KHz to 192Khz
<ssvb> techn__: I'm using a USB headset with Mele A2000 (it has no 3.5mm jack and is connected to DVI monitor in my case)
<ssvb> still software sample rate conversion could be a lot less dumb
<ssvb> techn__: you and hramrach are welcome to provide your cedarx/vlc profiling logs :)
<ssvb> so that we could compare how it behaves
<vinifm> I was thinking it would be good to expand 'http://linux-sunxi.org/VLC' into something more complete
Undertasker has left #linux-sunxi [#linux-sunxi]
<vinifm> I could do this, since I'm compiling for myself
<hramrach> how is it incomplete?
<hramrach> I built vlc without problem referring to that page
<vinifm> really?
<vinifm> i build libavcodec-dev right now
<vinifm> i am*
<hramrach> I have one in Debian
<hramrach> apt-get build-dep vlc
<hramrach> or something like that
<vinifm> before, i was build libmad0-dev, in ubuntu
<hramrach> you have those in ubuntu all right
<hramrach> you could optimize them, sure
<hramrach> but when using cedarx there should be not much issue
<vinifm> I intend to play audio and video
<hramrach> and optimizing those is kind of another project
<hramrach> when the video is decoded by cedarx there should be more than enough cpu time to decode audio
<vinifm> I was wondering if you need to compile many libs
<hramrach> maybe
<hramrach> but before you profile what is slow optimizing softcodecs is kind of pointless
<hramrach> it might be the gettimeofday()
<hramrach> or whatever
<vinifm> Do you finds interesting include instructions to build these libs?
<vinifm> Considering it is a hard work
sanka has quit [Quit: Leaving]
<ssvb> vinifm: more instructions than necessary is overwhelming and confusing
<vinifm> ssvb: hum, ok
<ssvb> have you already got cedarx/vlc up and running?
sanka has joined #linux-sunxi
<vinifm> ssvb: no, i am compiling couple libs :)
sanka has quit [Remote host closed the connection]
<ssvb> ok, you are just suspiciously eager to edit the wiki page, so I assumed that you successfully finished installing cedarx/vlc :)
<ssvb> vinifm: are you natively compiling or crosscompiling?
<vinifm> crosscompiling
<ssvb> hramrach: ^
<ssvb> maybe 'apt-get build-dep' is indeed insufficient in this case and you need to compile and install all the dependencies manually
<vinifm> ssvb, yeah, for it I suggested an expansion of the wiki
<ssvb> maybe split it into 'native compilation' and 'crosscompilation' sections
<vinifm> on the other hand would be a particular construction and focused on the ubuntu
<vinifm> may be a problem really
<vinifm> for example, ubuntu have not build-dep
<ssvb> huh?
<vinifm> i am building under ubuntu, but we can not assume that all use ubuntu, correct?
<ssvb> 'apt-get build-dep vlc' should work in all deb based distros
<vinifm> oops
<vinifm> 'apt-get build-dep' or 'apt-get install build-dep'?
<vinifm> ssvb: I modified the wiki to apt-get install build-dep :0
<ssvb> wtf?
<vinifm> sorry :)
<vinifm> but 'host' I believe you're right
<ssvb> 'man apt-get' should provide all the necessary information about the differences between 'install' and 'build-dep' :)
<vinifm> ssvb, ok, I fixed my mistake, sorry again
<vinifm> wiki ok, but I left some things. if you guys deem it unnecessary for me okay
shineworld has quit [Quit: Leaving]
paulk-desktop has quit [Quit: Ex-Chat]
mdfe has quit [Remote host closed the connection]
drachensun has joined #linux-sunxi
tinti_ has quit [Remote host closed the connection]
rellla has joined #linux-sunxi
_BJFreeman has joined #linux-sunxi
vinifm has quit [Quit: Saindo]
BJfreeman has quit [Ping timeout: 255 seconds]
_BJFreeman has quit [Ping timeout: 245 seconds]
_BJFreeman has joined #linux-sunxi
_BJFreeman is now known as BJfreeman
n01 has quit [Ping timeout: 255 seconds]
_BJFreeman has joined #linux-sunxi
BJfreeman has quit [Ping timeout: 240 seconds]
_BJFreeman is now known as BJfreeman
vakkov has quit [Ping timeout: 260 seconds]
vakkov has joined #linux-sunxi
torqu3e has quit [Quit: torqu3e]
tinti has quit [Quit: Leaving]
vakkov has quit [Ping timeout: 264 seconds]
jelly has quit [Read error: Operation timed out]
jelly has joined #linux-sunxi
torqu3e has joined #linux-sunxi