Go to advanced search

by JF002
Thu Aug 30, 2012 7:21 pm
Forum: Python
Topic: Play sound (mp3, streams,...) using Python
Replies: 11
Views: 6676

Re: Play sound (mp3, streams,...) using Python

I'm searching for a library I can link my code to in order to use Omxplayer in my sofware. In Windows world, I would call that a DLL ;)
by JF002
Thu Aug 30, 2012 7:17 pm
Forum: Advanced users
Topic: Toolchain for 64bits host computer
Replies: 0
Views: 813

Toolchain for 64bits host computer

Hi ! I'm trying to cross-compile omxplayer on my 64bits host (an Ubuntu virtual machine). I get a lot of error like this : fatal error: bits/predefs.h: No such file or directory It seems that this error is linked to architecture mismatch. Some weeks/months ago, if I remember correctly, there was a 6...
by JF002
Tue Aug 28, 2012 9:01 pm
Forum: Python
Topic: Play sound (mp3, streams,...) using Python
Replies: 11
Views: 6676

Re: Play sound (mp3, streams,...) using Python

Thanks for these links!

The Python interface to OmxPlayer you are using uses pexpect, right? It means that it is interacting with omxplayer using stdin/stdout?

Do you know if a library exists, that would allow me to call some functions (in C) or to instanciate an object (python or c++)?
by JF002
Tue Aug 28, 2012 8:42 pm
Forum: Python
Topic: Play sound (mp3, streams,...) using Python
Replies: 11
Views: 6676

Play sound (mp3, streams,...) using Python

Hi! For my project, I want to be able to play music files (MP3 stored locally or on the network, web streams,...) using Python3 (and PySide/QT4). I found several possibilities : * Phonon (from QT) * Pygame * gstreamer * OmxPlayer ... And I was wondering which was the best solution to play sound file...
by JF002
Wed Aug 08, 2012 3:56 pm
Forum: Raspbian
Topic: Instructions for building XBMC for Raspbian
Replies: 399
Views: 169443

Re: Instructions for building XBMC for Raspbian

I have successfully built XBMC from sources! It took more than 11h (I went to bed after 11h of building...) but it is working!!!

Now, I'm looking at Scratchbox2 to set up a cross compilation environnement... If someone wants to join the party, he is welcome :)
by JF002
Tue Aug 07, 2012 11:13 am
Forum: Raspbian
Topic: Instructions for building XBMC for Raspbian
Replies: 399
Views: 169443

Re: Instructions for building XBMC for Raspbian

I'm currently compiling XBMC on my Pi but... as some of you said before, it will take a long time... Do you think it could be (easily) possible to cross-compile XBMC on a desktop computer? I've already done some cross-compiling, but not with a big project with a lot of dependancies and link to libra...
by JF002
Mon Aug 06, 2012 4:32 pm
Forum: Other projects
Topic: Touchscreens for Raspberry Pi
Replies: 105
Views: 177462

Re: Touchscreens for Raspberry Pi

Hello! I'm searching for a LCD touchscreen (7-10") for my Pi. In this post, you gave a lot of touchscreen references but... do anyone of you have already tried one of these? I know that the critical part is the touch controller, that will be recognized or not by the kernel, but this information is a...
by JF002
Sun Jul 29, 2012 9:16 am
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

I've just installed apache2 and Owncloud on it and it seems to run faster than using Nginx...
It's still slow (~10sec without apc, 3-5 sec with apc) but it seems smoother...

I didn't know that PHP was so heavy and needed so much processing power!
by JF002
Sat Jul 28, 2012 9:25 am
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

Hi JF002, seems that I'm to stupid to send PMs, so here's your answer. I'm running a "normal" Apache 2.2 with no optimisers for PHP, the configs are untouched. In the Install Guide it says you should enable the Apache Mod's rewrite and headers and enable .htaccess files. Did you check the equivalen...
by JF002
Sat Jul 28, 2012 9:03 am
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

I've just installed PHP-APC and the difference is huge!!! Now pages load in ~4s! So, perhaps you were right, benthepoet! I don't understand how it's possible that the processing of PHP code takes more than 30sec on a 700MHZ CPU, but I'm no PHP expert... I think it could be interesting to debug this ...
by JF002
Fri Jul 27, 2012 7:51 pm
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

Another thing : I'm using an external USB hard drive as root file system.
by JF002
Fri Jul 27, 2012 7:43 pm
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

Yes, I forgot to mention that I'm using sqlite... Should be lighter than Mysql, but it doesn't seems to be enough :?
by JF002
Fri Jul 27, 2012 7:18 pm
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

Yeah, I could try php-apc.

But in my mind, there is another issue... I don't thing that the other posts I saw about owncloud/apache mentioned any optimizer...
by JF002
Fri Jul 27, 2012 3:24 pm
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Re: Owncloud is soooo slow!

I'm running nothing else on the Pi and it is connected by a RJ45 wire (100Mbps) to the local network. And I try to access to Owncloud locally, for now. So, I think the only problem is the configuration.
But I don't know where to look for, there are so many parameters in Nginx and PHP/PHP-FPM...
by JF002
Fri Jul 27, 2012 3:11 pm
Forum: Networking and servers
Topic: Owncloud is soooo slow!
Replies: 22
Views: 59656

Owncloud is soooo slow!

Hi everybody! I installed Nginx 1.2.1, php5-fpm and Owncloud 4.0.4. I works but... terribly slowly! It takes about 30sec to display a page. During the rendering of a page, on server-side, I noticed that the process "php-fpm : pool www" uses all the CPU cycles. I saw some posts on the forum and on th...
by JF002
Mon Jul 23, 2012 4:38 pm
Forum: Networking and servers
Topic: Owncloud - need help
Replies: 12
Views: 8035

Re: Owncloud - need help

I installed owncloud on my Pi some days ago, using Nginx, php-fpm and sqlite. I don't have Mysql installed, so it automatically choose sqlite as DB server. I decided to use Sqlite because of the CPU and RAM ressources Mysql would use, as benthepoet said. However, it is very, very, very.... very slow...
by JF002
Mon Jul 16, 2012 8:13 pm
Forum: Networking and servers
Topic: Torrent server
Replies: 197
Views: 120065

Re: Torrent server

I also noticed that after updating with rpi-update, it seems more stable but... it crashes under heavy load (lots of connection, high speed,..).

When I start too many torrent at a time, transmission gets killed by the kernel when the system runs out of memory, which is an expected behaviour.
by JF002
Mon Jul 09, 2012 5:20 pm
Forum: General programming discussion
Topic: [Howto] Cross compile using Eclipse
Replies: 1
Views: 22525

[Howto] Cross compile using Eclipse

Today, I manage to cross compile a simple "Hello world" from a virtual machine running Ubuntu 12.04 to the RaspberryPi. It was one of the first things I wanted to do with my Pi. I find it exciting to write some code on a "standard" computer and see it run on a embedded system based on a totally diff...
by JF002
Mon Jul 09, 2012 4:21 pm
Forum: Networking and servers
Topic: Torrent server
Replies: 197
Views: 120065

Re: Torrent server

Hi! I'm also running a torrent client (Transmission) on my Pi and observed kernel panics during downloads. My setup: * Debian Wheezy (beta image), no firmware or kernel modifications * Download on a USB hard drive (connected on a powered HUB) * In /etc/sysctl.conf, vm.min_free_kbytes is set to 8192 ...

Go to advanced search