maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Flashcam project for Linux (bounty for N800?) (https://talk.maemo.org/showthread.php?t=19855)

tz1 2008-05-14 10:52

Re: Flashcam project for Linux (bounty for N800?)
 
I think it is called fcmini or something similar and is run as a daemon from /etc/init.d/flashcam. It loads the module, and starts the daemon.

"ps" should show something when run from the console. Running it twice would give that error message.

Generally the light on the 810 will turn red when a flash app is accessing the camera. That is the program attaching to the hardware.

TabulaRasa 2008-05-14 13:07

Re: Flashcam project for Linux (bounty for N800?)
 
I'll look around for ways that people go the mic to work on the N800. I know it works on the EEE PC and it's just a generic mic running under xandros linux.

tz1 2008-05-14 13:40

Re: Flashcam project for Linux (bounty for N800?)
 
Sound will be a problem - though perhaps not as bad as I'm thinking.

The flash player uses asound (ALSA). The problem is that gstreamer and apparently everything else use something with the DSP, so the /dev/snd/pcmXXYYZ devices aren't created or used. Something simple like aplay/arecord won't work.

I will have to look at libasound2, but what it should be doing is accessing the dsp like gstreamer. I suspect it is just trying to do the /dev/snd stuff.

(Note the ALSA support "help" in the kernel config says it doesn't do the PCM devices, the DSP is supposed to do the dirty work - but the library might be adapted or adaptable).

tz1 2008-05-14 14:01

Re: Flashcam project for Linux (bounty for N800?)
 
The plugins for the DSP under ALSA seem to be there, but I wonder if this is related to the maemo recorder / gstream that seems to disable the mic, then reenables it after some unknown something happens.

Update: aplay and arecord (given the right sample format) work fine. Sometimes. But I haven't got the flash program to find the linux microphone. If it is requesting an unsupported sampling rate (and slow is bad here), it won't work, at least not unless I fidget with the plugin to decimate.

TabulaRasa 2008-05-16 16:15

Re: Flashcam project for Linux (bounty for N800?)
 
Any luck with the microphone in flash? Looking at past posts here a lot of people said that the mic worked but the camera didn't -- but perhaps that was something that was said without any proof.

I'm thinking of putting together a simple flash-based service (formatted for the 800x400 screen) for tablets that works with skype -- you 'd be able to go to the page and send fairly low frame rate video from the tablet and then talk with the skype application. basically, each session would get a temporary link, and clicking on a button would automatically add the link to your clipboard. That way it can kind of ride on top of skype -- assuming audio can't work well thru flash.

TabulaRasa 2008-05-16 16:20

Re: Flashcam project for Linux (bounty for N800?)
 
HAHA, I just ordered another N800 since I saw CompUSA only has a few left.
#1 i gave to my bro-in-law
#2 defective -- enroute back to CompUSA
#3 currently using
#4 to be used as a remote baby monitor. (we have twins on the way -- plus instead of showing photos, I can flash people a live video feed) :-D

tz1 2008-05-16 20:07

Re: Flashcam project for Linux (bounty for N800?)
 
I've delved into libasound.so.2, which is there, but I can't get it to show anything yet. So I'm not sure. It doesn't display "Linux Microphone" in settings like it ought. But I'll try further this weekend.

iamah 2008-05-24 07:28

Re: Flashcam project for Linux (bounty for N800?)
 
hey tz, thanks!
checkout justin.tv, it works on desktop version, but theres a problem in n800, i'm using os2008... theres a similar problem in youtube direct uplload... seems to be waiting for a callback

Thesandlord 2008-05-26 00:09

Re: Flashcam project for Linux (bounty for N800?)
 
any updates on sound or youtube compatibility? Im bursting with anticipation for this as a finished product!

qole 2008-05-26 18:23

Re: Flashcam project for Linux (bounty for N800?)
 
Sound input is not a problem with Flash. The mic on the N8x0 is a big problem, period. There doesn't seem to be any ALSA hardware device mapped to it. The only way I've found that works is using gstreamer. There is a gstreamer source called "dsppcmsrc" (in the dsppcm plugin) that accesses the mic. If anyone found a way to get that working in apps that use ALSA, that would be pretty heroic.


All times are GMT. The time now is 15:54.

vBulletin® Version 3.8.8