<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<p>Hi james, can you copy exactly the color coding string and email it? In general, fview records in color just fine, just the display doesn't (yet) show color.
<br>
<br>- Andrew
<br>
<br>----- Original message -----
<br>&gt; We need to record video of ant colonies in FView that will be used for
<br>&gt; two things, 1) Ctrax tracking, and 2) 'manual' frame by frame
<br>&gt; behavioral observations.&nbsp; &#32;That second project requires that the ants
<br>&gt; be individually marked with color dots -- so we need to record color
<br>&gt; video.
<br>&gt; 
<br>&gt; We're using a PtGrey Flea2 and Ubuntu 10.04 and all the latest
<br>&gt; releases.&nbsp; &#32;When initializing the camera and choosing a ...MONO8 video
<br>&gt; mode, it works, but this is grayscale.&nbsp; &#32;We get the following error
<br>&gt; message when trying to initialize the camera using any RGB video mode:
<br>&gt; 
<br>&gt; Error opening camera
<br>&gt; mega backend error (/build/buildd/libcamiface - 0.5.8/src/
<br>&gt; cam_iface_mega.c 305): /build/buildd/libcamiface-0.5.8/src/
<br>&gt; cam_iface_dc1394.c (1118): Currently unsupported color coding
<br>&gt; 
<br>&gt; Here is the fview.log:
<br>&gt; 
<br>&gt; /usr/lib/pymodules/python2.6/motmot/cam_iface/choose.py:14:
<br>&gt; UserWarning: only mega backend supported
<br>&gt;&nbsp; &nbsp; &#32;warnings.warn('only mega backend supported')
<br>&gt; /usr/lib/pymodules/python2.6/motmot/cam_iface/choose.py:14:
<br>&gt; UserWarning: only mega backend supported
<br>&gt;&nbsp; &nbsp; &#32;warnings.warn('only mega backend supported')
<br>&gt; Traceback (most recent call last):
<br>&gt;&nbsp; &nbsp; &#32;File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line
<br>&gt; 1702, in OnUpdateROIPanel
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &#32;result=self._get_lbrt()
<br>&gt;&nbsp; &nbsp; &#32;File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line
<br>&gt; 1689, in _get_lbrt
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &#32;return self._mainthread_roi
<br>&gt; AttributeError: 'App' object has no attribute '_mainthread_roi'
<br>&gt; Exception in thread Thread-1:
<br>&gt; Traceback (most recent call last):
<br>&gt;&nbsp; &nbsp; &#32;File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &#32;self.run()
<br>&gt;&nbsp; &nbsp; &#32;File "/usr/lib/python2.6/threading.py", line 484, in run
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &#32;self.__target(*self.__args, **self.__kwargs)
<br>&gt;&nbsp; &nbsp; &#32;File "/usr/lib/pymodules/python2.6/motmot/fview/fview.py", line 193,
<br>&gt; in grab_func
<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp; &#32;cam.start_camera()
<br>&gt;&nbsp; &nbsp; &#32;File
<br>&gt; "/usr/lib/pymodules/python2.6/motmot/cam_iface/cam_iface_ctypes.py",
<br>&gt; line 356, in start_camera&nbsp; &nbsp; &nbsp; &#32;_check_error()
<br>&gt;&nbsp; &nbsp; &#32;File
<br>&gt; "/usr/lib/pymodules/python2.6/motmot/cam_iface/cam_iface_ctypes.py",
<br>&gt; line 292, in _check_error&nbsp; &nbsp; &nbsp; &#32;raise exc_type(err_str)
<br>&gt; CamIFaceError: /build/buildd/libcamiface-0.5.8/src/cam_iface_dc1394.c
<br>&gt; (1215): libdc1394 err -1: Generic failure
<br>&gt; 
<br>&gt; 
<br>&gt; Is there any chance there is a quick fix for this?&nbsp; &#32;If color recording
<br>&gt; is not possible with this camera in FView at this time... can you
<br>&gt; recommend any other programs?&nbsp; &#32;If we absolutely had to, we could
<br>&gt; record grayscale video in FView for use with Ctrax and then record a
<br>&gt; second video in color in another program for the other
<br>&gt; (color-necessary) analysis... but it would be really preferable to
<br>&gt; have these data come from the same source video.
<br>&gt; 
<br>&gt; Thanks for your help!
<br>&gt; 
<br>&gt;&nbsp; &nbsp; &#32;James
<br>&gt; 
<br>&gt; -- 
<br>&gt; ________________________
<br>&gt; School of Life Sciences
<br>&gt; Arizona State University
<br>&gt; PO Box 874601
<br>&gt; Tempe, AZ 85287-4601
<br>&gt; cell: (480) 388-0728
<br>&gt; <a href="http://solsgrads.asu.edu/waters">http://solsgrads.asu.edu/waters</a>
<br>&gt; 
<br><br></p>
</body>
</html>