Active Topics

 


Reply
Thread Tools
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#51
Actually there is an ALSA device (libaudio to be more specific) mapped as arecord (and aplay) will work, but it seems that nothing else can use the DSP, and you have to ask it nicely (a DSP supported format, rate, etc.) which gstreamer does and generally won't with the default Flash parameters requested when my laptop is being used. It uses one of the plugin libraries to access the PCM stream via the DSP, so isn't as simple as /dev/dsp or /dev/audio.

Flash binds to libaudio, but I have no evidence it actually tries to access it.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#52
I would really like to be able to use this cool package with software that can only use v4l1 devices (specifically, the current released VLC), but I'm not sure what I would need to do here.

I notice that the original project provides "flashcamwrap" to use with other software. Does this implementation require that? If so, could you include it in your .deb? Or can I just use one of the new video devices (v4l1, video1 and video2)?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#53
My package works "out of the box". Install the deb, and flash recognizes the built-in camera on the n800 and n810.

The "wrap" intercepts open to prevent v4l2 devices from being seen, but my version changes the device name in the .so and runs a daemon that sleeps until something reads from the pipe and then pulls v4l2, convertes it, and sends it to its end of the pipe until the far end stops reading. It also loads the video pipe kernel module, all automatically.

There may be a licensing issue since I change a string in the libflashplayer.so browser plugin file so I wouldn't need the wrapper.
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#54
To clarify, the V4Lv1 device is /dev/v4lv1 or something similar, so if you can point the release vlc at that (do you have a pointer to the deb?) it should just work.

flashcamd sits there, /dev/videoX, X>0 is the push end of the pipe, /dev/v4lv1 is the pull end, and when something starts reading flashcamd opens and forwards video from /dev/video0 (a v4l2 device) through the pipe to /dev/v4lv1 automatically.
 

The Following User Says Thank You to tz1 For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#55
Originally Posted by tz1 View Post
...do you have a pointer to the deb [of the release vlc]?
I'm using Debian in a chroot. I do "mount --bind /dev $CHROOT/dev", that should be enough, no?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Posts: 114 | Thanked: 21 times | Joined on Jun 2006
#56
Has anyone tried this out with Diablo yet? It doesn't seem to be working for me. I reinstalled it from the .deb posted earlier in this thread. Tested it on mebeam.com but it said that it did not detect a camera device.

Thanks
 
Underscore's Avatar
Posts: 276 | Thanked: 74 times | Joined on Feb 2008 @ Missouri, USA
#57
Same for me, Slip. Don't think it's working with Diablo.
 
Posts: 481 | Thanked: 190 times | Joined on Feb 2006 @ Salem, OR
#58
Same here, under Diablo doesn't work.
 
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#59
It doesn't work - they changed something in the libflashcam plugin.

However, if you have the previous release/image, you can copy the /usr/lib/browser/plugins/libflashplayer.so file from that version and it will work in diablo with flashcam.

I'll see if I can find a better work-around.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#60
Originally Posted by tz1 View Post
However, if you have the previous release/image, you can copy the /usr/lib/browser/plugins/libflashplayer.so file from that version and it will work in diablo with flashcam.
Warning! Back up your Diablo libflashplayer.so file, because it has speed enhancements that will be lost when you go back to your Chinook version. I would recommend only using the Chinook version when you want to use flashcam.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:37.