Apertus.Home

From ElphelWiki
Revision as of 02:21, 20 March 2009 by Muroshi (talk | contribs) (History)
Jump to: navigation, search

About this site

This page is created to develop elphel digital cinema cameras.

Are we talking about a revolution? Maybe, or maybe we are only dreamers, but it's cool to be a dreamer with a revolution in mind! :-)

Target Sheet

Target Sheet Vers. 2

History

The cinema camera idea started in the first part of 2006 in the mind of a member of the dvinfo forum, and in March 26th 2006 01:46 AM, FS (I don't use the real name for privacy... FS if you want you can edit the page) started a new thread called High Definition with Elphel model 333 camera. Around one year later that thread had more than 400 responses, at the moment we are close to breaking the 1.000th reply barrier, so searching through them to find good information can be difficult.

This page was born to try to solve that problem. Andrey said to us: "We need to organize data more like a FAQ - the thread is so big."

Model 333 cameras

info about elphel 333

Here are some important links to understand what we have already.

- model 333 general specification

- how the camera works article AJAX, LAMP, and liveDVD for a Linux-based camera on linuxdevices.com

- all the software that you need to use the camera sourceforge.net

- the link to Axis developer's site

- some video and images from the camera on elphel's community videos, on elphel.com, on tacx-video.com and a video by PS, the first image taken from FS with not the best conditions, a low ligth 35mm adapter test and one significant test example of dof from OS

abc

- Example of a cinema camera setup by (D.L) ...and some result with it text test, Bottle D.o.f. test

abc

and good example of what this setup could do:

MOVIES

- May 18th, 2007, 09:28 PM - first short made with the elphel 333 hd camera + 35mm wax adapter by O.S. using that setup:

abc

The autor said:

"Here is a small version of the 'documentary' I made in France. While my girlfriend was working all day in the garden making a path.... I was testing all aspects of the Elphel. Yes, between some shots I helped her a bit, but filmmaking comes first, right?

This short film also proves you can synch a separate audio recording, using the old method with a clap board (in this case I just clapped my hands and said the take number, the same as the Elphel output filename) I used a portable minidisc recorder and it really worked fine. I also used the wax adapter (which really needs to be rebuild to get rid of soft edges), and a 'big' Panasonic TV lens (notice some telephoto close ups of the flowers).

The clip is reduced by half in resolution to upload, and is just a rough cut without color adjustments and some faults in the editing. I'll probably upload the final version at normal resolution of 1600x900 pixels and less compression. I'll post some stills at full size soon.

You can download the (54MB) file here: http://community.elphel.com/videos/RomainSurMeuse2.avi (it's in Xvid compression)"

or the full resolution version Xvid (200MB): http://community.elphel.com/videos/RomainFULL.avi

The new cameras

The new 353 cameras have better specs than 333 and are already available. Here is a fast FAQ:

To better understand how the new hardware works, look at this article on linuxdevices.com: High Resolution Cameras for Web Developers

1. What sensors are available for the 353?

Quoted from 353:

  • Aptina 5MP 1/2.5" Sensor
  • Kodak 11MP Full Frame Sensor
  • Kodak 16MP Full Frame Sensor


2. Is it be possible to record video to a hard drive ?

With interface board 10369 it is possible to write video to SATA HDD or Compact Flash Cards (2 slots). From the software side a tool called camogm takes care of the recording.


3. What format will the recorded data have?

Camogm can record video as quicktime *.mov (MJPEG compression), Ogg Theora *.ogm or as JPEG sequence (even with exif data like geotags).


4. What frame rates / image sizes can be selected?

In general the chips window (only an area of the chip is be used for recording) can be freely modified. The lower the resolution the higher the possible framerate.

HD Standards:

  • 1920x1080p (1920x1088 windowed chip) max. 25.24fps
  • 1280x720p (1/2 binning 1280x720 full frame chip) max. 46.18fps
  • 1280x720p (1280x720 windowed chip) max. 57.91fps

DV Standards (caution: square pixels):

  • 640x480p (4:3 windowed chip) max. 126.11fps
  • 854x480p (16:9 864x480 windowed chip) max. 110.13fps
  • 640x480p(1/3 binning full frame chip) max. 81.95fps
  • 720x576p (4:3 windowed chip) max. 100.36fps
  • 720x576p (1/3 binning full frame chip) max. 66.36fps
  • 1024x576p (16:9 windowed chip) max. 84.53fps


5. If it needs custom programming, where do I find info about tools / language etc? Just need a pointer. Any free compilers?

To be able to do development for these cameras you do not need any expensive (or even non-free-as-in-beer) tools. There are 3 levels (not to count client/PC software) 1 - "Web design" - developing of custom user interface - just any web design tools - you can FTP results to the camera 2 - Software applications to run in the camera - you need a PC running GNU/Linux (any flavor) and software from our Sourceforge project page plus additional - from http://developer.axis.com - our software will tell you what to download. 3 - FPGa code development - free (for download) tools from Xilinx - http://www.xilinx.com/ise/logic_design_prod/webpack.htm


6. Does the camera casing have space to accommodate a small hard drive?

Yes, or CF card.


7. Any idea of power requirements?

Model 333 needs a little under 3W. 353 should need about the same - not to count additional modules - hard drive or flash.


8. Does the camera have a C mount?

CS-mount as it is more universal for cameras - you can install both C and CS lenses


9. If I use a simple SLR mount (Nikon or Canon) to C mount adapter (instead of a ground glass solution), what lens multiplier would be in effect?

That depends on particular sensor that will be used - each sensor usually has info on the Internet.

11. What does the 353 camera and sensor cost?

The same as our previous model had cost: Pricelist


12. Some more details about the 5MP Sensor?

The Aptina 5MP Sensor has a physical size of 5.70mm(H) x 4.28mm(V). Optical format is 1/2.5". But considering that the window of a full HD output only uses around 75% of the chips width the depth of field should be pretty much the same as using a 1/3" prosumer camcorder like the Panasonic HVX200, Sony FX-1 or Canons XL-H1. Aptina claims that the chip has 70db of dynamic range at full resolution and 76db when using 1/2 binning. It outputs 12-bit color data (elphel boards reduces these to 8bit in FPGA? please confirm). It might be possible to overclock the chips (96 MHz) pixel clock to achieve higher fps.

Work In Progress

FPGA

Reading the dvinfo thread you can find someone (Z.H.) that is making some mod. to the current Fpga;

25 may 2007 - this project by Z.H. is in stand-by and he offer up his project for somebody else to take it over.

"If somebody's interested, here's the BloodSimple(TM) codec I wrote and experimented with. It creates a bitstream directly from the bayer input, always taking the difference of pixels as input. It works best if we use the algorithm in interframe mode, which means that we calculate the difference of pixels from the same coordinate of the previous frame. This of course needs that whole frame in memory.

An output sample always begins with a one bit flag (F) which tells the decoder if the following sample has the same bit length (F=0) as the previous one (a length of P) or it is greater with G bits (F=1). This G constant can be set according to the input stream and it will tell the contrast ratio of the generated images: with a T bit input, following pixels usually don't have more difference than T/2 bits. Visually lossless is around T/3 but it can be calculated explicitly in a pre-encoding step if needed. (By having the motion blur of the 1/24sec exposure, the blur caused by fast pans won't cause quality loss in the encoder as it would do with shorter exposure times.) If F=0, the decoder uses the previous P bit length but if the sample's most significant L bits are zero then the next sample will be taken with P-L bits (if that sample's F=0). The encoder knows this and if the next sample's length is greater than P-L then it sets F=1. L is usually set to T/4.

