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

driver/video/sonix-os4.lha

Mirror:Random
Showing:ppc-amigaosgeneric
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-amigaos
URL:http://amigadev.free.fr/sonix/
Date:2018-07-02
Download:http://aminet.net/driver/video/sonix-os4.lha - View contents
Readme:http://aminet.net/driver/video/sonix-os4.readme
Downloads:760
Display and grab pictures from sonix webcams (sn9c10x)

* How to use sonix

Click on the icon! The interface is now organized with 2 panels: control and
settings. The latter manages saving and FTP parameters (and gives information
about the webcam as well). Once configured, maybe filling the configuration
file, you will just use the control panel, that allows to modify live the
display and the action to apply on each image, choosing an acquisition mode.

New in version 0.40 :
- Added gain/brightness support
- Possible to save file locally
- Added the possibility of incremental saving
- Reworked the GUI to manage changes above
- Source code is provided: I wanted to do that a long time ago but as it was
  an investigation project, the code was not clean enough. I spent time
  to make it better. I hope that will help. Don't hesitate if you have ideas
  or want to contribute. Files are kept in an svn repository so I can apply
  patches or even give access to it to people really interested.

I would like to thank my friend K-L who encouraged me to implement these
features and you know what? I think this app is usable only now for real
use cases. For example, you can send a picture on a website and save it with
an incremented filename, what allows you to make a movie afterwards.
I mainly worked on this feature during the Alchimie show, at mi-october, 2012.
Each time I was stuck about how to organize changes, K-L came to me and
motivated me, until the end of the night. It was challenging!


* 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 are:
- The picture size can't be changed at the moment


* 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)


* Previous releases

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


Contents of driver/video/sonix-os4.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[unknown]              1049829 2605891  40.3% -lh5- 1dfc Nov  3  2012 sonix/sonix
[unknown]                  135     171  78.9% -lh5- 8d8f Nov  3  2012 sonix/sonix.cfg
[unknown]                 2229    4572  48.8% -lh5- befa Nov  3  2012 sonix/sonix.readme
[unknown]                 1238    3615  34.2% -lh5- a669 Nov  3  2012 sonix/src/bayer.c
[unknown]                  197     307  64.2% -lh5- c170 Nov  3  2012 sonix/src/debug.h
[unknown]                 1345    2974  45.2% -lh5- 1d51 Nov  3  2012 sonix/src/ftp.c
[unknown]                 3183   10870  29.3% -lh5- bad0 Nov  3  2012 sonix/src/libusb_poseidon.c
[unknown]                 4035   13854  29.1% -lh5- 9f55 Nov  3  2012 sonix/src/libusb_sirion.c
[unknown]                 2192    6366  34.4% -lh5- 15f8 Nov  3  2012 sonix/src/main.c
[unknown]                  497    1528  32.5% -lh5- ee3a Nov  3  2012 sonix/src/makefile.gcc.amigaos4
[unknown]                  163     308  52.9% -lh5- f508 Nov  3  2012 sonix/src/makefile.gcc.linux
[unknown]                  404    1147  35.2% -lh5- 3bc8 Nov  3  2012 sonix/src/makefile.gcc.morphos
[unknown]                 3634   13345  27.2% -lh5- ff3a Nov  3  2012 sonix/src/mui.c
[unknown]                 4825   16862  28.6% -lh5- 8ec7 Nov  3  2012 sonix/src/MUIC_Sonix.c
[unknown]                  846    2600  32.5% -lh5- 7cca Nov  3  2012 sonix/src/MUIC_Sonix.h
[unknown]                 4370   14780  29.6% -lh5- b732 Nov  3  2012 sonix/src/sirion.c
[unknown]                 8607   34963  24.6% -lh5- a87c Nov  3  2012 sonix/src/sonix.c
[unknown]                  341    1011  33.7% -lh5- e05e Nov  3  2012 sonix/src/sonix.h
[unknown]                 2608    8399  31.1% -lh5- c715 Nov  3  2012 sonix/src/usb.h
[unknown]                  850    2995  28.4% -lh5- 79ab Nov  3  2012 sonix/src/usblistdevices.c
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total        20 files 1091528 2746558  39.7%            Jul  2 21:19

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