<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>
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
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
<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]