With sample videos (no real bayer input, only some grayscale mjpeg stuff with some artifical noise added) it has produced a 2:1 average ratio which means 2.5:1 with low freq content and 1.5:1 with high freq content (ie. trees with leaves with the sky as background). Because the code is so simple one can use several module instances in an fpga, for example, one for each pixel in a 20x20 block (or whatever the Elphel uses), working in paralell with only the memory bandwith setting the performance limits. However, with a smaller no. of instances it may fit beside the theora module; altough two output streams aren't supported yet. And it's really easy to implement it in verilog which can be a concern if somebody's not an expert"

"I'm afraid there are no verilog programmers here but somebody might pick it up. As for other bayer cameras, I'm not aware of any other which could be freely programmed like the Elphel. And the compression rate is pretty low (just enough for the Elphel, hopefully), perhaps it might be combined with some other algorithm to get better results."

Graphic User Interface (GUI)

For now we have a very good interface with the possibility of modify every single parameter that you can imagine, it is the ccam.cgi that may be get confusion (being incrementally patched from the first model 303 camera), but it is current.

abc

But for converting the elphel in a cinema camera that freedom is more than enough. Also there are some problems; the software and LiveCD give some difficulty, in fact you can't save the setting in an easy way so to prepare the laptop end the camera you have to spend between 10 to 20 minutes to setup all the command lines that had to be entered to optimize Linux for recording, and more command lines to record etc.

If you want to help us please see this page link</gallery>

Designs for rod support

The idea is to make a universal rod support that could mount:

-The Elphel 353 camera

-Any type of small PC (camera controller)

-power source

-Audio interface + microphone

-Most types of 35mm adapters

-Matte box


It is also important that the system is prepared for future hardware changes (like a bigger camera front-end for bigger sensors.)

The following examples are designs by Elphel users/developers:


abc

Design by Sebastian Pichelhofer


abcabcabc

This design by Oscar Spierenburg puts the camera body in a 45° to safe space for the PC. The tablet PC (touchscreen) is placed in 90° (Portrait) position. (Note: this is not a shoulder mount setup, the middle part is the tripod/steadycam mount.)


abcabc

This is a previous prototype by Oscar Spierenburg with the Tablet PC placed on top of the camera.

Shell-Design

Final part list:

- Sensor-Shell

- Controller-Shell with buttons

- Recording-Shell

- Battery-Shell

abc abc abc

- Screen-Shell (TFT Monitor)

abc abc abc

- Audio-Shell

(Please state specs)

- Intelligent-Handle (USB connected)

The parts should be produced in aluminium or/and abs-plastic. All designs need to be open source. It would be good to find a university or shopowner who would participate on this project without personal benifits.