Author: MrGoil Date: To: FreeJ mailinglist Subject: Re: [FreeJ] devel meeting in A'dam
ralf lambertz schrieb: >
>
> hi mrgoil
> thank you for your answer
>>> will the next freej versions support v4l2 devices??
>> psst:
>>
>> cam = new MovieLayer("/dev/video/_your_v4l2_device_")
> i need a little time to understand what means /_your_v4l2_device
> normaly i open a video device with /dev/video0 or video1 and so on...
> is /_your_v4l2_device javascript specific?
no. normaly video devices appear as /dev/video0 etc but I also saw
/dev/video/0 so "/dev/video/_your_v4l2_device_" replace with your video
device.
> i ve tried two different analog videocards with freej but ive got an error
> when i want to open it in the console with strg+o /dev/video0
> in mplayer its not a problem to open this devices
the console does some guess on ctrl+o and uses the v4l1 as default. But
that doesn't work with v4l2. The ffmpeg behind the MovieLayer can open
it, via javascript
on console
ctrl-x
v = new MovieLayer(320, 240, "/dev/video0")
ctrl-x
add_layer(v)
320,240 = width, height most devices needs that setup, try different values
>
> later i will post the freej error message,
> the command to open them in mplayer
> and the name of the two analog video devices...
sometimes such devices needs some setup like channel tuning or switching
input. freej doesn't have such features, yet.
> maybe its interesting for newbies and interesting for people who want to buy or found
> cheap and used analog video cards which work good with freej
the "cheap cams" I tested all suck. They need hackish v4l1 kernel
modules, make trouble and have poor quality.
> hope my fricklefrackle english is understandable
never mind mine ;)
MrGoil
> bye
> and code the night away..............................................
>
>
>
>
>
>
>
>
>
>
>