AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

driver/video/sonix-mos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Display/grab pictures from sonix webcams
Author:pointrider at free.fr (Mathias 'Corto' Parnaudeau)
Uploader:polluks+aminet sdf lonestar org (Stefan Haubenthal)
Type:driver/video
Version:0.40
Architecture:ppc-morphos
URL:http://amigadev.free.fr/sonix/
Date:2021-07-14
Download:http://aminet.net/driver/video/sonix-mos.lha - View contents
Readme:http://aminet.net/driver/video/sonix-mos.readme
Downloads:2462

New in version 0.30 :
- Read FTP settings (url and user) from sonix.cfg file
- Get initial RGB values from the config file as well
- Now works on the 2 Macally Icecam I've tested
  (it one previously black with one of these webcams, due to the lack
  of an initialization sequence)
- Refreshed when reopened after iconification

New in version 0.20 :
- Added FTP support
- The tiny webcam Macally Icecam Portable also works

New in version 0.12 :
- Support of Trust SpaceCam 150 Portable
- Working R, G and B sliders

Notes :
- Compression has been tested expecting higher frame rate but
it is longer ... maybe the webcam needs much time to compress !
- If other webcams (with different chipset) will be supported, the program name
will change


An USB webcam driver !

This program / driver can be used (has been tested) with these webcams :
o Sweex 100K :
  - VendorID = 0x0c45, ProductID = 0x6009 (sensor pas106b)
  - VendorID = 0x0c45, ProductID = 0x6005 (sensor tas5110c1b)
o Trust SpaceCam 150 Portable
  - VendorID = 0x0c45, ProductID = 0x6029
o Macally IceCam Portable
  - VendorID = 0x0c45, ProductID = 0x6007

It supports both USB stacks Poseidon (on MorphOS) and Sirion 
(on AmigaOS 4) and allows to display images using SDL or MUI. 
It has been tested with success on Linux too (SDL frontend only).

Sources will be provided to help those that would be interested to 
learn some things, develop other drivers, enhance the code or give ideas.


Limitations
- It only saves images in "ram:sonix_capture.jpg"
- Sources need to be cleaned but they will be provided in the next version.


Short story

A long time ago, I tried several times to create webcam drivers with the help 
of Linux drivers. But I found that the USB mode isochronous 
(used for data streaming) was not supported by our systems. 
Then, among all my webcams I found one that was supporting the mode bulk 
(raw data transfer).

I finally succeeded to catch images (yeah !) and I shew this work in progress 
at the Huno party, in spring 2008. This old webcam was very hard to find and 
one day there were some available on eBay. What is the interest if I am 
the only guy that can use this driver ? So I bought 3 webcams for the Amiga 
market.

Just trying one of them ... I saw that of course the chipset was different ! 
Let's come back to work, after some time it was working with these webcams 
too. 
The program used SDL and was able to save JPEG images. It was rather 
a developer program with poor GUI and interactive actions to understand 
the behaviour of the beast.

Finally, I started to write a MUI application that you can try today !


Technical note

Trying to work cleanly, the program is split in several modules :
- the main program with MUI
- a dedicated subclass MUIC_Sonix
- the driver layer using the libusb API
- the real USB access, with one file per USB stack (Poseidon and Sirion)


Contents of driver/video/sonix-mos.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 4524    4648  97.3% -lh5- 100c Jun 28  2011 sonix.info
[generic]                   64      74  86.5% -lh5- e710 Jun 28  2011 sonix/sonix.cfg
[generic]                 1556    3163  49.2% -lh5- 6216 Jun 28  2011 sonix/sonix.readme
[generic]              1712362 3814220  44.9% -lh5- 150d Jul 13 00:26 sonix/sonix
[generic]                 4885    4885 100.0% -lh0- ac3e Jul 14 00:53 sonix/sonix.info
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         5 files 1723391 3826990  45.0%            Jul 15 01:22

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>