Coder Social home page Coder Social logo

theimagingsource / tiscamera Goto Github PK

View Code? Open in Web Editor NEW
291.0 33.0 144.0 9.98 MB

The Linux SDK for The Imaging Source cameras.

Home Page: https://www.theimagingsource.com

License: Apache License 2.0

C 2.97% C++ 88.83% CMake 6.79% Shell 0.57% Python 0.83%
aravis gige-vision-devices camera v4l2 v4l2-devices udev c-plus-plus c

tiscamera's Introduction

The Imaging Source Linux Repository

This repository will give you additional resources to control your TIS camera.

What do we offer?

  • gstreamer elements
  • gobject introspection
  • uvc extensions
  • utilities
  • examples on how to interact with your camera
  • documentation

Documentation

You can find an online version of the included user documentation here:

https://www.theimagingsource.com/documentation/tiscamera/

Precompiled Debian Packages

Ubuntu 18 lts packages are compatible with ubuntu 22 and ubuntu 24.

As of Ubuntu24.04 LTS arm 32-bit is no longer supported. Please use a supported Release (Ubuntu 18 - Ubuntu 22), or switch to a arm64 release.

API BREAK

Version 1.0.0 introduces several API changes.

To port your software check our upgrade guide

The following device types are not supported going forward:

  • 23G
  • 23U
  • 73U
  • AFU130

A complete compatibility list can be found here: https://www.theimagingsource.com/documentation/tiscamera/supported-devices.html

Dependencies

Compilation

Compilation dependencies for debian can be found be executing:

./scripts/dependency-manager list --compilation

Runtime

Runtime dependencies for debian can by executing:

./scripts/dependency-manager list --runtime

On a Debian / Ubuntu system, the following command line can be used to install all required packages in one go:


./scripts/dependency-manager install

Building tiscamera

The following commands will build and install our software with default settings.

git clone https://github.com/TheImagingSource/tiscamera.git
cd tiscamera
# only works on Debian based systems like Ubuntu
sudo ./scripts/dependency-manager install
mkdir build
cd build

# With ARAVIS:
cmake -DTCAM_BUILD_ARAVIS=ON ..
# Without ARAVIS
cmake -DTCAM_BUILD_ARAVIS=OFF ..

make
sudo make install

The default installation prefix is /usr. Some components have to be installed in /etc and /lib. If you want to change the prefix, read the section installation directories in our documentation.

cmake options

The most important cmake options are:

  • -DTCAM_BUILD_ARAVIS=<ON/OFF> Build tiscamera with support for GigE cameras via aravis.

  • -DTCAM_BUILD_TOOLS=<ON/OFF> Build additional tools for camera interaction (e.g. firmware tools and tcam-capture).

  • -DTCAM_BUILD_V4L2=<ON/OFF> Build tiscamera with support for USB cameras via UVC/V4L2.

  • -DTCAM_BUILD_LIBUSB=<ON/OFF> Build tiscamera with support for USB cameras via LibUsb (i.e. AFU420, AFU050, DFK73).

  • -DTCAM_BUILD_DOCUMENTATION=<ON/OFF> Build html user documentation.

  • -DCMAKE_INSTALL_PREFIX Installation target prefix (defaults to /usr/)

For a complete overview, read the section cmake options in out documentation.

Optional for GigE-Vision devices: Start the tcam-gige-daemon

GigE-Vision cameras have a several seconds long delay before they can be reliably detected on the network.

To speed up this process for applications, a background daemon is built and installed, which detects cameras before an application starts. The following commands will activate the daemon on your system:

sudo systemctl daemon-reload                 # make systemd aware of gige-daemon
sudo systemctl enable tcam-gige-daemon.service    # start on every boot
sudo systemctl start tcam-gige-daemon.service     # start the actual daemon
sudo systemctl status tcam-gige-daemon.service    # check if statemd say everything is ok

Where to go from here

After installation you can try one of our examples or directly start with a gstreamer pipeline like:

gst-launch-1.0 tcambin ! videoconvert ! ximagesink

alternatively start tcam-capture

Questions, etc.

For questions simply open a ticket or write us a mail at [email protected].

Licensing

All files are published under the Apache License 2.0, unless otherwise noted.

Included libraries:
PugiXml 1.6, which is available under the "MIT" license.
The json library by Niels Lohmann, which is available under the "MIT" license.
7z, which is published as public domain.
aravis, which is available under the LGPLv2.
CLI11, available under the 3-Clause BSD-License
Catch2, which is published under the Boost Software License, Version 1.0
spdlog, which is available under the "MIT" license.
fmt, which is available under the "MIT" license.

tiscamera's People

Contributors

copterspace avatar dbulnes avatar edt avatar frankgrimesy avatar g0hl1n avatar gertrozing avatar hitimr avatar jasonkercher avatar jraygauthier avatar lb90 avatar lkucalaba avatar luym11 avatar m923194 avatar p-panagiotidis avatar tis-arne avatar tis-christopher avatar tis-edgar avatar tis-stefan avatar tis-tim avatar unicap avatar v-prgmr avatar xiliugatech avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiscamera's Issues

tiscolorize causes GStreamer-crash

I'm currently trying to connect a DFM 42BUC03-ML to a Raspberry Pi. I follwed the Instructions given here and here, as it seems correctly:

root@raspberrypi-Helmut:~/tiscamera/tools/euvccam-fw# ./euvccam-fw -p
Manufacturer String: The Imaging Source Europe GmbH
Product String: DFM 42BUC03-ML
Serial Number String: 49410127
PID: 8308
Flags: 1

But if I now try to access the camera with GStreamer, like suggested in the Wiki, tiscolorize causes a crash:

root@raspberrypi-Helmut:~# gst-launch-0.10 v4l2src ! video/x-raw-gray,width=1280,height=960,framerate=30/1 ! tis_auto_exposure ! tiscolorize ! tiswhitebalance ! bayer2rgb ! ffmpegcolorspace ! videoscale ! ximagesink
Leitung wird auf PAUSIERT gesetzt ...
Leitung ist aktiv und erfordert keinen VORLAUF โ€ฆ
Leitung wird auf ABSPIELEN gesetzt ...
New clock: GstSystemClock
Caught SIGSEGV accessing address 0xb502e000
#0  0xb6c96a70 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6d9a5f0 in g_main_context_poll (n_fds=1, fds=0x1d8b968, timeout=250, 
#2  g_main_context_iterate (dispatch=1, block=1, context=0x1d9d278, 
#3  g_main_context_iterate (context=0x1d9d278, block=1, dispatch=1, 
#4  0xb6d9a998 in g_main_loop_run (loop=0x1d8dde8)
#5  0xb6ec14b0 in gst_bus_poll (bus=0x1c40020, events=<optimized out>, 
#6  0x0000c3f0 in event_loop (pipeline=0x1d82058, blocking=1, target_state=46)
#7  0x0000bdd4 in main (argc=41347, argv=0xbec7a644) at gst-launch.c:1157

Without tiscolorize I get no output, with tiscolorize my system get's stuck. A bit more detailed:

root@raspberrypi-Helmut:~# gst-launch-0.10 --gst-debug-no-color --gst-debug-level=3 v4l2src ! video/x-raw-gray,width=1280,height=960,framerate=30/1 ! tis_auto_exposure ! tiscolorize ! tiswhitebalance ! bayer2rgb ! ffmpegcolorspace ! videoscale ! ximagesink
[โ€ฆsnipโ€ฆ]
0:00:03.869112641  9794  0x18e3150 WARN       tis_auto_exposure tis_auto_exposure:336:gst_tis_auto_exposure_fixate_caps: Structure name video/x-raw-gray

0:00:03.894418612  9794  0x18e3150 INFO       tis_auto_exposure tis_auto_exposure:450:init_camera_resources: Exposure boundaries are 1,000000 333,000000
0:00:03.894853594  9794  0x18e3150 INFO       tis_auto_exposure tis_auto_exposure:450:init_camera_resources: Gain boundaries are 34,000000 255,000000
0:00:03.895428571  9794  0x18e3150 INFO           basetransform gstbasetransform.c:1264:gst_base_transform_setcaps:<tis_auto_exposure0> reuse caps
0:00:03.928246236  9794  0x18e3150 INFO             tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video0
0:00:03.928709217  9794  0x18e3150 INFO             tiscolorize tiscolorize:280:get_product_id: Found product id 8308 for device /dev/video0
0:00:03.929061203  9794  0x18e3150 INFO             tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video0 to grbg
0:00:03.936137915  9794  0x18e3150 INFO             tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video0
0:00:03.947238464  9794  0x18e3150 INFO             tiscolorize tiscolorize:280:get_product_id: Found product id 8308 for device /dev/video0
0:00:03.947668446  9794  0x18e3150 INFO             tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video0 to grbg
0:00:03.958713997  9794  0x18e3150 INFO         tiswhitebalance gst_tiswhitebalance:0:gst_tiswhitebalance_fixate_caps: Using bayer format grbg for whitebalancing.
0:00:04.003699167  9794  0x18e3150 INFO         tiswhitebalance gst_tiswhitebalance:0:gst_tiswhitebalance_fixate_caps: Using bayer format grbg for whitebalancing.
0:00:04.017368611  9794  0x18e3150 INFO           basetransform gstbasetransform.c:1264:gst_base_transform_setcaps:<tiswhitebalance0> reuse caps
Caught SIGSEGV accessing address 0xb4fdae29
#0  0xb6c42a70 in poll () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6d465f0 in g_main_context_poll (n_fds=1, fds=0x18eefe8, timeout=250, 
#2  g_main_context_iterate (dispatch=1, block=1, context=0x18f7648, 
#3  g_main_context_iterate (context=0x18f7648, block=1, dispatch=1, 
#4  0xb6d46998 in g_main_loop_run (loop=0x18f8368)
#5  0xb6e6d4b0 in gst_bus_poll (bus=0x179b020, events=<optimized out>, 
#6  0x0000c3f0 in event_loop (pipeline=0x18de058, blocking=1, target_state=46)
#7  0x0000bdd4 in main (argc=41347, argv=0xbec16614) at gst-launch.c:1157
Spinning.  Please run 'gdb gst-launch 9794' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

If I get this right, there are some library issues, but I'm not sure where to start looking for them.

Thanks in advance for all help!
Lars

Missing installation steps

Hello all,

I am trying to install this library for our camera (DBK 72BUC02 [0813]) in a virtualized (virtualbox software) Ubuntu Mint Petra "16" kernel (3.11.0-12 generic), but It can't execute the example (folder examples/gstreamer-0.10/python) gstexample.py.....
I installed all necessary dependencies in my OS and followed the steps from the README.md... (bootstrap.sh, configure. make...).
Finally, when I tried to execute the python script, i got:

Traceback (most recent call last):
File "./gstexample.py", line 167, in
app.create_pipelines()
File "./gstexample.py", line 142, in create_pipelines
% (DEVICE,))
glib.GError: no element "tiscamerasrc"

Furthermore, i had another poblem which should be related. My Ubuntu finds the camera device:
[ 2115.200226] usb 1-2: new full-speed USB device number 5 using ohci-pci
[ 2115.654440] usb 1-2: New USB device found, idVendor=199e, idProduct=8207
[ 2115.654481] usb 1-2: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 2115.654492] usb 1-2: Product: DBK 72BUC02
[ 2115.654501] usb 1-2: Manufacturer: The Imaging Source Europe GmbH
[ 2115.654509] usb 1-2: SerialNumber: 31310249

But i don't have any "/dev/video*".....
I was checking the code and it seems that there are more steps to configure the O.S (in the folder data seems that there are files to configure some daemon linux...)
I paste my listmod: https://gist.github.com/carlosb1/847475e4096d7e9a68c6

I am confused, i would appreciate any help or some idea to configure this project in my linux..

Regards

Neximage 5MP support

Hi,

I am trying to make a Neximage 5MP working on Raspberry PI2.
I was wondering if this camera is supported by your software, if so, which firmware should I use?

Thanks
F.

Sample code in c/cpp for USB2.0 in LINUX?

Could you please tell me where is the sample code for Linux operating system using a 2.0 camera.
OR How can I modify the sample code of GIGE cam so that it works with usb2.0 also.

While I connected two more same camera, /dev/video* lost!!

Hello all,

I have several DMK 42BUC03 camera and I want to grab images by Linux.
I used this sample code on my Lubuntu14.04 (https://gist.github.com/TIS-Edgar/10f04501f49b6b3bf75e),
and everything is fine by using only one camera.
But two question occurred.

Today I want try two same camera and I can find video0&1 at first.
But after I restart my PC, I can't find any /dev/video* !!!
I can find imagingsource camera by
$lsusb
And it returns

Bus 001 Device 002: ID 199e:8208 The Imaging Source Europe GmbH
Bus 001 Device 008: ID 199e:8208 The Imaging Source Europe GmbH

How can I solve this question?

And my second question is:
How I can get capture by using two more same camera(42BUC03).
I tried to change code in main.cpp (open_device((char_)"/dev/video0");), but it can't get two camera capture at the same time before I lost my /dev/video_
Can anyone tell me how can I get several capture by same camera?

thanks all,
-ccrb

VIDIOC_DQBUF error 5, Input/output error

Hello, all

I tried just change
open_device((char*)"/dev/video1");
and make two different opencv-test output to use.
But while I use one named "opencv-test1"(video0), and open another terminal to execute "opencv-test2"(video1), one of them will shut down and return

VIDIOC_DQBUF error 5, Input/output error

How can I get two frames easily and can be used for process.....

thanks a lot

All the best,

ccrb

Cannot capture images in OpenCV in UVC mode

Hi,

I have a DFK 42AUC03 camera and I want to grab images using OpenCV in Linux. Using euvccam-fw tool, I've updated the firmware to dmk42uc03_143.euvc and switched camera to UVC mode.

guvcview now gives a grayscale video stream in 1280x960. Here is log of running guvcview with --verbose switch: http://textuploader.com/kleq.

I couldn't find a way to get a color image in guvcview. Changing the Camera output to RGB3 caused guvcview to be closed with this error:

libv4l2: error dequeuing buf: Invalid argument
VIDIOC_DQBUF - Unable to dequeue buffer : Invalid argument

Also, I have a problem in capturing image using OpenCV. This simple code which capture image from the camera:

#include <stdio.h>
#include <opencv2/opencv.hpp>
#include <iostream>
using namespace cv;
using namespace std;

int main(int argc, char** argv )
{
    VideoCapture cap(0);
    Mat img;

    if(cap.isOpened())
        cout << "Device opened." << endl;
    else
        cout << "Device not opened." << endl;

    cap >> img;
    if(!img.empty())
    {
        imwrite("frame.bmp",img);
        cout << "Capture success!" << endl;
    }
    else
    {
        cout << "Capture failed." << endl;
    }

    return 0;
}

Gives the following errors:

libv4l2: error setting pixformat: Invalid argument
HIGHGUI ERROR: libv4l unable to ioctl S_FMT
libv4l2: error setting pixformat: Invalid argument
libv4l1: error setting pixformat: Invalid argument
HIGHGUI ERROR: libv4l unable to ioctl VIDIOCSPICT

Device not opened.
Capture failed.

I wonder if I should set some parameters before using VideoCapture object (I have tried settings resolution which didn't help and I couldn't find a way to set the pixel-format).

Getting Aravis example code work for DMK23G274

Hi,

I am trying to get stream from DMK23G274 in C++ code using Aravis library on the ARM board with Ubuntu server. I've downloaded Aravis 0.3.6 from the repository:

https://git.gnome.org/browse/aravis/snapshot/ARAVIS_0_3_6.tar.xz

and after installing various packages, I finally was able to configure, compile and install aravis:

./autogen.sh --enable-gst-0.10-plugin --enable-gst-plugin
make
make install 

The aravis example program now compiles, but running it gives the following error:

gstaravis could not be created.

I tried to capture images using gst-launch tool:

gst-launch-0.10 --gst-plugin-load=/root/ARAVIS_0_3_6/gst-0.10/.libs/libgstaravis-0.4.so aravissrc ! video/x-raw-gray,width=1600,height=1200,framerate=3/1 ! jpegenc ! filesink location=capture1.jpeg

By running this command I get the following output.

Setting pipeline to PAUSED ...

(gst-launch-0.10:30230): GStreamer-CRITICAL **: range start is not smaller than end for `GstIntRange'

(gst-launch-0.10:30230): GStreamer-CRITICAL **: range start is not smaller than end for `GstIntRange'
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock

This commands blocks until so I guess it has connected to the camera. However, the created capture1.jpeg is a zero-length file.

General output Pin in Linux

I would like to know in what way, if possible, I can control the General output Pin of the board monochrome camera? Programatically if possible.

Cannot capture images in OpenCV (DMK 42BUC03)

Hello all,

I have a DMK 42BUC03 camera and I want to grab images using OpenCV in Linux.
I used this sample code on my Lubuntu14.04 (https://gist.github.com/TIS-Edgar/10f04501f49b6b3bf75e), and
$make
these files.

But it returns:

/tmp/ccS7nNEK.o: In function ShowImage(char*, _IplImage*, int)': /home/ccrb/Downloads/test/main.cpp:10: undefined reference tocvNamedWindow'
/home/ccrb/Downloads/test/main.cpp:11: undefined reference to cvShowImage' /home/ccrb/Downloads/test/main.cpp:12: undefined reference tocvWaitKey'
/home/ccrb/Downloads/test/main.cpp:13: undefined reference to cvDestroyWindow' /tmp/ccS7nNEK.o: In functionmain':
/home/ccrb/Downloads/test/main.cpp:31: undefined reference to cvNamedWindow' /home/ccrb/Downloads/test/main.cpp:37: undefined reference tocvCreateImage'
/home/ccrb/Downloads/test/main.cpp:38: undefined reference to cvCreateImage' /home/ccrb/Downloads/test/main.cpp:61: undefined reference tocvCvtColor'
/home/ccrb/Downloads/test/main.cpp:63: undefined reference to cvShowImage' /home/ccrb/Downloads/test/main.cpp:64: undefined reference tocvWaitKey'
/home/ccrb/Downloads/test/main.cpp:73: undefined reference to `cvDestroyWindow'
collect2: error: ld returned 1 exit status
make: *** [opencv-test] Error 1

on my terminal...
Can anyone tell me how to solve this question?

I want capture images with my Lubuntu and can use opencv libraries(by C/C++) to process images...

thanks all,
ccrb

DFM 22BUC03-ML with OpenCV without gstreamer

Hi,

is it posible to get the DFM 22BUC03-ML camera to work with OpenCV under Linux without gstreamer?

I get a picture, but 3 instead of one and I don't know, how to get your gstreamer-modules into OpenCV.

Is it difficult to have tiscamera gstreamer plugin to support GStreamer-1.0 API?

Although not able to have GStreamer-0.10 pipeline working for my "DFx 22BUC03", the GStreamer-1.0 do works. Here's the pipeline:

gst-launch-1.0 v4l2src device=/dev/video1 ! video/x-raw,format=GRAY8,width=744,height=480 ! videoconvert ! xvimagesink

Question:
Is it difficult to have tiscamera gstreamer plugin to support GStreamer-1.0 API?

Release the memory in arvcameratest.c

Hi,

I have a question about the release of the memory in arvcameratest.c of ARAVIS 0_3_3. I modified the program to handle several cameras with one program alternately. This program makes a loop that one camera takes a snapshot with a software trigger and the analysis of the image is done and then it goes to the next camera and do the same procedure. As a start point, I ran the program with only a single camera. Then I found the short of memory after some loops. I inserted system("free") to check how the amount of free memory is decreasing. I found that setting the callback function written in every loop might be suspicious.
l.261 g_signal_connect (stream, "new-buffer", G_CALLBACK (new_buffer_cb), &data);

I guess that unset of the callback function or releasing the memory of "data" is necessary to avoid the problem. If you know anything, could you teach me how to do that?

Incorrect exposure control in DMM 42BUC03-ML

Camera: DMM 42BUC03-ML
Firmware: dmk42uc03_143.euvc

The V4L2 specification gives 1/10000 sec as a base unit for absolute exposure.
See here (V4L2_CID_EXPOSURE_ABSOLUTE):
http://www.linuxtv.org/downloads/legacy/video4linux/API/V4L2_API/spec-single/v4l2.html

It seems it is not implemented this way in the camera. Below are brightness values of an object measured for different exposure settings.
[exposure_absolute] [measured brightness]
1 50
2 68
3 100
4 120
5 150
6 171
7 200
8 225

So 6/10000 (->171) should give twice the brightness of 3/10000 (->100), but this is not the case. It makes more sense, if 1 is in fact 2, 2 is 3, and so forth. Then:
1 -> 2 -> 2/10000 -> 50
3 -> 4 -> 4/10000 -> 100

Is that how it works? In that case, it is not possible to set 1/10000 sec which is the shortest exposure time specified for this camera. My application requires such short exposure times, so I would like to clarify and know what exposure time I am actually using, and I would also like to be able to set 1/10000 sec.

Can't see Color Video and gstreamer error "WARNING: erroneous pipeline: no element "bayer2rgb"""

Hello,
I'm using USB 3.0 supported DFK23UX236 camera module on Ubuntu 14.04 system. I can see video using "guvcview" command but it's showing grey. I followed all the steps mentioned for buiding gstreamer module. I am getting following error after applying command for gstreamer:

root@alpr-LGE-MAINBD:~# gst-launch-0.10 v4l2src ! video/x-raw-gray ! tisvideobufferfilter ! tis_auto_exposure ! tiscolorize ! queue ! tiswhitebalance ! queue ! bayer2rgb ! queue ! ffmpegcolorspace ! ximagesink
WARNING: erroneous pipeline: no element "bayer2rgb"

The formats for camera module are shown beow:
alpr@alpr-LGE-MAINBD:~$ v4l2-ctl --list-formats -d /dev/video1
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'GREY'
Name : Greyscale 8-bit (Y800)

Index       : 1
Type        : Video Capture
Pixel Format: 'GBRG'
Name        : GBRG Bayer (GBRG)

Index       : 2
Type        : Video Capture
Pixel Format: 'Y16 '
Name        : Greyscale 16-bit (Y16 )

Index       : 3
Type        : Video Capture
Pixel Format: ''
Name        : 36314247-0000-0010-8000-00aa003

Thanks in advance.

Are all ImagingSource cameras supported?

I'm trying to install a DMK31AU03.AS under Fedora20 (kernel 3.13.6 64bit).
When I plugged it in the device is detected (the following lines are from dmesg):

[ 4.243080] usb 1-5.4.4: new high-speed USB device number 5 using ehci-pci
[ 4.329954] usb 1-5.4.4: New USB device found, idVendor=199e, idProduct=8101
[ 4.329960] usb 1-5.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4.329963] usb 1-5.4.4: Product: DMx 31AU03.AS
[ 4.329966] usb 1-5.4.4: Manufacturer: The Imaging Source Europe GmbH
[ 4.329969] usb 1-5.4.4: SerialNumber: 31310375

I have successfully compiled and in installed code from tiscamera/src/ and followed instructions from the wiki (https://github.com/TheImagingSource/tiscamera/wiki/Getting-Started-with-USB-Cameras)
But the command
$ sudo ./euvccam-fw -p
failed with the error message
Device not found.
(/dev/video0 doesn't exist).

Are all USB2 ImagingSource cameras supported or we need a specific firmware for DMK31?

Thanks for your help (and for your code!)

Strobe output on DMK 23UM021

I have an USB3.0 camera DMK 23UM021 and try to get a synchronisation output, like a strobe, or a trigger to synchronize the my illumination with the frames.

uvcdynctrl -l give me this:
Listing available devices:
video0 DMK 23UM021
Media controller device /dev/media0 doesn't exist
ERROR: Unable to list device entities: Invalid device or device cannot be opened. (Code: 5)

and
uvcdynctrl -c
Listing available controls for device video0:
Gain
Exposure (Absolute)

Can anybody give me a hint?

Motion blur for short exposure times in DMM 42BUC03-ML

Unfortunately, another problem with this camera, this time a critical one.

We are experiencing a strange problem with light apparently "leaking" into the pixels, which results in kind of motion blur appearing in the case of short exposure times.

Please refer to this dataset: https://drive.google.com/open?id=0B1XDXh7oI3etM08zN1VPdDNOUms

There are three datasets there, each for different exposure time: 1/10000sec, 1/5000sec and 1/500sec. There is also a marked up image.

The camera was being rotated from side to side during the capturing. For 1/10000sec and 1/5000sec, there is motion blur visible on both sides of the circular pattern. The pattern is well exposed, with the exposure consistent with the rest of the frame, while the motion blur is just a ghost. For 1/500sec, this phenomenon is not visible.

It was tested with both the Windows and Linux firmware. Resolution was 1280x960 @15fps.

For reference, we also tried a smartphone camera, which used 1/3000sec and did not show any such problems.

I have the following theory for the mechanism how this happens. The light "leaks" into the pixels outside the desired exposure time. The blur smudge is quite long, so the corresponding time is in the same range as the frame rate (1/15sec). For short exposures, it results in the appearance of the ghost. For longer exposures, the difference in amount of light between the "leaking" and the actual exposure is larger and the ghost does not appear.

There is also another strange behavior, it does not seem to be related to the problem above, but maybe it is an indication of some general problems with the sensor. In some areas of the image, there are dark pixel rows every other row. It is marked up in the image in the dataset.

As the camera can experience such quick movements in our application and short exposure times are necessary, this problem renders the camera inadequate for our application at this time. I would appreciate a quick response, as we will need to make a decision whether there is a resolution here or we need to move on and try another product, which would be disappointing.

Thanks,

Tom

Errors loading USB2 camera XML description file

When calling sudo uvcdynctrl -i tisEUVC.xml -d /dev/video0 the following output is generated:

[libwebcam] Unknown V4L2 user control ID encountered: 0x00980920 (V4L2_CID_USER_BASE + 32)
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980924 (V4L2_CID_USER_BASE + 36)
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980926 (V4L2_CID_USER_BASE + 38)
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980927 (V4L2_CID_USER_BASE + 39)
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980928 (V4L2_CID_USER_BASE + 40)
[libwebcam] Unknown V4L2 user control ID encountered: 0x00980930 (V4L2_CID_USER_BASE + 48)
Importing dynamic controls from file tisEUVC.xml.
tisEUVC.xml: error: video0: unable to map 'ExtIO' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
tisEUVC.xml: error: video0: unable to map 'GainR' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
tisEUVC.xml: error: video0: unable to map 'GainG' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
tisEUVC.xml: error: video0: unable to map 'GainB' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
tisEUVC.xml: error: video0: unable to map 'Trigger' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
tisEUVC.xml: error: video0: unable to map 'Trigger Global Reset Shutter' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
tisEUVC.xml: error: video0: unable to map 'Software Trigger' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
tisEUVC.xml: error: video0: unable to map 'Binning' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
tisEUVC.xml: error: video0: unable to map 'Skipping' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
tisEUVC.xml: error: video0: unable to map 'X Offset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
tisEUVC.xml: error: video0: unable to map 'Y Offset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)

When attempting to use this camera with guvcview the program's trigger checkbox is ignored by the camera, hence cannot use triggering with this camera.

The camera is DFK 22BUC03 running on Raspberry Pi B+. Calling v4l2-ctl --all shows that the camera supports trigger (bool), trigger_global_reset_shutter (bool), and privacy (bool).

Snap image with Gig-E camera

Dear all,

Now I and my colleague are trying to simply snap the image with the camera DMK 23GM021, employing Gigabit-ethernet communication (Product of Imaging Source company).
We have used arvcameratest.c and related libraries provided athttps://github.com/TheImagingSource/tiscamera/wiki/Aravis.
However, this program seems to capture an image as one shot in the video. This is different from what we want. We want to simply capture an image at an arbitrary time and take images a few times with a short interval (~10ms). The video mode takes a longer dead time (~500ms) than the time we want to achieve. We also want to make a loop of the process using several cameras, i.e., taking an image one after another with different cameras. So we are afraid that the memory buffer is saturated if the video mode is used because we need a few images and others are stored in the buffer.

If you know how to take a snap shot and shorten the dead time or have any suggestions, could you teach us?

We really need your help.

Best regards,

focus_absolute

Hello,

I'd like to know what the variable focus_absolute is for. I tried to change the value but nothing seems to happen.

The camera model is dfk72buc02.

thanks

Firmware Update Necessary for DFK 23UM021?

Hello,

I am now trying to create stereo camera with two DFK 23UM021 with Ubuntu15.04.
For synchronizing purposes, I need to use software trigger functionality.
However, it seems that trigger functions are not available with my cams.
With "sudo uvcdynctrl -i usb3.xml -d /dev/video0", I got the following messages.


[libwebcam] Unknown V4L2 control ID encountered: 0x0199E201
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E201, name = 'Exposure Time (us)'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E204
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E204, name = 'Gain (dB/100)'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E218
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E218, name = 'ROI Offset X'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E219
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E219, name = 'ROI Offset Y'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E220
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E220, name = 'ROI Auto Center'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E201
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E201, name = 'Exposure Time (us)'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E204
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E204, name = 'Gain (dB/100)'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E218
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E218, name = 'ROI Offset X'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E219
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E219, name = 'ROI Offset Y'
[libwebcam] Unknown V4L2 control ID encountered: 0x0199E220
[libwebcam] Invalid or unsupported V4L2 control encountered: ctrl_id = 0x0199E220, name = 'ROI Auto Center'
Importing dynamic controls from file usb3.xml.
usb3.xml: error: video0: unable to map 'Exposure Time (us)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
usb3.xml: error: video0: unable to map 'Auto Shutter' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Exposure Reference' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Gain (dB/100)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
usb3.xml: error: video0: unable to map 'Gain Auto' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Whitebalance One Push' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Whitebalance Preset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Mode' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Polarity' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Global Reset Release' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Software Trigger' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Delay' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Enable' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Polarity' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Exposure' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Duration' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Delay' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'GPOUT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'GPIN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ROI Offset X' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
usb3.xml: error: video0: unable to map 'ROI Offset Y' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
usb3.xml: error: video0: unable to map 'ROI Auto Center' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 17: File exists)
usb3.xml: error: video0: unable to map 'Auto Focus One Push' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus ROI Enable' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus ROI Left' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus ROI Top' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Enable' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Gain' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Enable Wide D' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Contrast' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Contrast Auto' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Chroma' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Image Stabilization' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Noise Reduction' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Face Detection' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Flip Horizontal' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Flip Vertical' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)


I got the following information with firmware-update -i


Device manufacturer: The Imaging Source Europe GmbH
Product name: DFK 23UM021
Serial number: 41510122
VendorID:ProductID: 199e:8455
Firmware version: 439

Device manufacturer: The Imaging Source Europe GmbH
Product name: DFK 23UM021
Serial number: 41510125
VendorID:ProductID: 199e:8455
Firmware version: 439


Do I need to update firmware? Your answer will be very appreciated!
Thank you in advance.
Koichi

Forcing DHCP state with camera-ip-conf

Hello,

I'm having problems with the DHCP configuration of a DMK23G445. The camera is connected to a switch, the switch is connected to a ADSL box. No subnets are configured, I'm expecting that when the network goes up after a cut-off (the network is not very reliable... :( ) the camera will ask the box DNS for an IP address in the correct range (192.168.X.X). This is not the case: the camera obtain a strange address (169.254.X.X DHCP server is not found?).
camera-ip-conf-cli info tell me that DHCP is off and Current Gateway is 0.0.0.0
Using camera-ip-conf-cli allowed me to force dhcp and gateway only if the IP address is specified.
For the project I'm involved in, soon, the number of cameras I will manage will increase and fixing the IP address for each camera avoiding superposition with local network is not easy in an automatic way.
Do you think it could be possible (and interesting for you) to just force the gateway and DHCP use with camera-ip-conf-cli?
Thanks for listening,
Chiara

USB3 UVC Extensions Fail to Import

I'm reporting this as an issue because import XML and installation instructions come from this code repository.

My USB3 model, DFK 23UM021, camera is not setting up correctly. I can install the udev rules fine following these instructions: https://github.com/TheImagingSource/tiscamera/wiki/UDEV-Rules. However, when I try to install the uvc extensions, I receive a flood of errors. I'm working on a Debian Jessie machine. I'm following the instructions as noted here: https://github.com/TheImagingSource/tiscamera/wiki/UVC-Extension-Units . Every single extension produces a "error 2: No such file or directory" message.

I am using a fairly new kernel version:

Linux i7 3.12-1-amd64 #1 SMP Debian 3.12.9-1 (2014-02-01) x86_64 GNU/Linux

Linux indicates that the device is detected:

$ dmesg
...[10242.924068] usb 6-2: new SuperSpeed USB device number 3 using xhci_hcd
[10242.947071] usb 6-2: New USB device found, idVendor=199e, idProduct=8455
[10242.947076] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10242.947079] usb 6-2: Product: DFK 23UM021
[10242.947081] usb 6-2: Manufacturer: The Imaging Source Europe GmbH
[10242.947084] usb 6-2: SerialNumber: 42310118
[10242.947833] uvcvideo: Found UVC 1.10 device DFK 23UM021 (199e:8455)
$ lsusb; lsusb -t
...
Bus 006 Device 003: ID 199e:8455 The Imaging Source Europe GmbH 
...
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
    |__ Port 2: Dev 3, If 0, Class=Video, Driver=uvcvideo, 5000M
    |__ Port 2: Dev 3, If 1, Class=Video, Driver=uvcvideo, 5000M
...

Console output of uvcdynctrl when trying to import extensions:

mfisher@i7:~/workspace/video/tiscamera/data/uvc-extensions$ sudo uvcdynctrl -i usb3.xml -d /dev/video0
Importing dynamic controls from file usb3.xml.
usb3.xml: error: video0: unable to map 'Exposure Time (us)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Shutter' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Exposure Reference' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Gain (dB/100)' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Gain Auto' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Whitebalance One Push' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Whitebalance Preset' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Mode' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Polarity' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Global Reset Release' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Software Trigger' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Trigger Delay' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Enable' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Polarity' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Exposure' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Duration' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Strobe Delay' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'GPOUT' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'GPIN' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ROI Offset X' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ROI Offset Y' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ROI Auto Center' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus One Push' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus ROI Enable' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus ROI Left' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Auto Focus ROI Top' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Enable' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Gain' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Enable Wide D' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Contrast' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Contrast Auto' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'ATR Chroma' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Image Stabilization' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Noise Reduction' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
usb3.xml: error: video0: unable to map 'Face Detection' control. ioctl(UVCIOC_CTRL_MAP) failed with return value -1 (error 2: No such file or directory)
mfisher@i7:~/workspace/video/tiscamera/data/uvc-extensions$ ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 Aug 13 10:08 /dev/video0

could not link tiscolorize0 to tiswhitebalance0

I followed the "Linux Support via Gstreamer Modules" wiki page for tiscolorize and got the following error message:

$ export GST_PLUGIN_PATH=$PWD
$ gst-launch-0.10 -v v4l2src device=/dev/video1 ! tiscolorize ! tiswhitebalance ! bayer2rgb ! ffmpegcolorspace ! xvimagesink
WARNING: erroneous pipeline: could not link tiscolorize0 to tiswhitebalance0

Does DFK21BU04 camera support trigger and exporsure function?

hello?

i'm trying to make an application which take a snap shot triggered by external signal.

i'm using a respberry pi and DFK21BU04.

trigger and exporsure function are required.

bellow shows the functions that it support.

however there are no trigger function and exporsure function.

are there no way to make my application except buying a new camera?

pi@raspberrypi ~/opencv $ v4l2-ctl --all
Driver Info (not using libv4l2):
Driver name : uvcvideo
Card type : DFx 21BU04
Bus info : usb-bcm2708_usb-1.2
Driver version: 3.18.7
Capabilities : 0x84000001
Video Capture
Streaming
Device Capabilities
Device Caps : 0x04000001
Video Capture
Streaming
Priority: 2
Video input : 0 (Input 4: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'GREY'
Field : None
Bytes per Line: 640
Size Image : 307200
Colorspace : Unknown (00000000)
Crop Capability Video Capture:
Bounds : Left 0, Top 0, Width 640, Height 480
Default : Left 0, Top 0, Width 640, Height 480
Pixel Aspect: 1/1
Streaming Parameters Video Capture:
Capabilities : timeperframe
Frames per second: 30.000 (30/1)
Read buffers : 0
brightness (int) : min=0 max=63 step=1 default=-8193 value=0
saturation (int) : min=0 max=255 step=1 default=57343 value=128
hue (int) : min=0 max=359 step=1 default=-8193 value=180
white_balance_component_auto (bool) : default=1 value=1
white_balance_red_component (int) : min=0 max=95 step=1 default=32 value=54 flags=inactive
white_balance_blue_component (int) : min=0 max=95 step=1 default=32 value=49 flags=inactive
gamma (int) : min=1 max=500 step=1 default=57343 value=100
gain (int) : min=260 max=1023 step=1 default=57343 value=260

DFK 22BUC03 as camera node in ROS

Hello!

I'm trying to use TIS camera as camera node in ROS with usb_cam package.

Here is standard launch file cam.launch:

<launch>
  <node name="camera" pkg="usb_cam" type="usb_cam_node" output="screen" >
    <param name="video_device" value="/dev/video0" />
    <param name="image_width" value="640" />
    <param name="image_height" value="480" />
    <param name="pixel_format" value="mjpeg" />
    <param name="io_method" value="mmap"/>
  </node>
</launch> 

Camera node is not starting after "roslaunch cam.launch".
Other usb camera work in this case well.

But if I change

<param name="io_method" value="usr"/> 

instead of mmap (just for checking) - camera node start but the image is very bad (triple image with bad color representation instead of mono).

How I could run the camera for ROS in my case?

@TIS-Stefan Do you have some C sample code Not c++ to get video stream?

@TIS-Stefan
I am using DFM 72BUC02-ML in ubuntu 14.04. I find here from google
I have asked technical supporter to update the firmware with dmk72uc02_162_uvc.euvct.
Now I can get color pictures using the code you posted before at here: https://gist.github.com/10f04501f49b6b3bf75e but there is a problem: the color is not correct,for example, orange become blue ... I think Maybe I need change some parameters to adjust it in the code, so It 's not a big problem?

I have another important question: Do you have some C sample code Not c++ to get video stream? if you have not ,Do I need write it from V4L2 for my company embedded device(not need GUI to display the Live image,only get the data to memory or save the picture to jpg files)?

Returned the firmware to factory defaults, now it only displays in grayscale

hello, I used the firmware update tool with a DFK 72BUC02 and it worked nice in linux but in grayscale, when I returned the firmware to factory defaults to work on Windows again, it keeps working on grayscale, so, how do I change this in Windows? I am trying to make a stereo pair and one takes the image in color and the other one in grayscale, so how can I set up both in color or in grayspace? with IC capture I use the debayering but can I activate it and deactivate it without IC capture? thanks

How to enable external trigger?

My TIS camera has a external trigger input.
It is working under "Free running" mode.
Is it possible to switch to "Trigger" mode in Linux?

Thanks in advance,

Yishin

DFK AFU050-L34 in Ubuntu 14.04

I want to install the cameras DFK AFU050-L34 in Ubuntu 14.04, when I connect I get the message:

[924.771161] usb 3-6: new high-speed USB device using xhci_hcd number 8
[926.335959] usb 3-6: New USB device found, idVendor = 199E, idProduct = 8209
[926.335962] usb 3-6: New USB device strings: Mfr = 2, Product = 1, SerialNumber = 3
[926.335963] usb 3-6: Product: DFK AFU050-L34
[926.335965] usb 3-6: Manufacturer: The Imaging Source Europe GmbH
[926.335965] usb 3-6: SerialNumber: 20,510,272

I have the udev rules and UVC extension units defined.

When I try to detect the camera:
sudo -p ./uvc cam-fw

I get the message:
Device not found.

What's happening? Thanks for your help!

Issues with capture monochromatic images using openCV

Hi Edgar,

I'm trying to capture gray scale images from an Imaging Source monochromactic camera (DMK 23UU45) in linux using openCV through the Python interface cv2 (v 2.4.8).

I am able to initialize the camera capture class via cv2.VideoCapture; however, the only properties that are currently recognized are the images size and width:

cam1 = cv2.VideoCapture(1)
cam1.get(3)
1280.0
cam1.get(4)
960.0

If I try to get the status of other properties I get an error:

cam1.get(1)
HIGHGUI ERROR: V4L2: Unable to get property (16) - Invalid argument
-1.0

The image that I am getting is three copies of the original image not a full resolution:

test1

Not sure if it is of consequence, but when I initialize an instance of the VideoCapture class for the camera I get the following:

libv4l2: error set_fmt gave us a different result then try_fmt!
HIGHGUI ERROR: libv4l unable convert to requested pixfmt
libv4l2: error set_fmt gave us a different result then try_fmt!

Any help you can provide would be greatly appreciated.

Thanks,
Eric

firmware update for dmk22buc03

Hello, i'm trying to update the firmware for the MDK-22BUC03 camera without luck. That's what i get..

$ sudo ./euvccam-fw -p
Manufacturer String: The Imaging Source Europe GmbH
Product String: DMx 22BUC03
Serial Number String: 43010458
PID: 8201
Flags: ff

i've tryied with all of the firmware versioms (135, 145,.. etc) and the output is always the same:
$ sudo ./euvccam-fw -u ../../data/firmware/usb2/dmk22uc03_163_uvc.euvc
firmware basename: 'files/dfk21auc03_obc_[0-9]*.euvc'
->using file: '../../data/firmware/usb2/dmk22uc03_163_uvc.euvc'
->backup file: 'backups/backup_0.euvc'
Upload firmware version: 0
Camera firmware ID [1] does not match file ID [2]! Aborting!

any help will be apperciate, thank you in advance

Missing resolutions for DMM 42BUC03-ML

I flashed the DMM 42BUC03-ML camera with the following firmware: dmk42uc03_143.euvc
Is it the right one?

The product page [1] lists a few different resolutions, but some of them are missing from the camera firmware. The missing resolutions are 1280x720 and 1024x768.
[1] http://www.theimagingsource.com/en_US/products/oem-cameras/usb-cmos-mono/dmm42buc03ml/

:~$ v4l2-ctl -d 7 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'GREY'
Name : Greyscale (8-bit)
Size: Discrete 1280x960
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 720x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.017s (60.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.067s (15.000 fps)

Thanks,

Tom

camera-ip-conf segmentation fault

Hello,

I'm trying to detect a DMK41AG02.AS Gige camera using camera-ip-conf: the graphycal interface breaks with a Segmentation Fault error.
The camera-ip-conf-cli -l too.
I'm using a today version of the git code.

Here is the output of valgrind execution:

$ valgrind ./camera-ip-conf-cli -l
==18227== Memcheck, a memory error detector
==18227== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==18227== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
==18227== Command: ./camera-ip-conf-cli -l
==18227== 
==18227== Invalid read of size 2
==18227==    at 0x40CF35: tis::detectNetworkInterfaces() (CameraDiscovery.cpp:52)
==18227==    by 0x40D60A: tis::discoverCameras(std::function<void (std::shared_ptr<tis::Camera>)> const&) (CameraDiscovery.cpp:71)
==18227==    by 0x405729: tis::getCameraList() (ConsoleManager.cpp:77)
==18227==    by 0x4057BA: tis::listCameras() (ConsoleManager.cpp:122)
==18227==    by 0x4039AA: handleCommandlineArguments(int, char**) (main.cpp:96)
==18227==    by 0x403288: main (main.cpp:153)
==18227==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==18227== 
==18227== 
==18227== Process terminating with default action of signal 11 (SIGSEGV)
==18227==  Access not within mapped region at address 0x0
==18227==    at 0x40CF35: tis::detectNetworkInterfaces() (CameraDiscovery.cpp:52)
==18227==    by 0x40D60A: tis::discoverCameras(std::function<void (std::shared_ptr<tis::Camera>)> const&) (CameraDiscovery.cpp:71)
==18227==    by 0x405729: tis::getCameraList() (ConsoleManager.cpp:77)
==18227==    by 0x4057BA: tis::listCameras() (ConsoleManager.cpp:122)
==18227==    by 0x4039AA: handleCommandlineArguments(int, char**) (main.cpp:96)
==18227==    by 0x403288: main (main.cpp:153)
==18227==  If you believe this happened as a result of a stack
==18227==  overflow in your program's main thread (unlikely but
==18227==  possible), you can try to increase the size of the
==18227==  main thread stack using the --main-stacksize= flag.
==18227==  The main thread stack size used in this run was 8388608.
==18227== 
==18227== HEAP SUMMARY:
==18227==     in use at exit: 2,259 bytes in 4 blocks
==18227==   total heap usage: 10 allocs, 6 frees, 7,411 bytes allocated
==18227== 
==18227== LEAK SUMMARY:
==18227==    definitely lost: 0 bytes in 0 blocks
==18227==    indirectly lost: 0 bytes in 0 blocks
==18227==      possibly lost: 27 bytes in 1 blocks
==18227==    still reachable: 2,232 bytes in 3 blocks
==18227==         suppressed: 0 bytes in 0 blocks
==18227== Rerun with --leak-check=full to see details of leaked memory
==18227== 
==18227== For counts of detected and suppressed errors, rerun with: -v
==18227== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Segmentation fault

I've tried to take a look, but that's beyond my understanding...

Thanks for your help!

Error after running gst-launch-0.10 <...> command!

Hello,
I am getting the following error after applying gstreamer command.

root@arthur-MXE5400:~/tiscamera/src#gst-launch-0.10 v4l2src ! video/x-raw-gray,width=640,height=480,framerate=15/1 ! tisvideobufferfilter ! tis_auto_exposure ! tiscolorize ! queue ! tiswhitebalance ! queue ! bayer2rgb ! queue ! ffmpegcolorspace ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 562734982 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Is anyone come along with this problem before?

"make install" failed in tiscamera/src

Can not "make install" in tiscamera/src; error messages:

ysli@interlaken:~/proj/tiscamera/src(master)$ make install
install -D libgsttiswhitebalance.so /home/ysli/.gstreamer-0.10/plugins
install -D libgsttisvideobufferfilter.so /home/ysli/.gstreamer-0.10/plugins
install -D libgsttiscamerasrc.so /home/ysli/.gstreamer-0.10/plugins
install: cannot stat `libgsttiscamerasrc.so': No such file or directory
make: *** [install] Error 1

GStreamer-0.10 pipeline with tiscolorize and bayer2rgb fails

The pipeline without tiscolorize and bayer2rgb may live longer before hitting ERROR:

gst-launch-0.10 --gst-debug-no-color --gst-debug-level=3
v4l2src device=/dev/videoTIS1 !
video/x-raw-gray,width=744,height=480 !
ffmpegcolorspace ! xvimagesink

The pipeline with tiscolorize and bayer2rgb fails within 15 seconds:

gst-launch-0.10 --gst-debug-no-color --gst-debug-level=3
v4l2src device=/dev/video1 !
tiscolorize ! tiswhitebalance ! bayer2rgb !
ffmpegcolorspace ! xvimagesink

First of all this is now a different problem. Somewhere in the pipeline something begins to choke.

  1. Can you enable --gst-debug-level=3 again? We need a more general overview this time.
    It is attached to the tail of this message. Please advise.
  2. Does this error occur all the time?
    Yes, sometime it occurs after 9 seconds, the other time it occurs after 12 seconds. But, it always occurs.
  3. Does reattaching the camera cause changes?
    No, the error still happens.
  4. Does this error occur even when going over /dev/videoX ? Just to be sure, that there is no catch with the symlink.
    The attached message is with /dev/video1

0:00:00.000613957 12854 0x8805a00 INFO GST_INIT gstquery.c:107:_gst_query_initialize: init queries
0:00:00.002792636 12854 0x8805a00 INFO GST_INIT gstmessage.c:73:_gst_message_initialize: init messages
0:00:00.004103081 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:350:_gst_plugin_initialize: registering 0 static plugins
0:00:00.004508936 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:255:gst_plugin_register_static: registered static plugin "staticelements"
0:00:00.004550921 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:257:gst_plugin_register_static: added static plugin "staticelements", result: 1
0:00:00.006098993 12854 0x8805a00 INFO GST_REGISTRY gstregistry.c:1672:ensure_current_registry: reading registry cache: /home/ysli/.gstreamer-0.10/registry.i686.bin
0:00:00.020182088 12854 0x8805a00 INFO GST_REGISTRY gstregistrybinary.c:614:gst_registry_binary_read_cache: loaded /home/ysli/.gstreamer-0.10/registry.i686.bin in 0.014049 seconds
0:00:00.020351139 12854 0x8805a00 INFO GST_REGISTRY gstregistry.c:1522:scan_and_update_registry: Validating plugins from registry cache: /home/ysli/.gstreamer-0.10/registry.i686.bin
0:00:00.021438437 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:1495:gst_plugin_ext_dep_extract_env_vars_paths: ignoring environment variable content '.': either not an absolute path or not a path at all
0:00:00.021451902 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:1495:gst_plugin_ext_dep_extract_env_vars_paths: ignoring environment variable content '': either not an absolute path or not a path at all
0:00:00.021786508 12854 0x8805a00 INFO GST_REGISTRY gstregistry.c:1634:scan_and_update_registry: Registry cache has not changed
0:00:00.021805307 12854 0x8805a00 INFO GST_REGISTRY gstregistry.c:1707:ensure_current_registry: registry reading and updating done, result = 1
0:00:00.021815120 12854 0x8805a00 INFO GST_INIT gst.c:805:init_post: GLib runtime version: 2.32.4
0:00:00.021822662 12854 0x8805a00 INFO GST_INIT gst.c:807:init_post: GLib headers version: 2.32.0
0:00:00.021852902 12854 0x8805a00 INFO GST_PIPELINE gstparse.c:334:gst_parse_launch_full: parsing pipeline description 'v4l2src device=/dev/video1 ! tiscolorize ! tiswhitebalance ! bayer2rgb ! ffmpegcolorspace ! xvimagesink '
0:00:00.026690140 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstvideo4linux2.so" loaded
0:00:00.026736039 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "v4l2src"
0:00:00.027430966 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseSrc@0x894e028 adding pad 'src'
0:00:00.027955150 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/home/ysli/.gstreamer-0.10/plugins/libgsttiscolorize.so" loaded
0:00:00.027975392 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "tiscolorize"
0:00:00.028282067 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x8951008 adding pad 'sink'
0:00:00.028334527 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x8951008 adding pad 'src'
0:00:00.028577617 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/home/ysli/.gstreamer-0.10/plugins/libgsttiswhitebalance.so" loaded
0:00:00.028590201 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "tiswhitebalance"
0:00:00.028794271 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x89540e8 adding pad 'sink'
0:00:00.028824423 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x89540e8 adding pad 'src'
0:00:00.029131371 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstbayer.so" loaded
0:00:00.029152588 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "bayer2rgb"
0:00:00.029493957 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x8959048 adding pad 'sink'
0:00:00.029530531 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x8959048 adding pad 'src'
0:00:00.029897050 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstffmpegcolorspace.so" loaded
0:00:00.029910761 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "ffmpegcolorspace"
0:00:00.030317988 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x89600c0 adding pad 'sink'
0:00:00.030344784 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseTransform@0x89600c0 adding pad 'src'
0:00:00.030746450 12854 0x8805a00 INFO GST_PLUGIN_LOADING gstplugin.c:859:gst_plugin_load_file: plugin "/usr/lib/i386-linux-gnu/gstreamer-0.10/libgstxvimagesink.so" loaded
0:00:00.030759202 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "xvimagesink"
0:00:00.030977246 12854 0x8805a00 INFO GST_ELEMENT_PADS gstelement.c:728:gst_element_add_pad:GstBaseSink@0x8965f98 adding pad 'sink'
0:00:00.031038505 12854 0x8805a00 INFO GST_ELEMENT_FACTORY gstelementfactory.c:376:gst_element_factory_create: creating element "pipeline"
0:00:00.031148121 12854 0x8805a00 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking v4l2src0:(any) to tiscolorize0:(any) (0/0) with caps "(NULL)"
0:00:00.031168074 12854 0x8805a00 INFO GST_ELEMENT_PADS gstutils.c:1698:gst_element_link_pads_full: trying to link element v4l2src0:(any) to element tiscolorize0:(any)
0:00:00.031185763 12854 0x8805a00 INFO GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link v4l2src0:src and tiscolorize0:sink
0:00:00.031350146 12854 0x8805a00 INFO GST_PADS gstutils.c:1596:prepare_link_maybe_ghosting: v4l2src0 and tiscolorize0 in same bin, no need for ghost pads
0:00:00.031403464 12854 0x8805a00 INFO GST_PADS gstpad.c:1978:gst_pad_link_prepare: trying to link v4l2src0:src and tiscolorize0:sink
0:00:00.031484155 12854 0x8805a00 INFO GST_PADS gstpad.c:2161:gst_pad_link_full: linked v4l2src0:src and tiscolorize0:sink, successful
0:00:00.031518216 12854 0x8805a00 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking tiscolorize0:(any) to tiswhitebalance0:(any) (0/0) with caps "(NULL)"
0:00:00.031526438 12854 0x8805a00 INFO GST_ELEMENT_PADS gstutils.c:1698:gst_element_link_pads_full: trying to link element tiscolorize0:(any) to element tiswhitebalance0:(any)
0:00:00.031534277 12854 0x8805a00 INFO GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link tiscolorize0:src and tiswhitebalance0:sink
0:00:00.031612560 12854 0x8805a00 INFO tiscolorize tiscolorize:365:gst_tiscolorize_transform_caps: Setting format to grbg while waiting for device init.
0:00:00.031662421 12854 0x8805a00 INFO GST_PADS gstutils.c:1596:prepare_link_maybe_ghosting: tiscolorize0 and tiswhitebalance0 in same bin, no need for ghost pads
0:00:00.031674132 12854 0x8805a00 INFO GST_PADS gstpad.c:1978:gst_pad_link_prepare: trying to link tiscolorize0:src and tiswhitebalance0:sink
0:00:00.032616418 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.032638194 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.032644753 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.032686416 12854 0x8805a00 INFO GST_PADS gstpad.c:2161:gst_pad_link_full: linked tiscolorize0:src and tiswhitebalance0:sink, successful
0:00:00.032702391 12854 0x8805a00 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking tiswhitebalance0:(any) to bayer2rgb0:(any) (0/0) with caps "(NULL)"
0:00:00.032710069 12854 0x8805a00 INFO GST_ELEMENT_PADS gstutils.c:1698:gst_element_link_pads_full: trying to link element tiswhitebalance0:(any) to element bayer2rgb0:(any)
0:00:00.032716316 12854 0x8805a00 INFO GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link tiswhitebalance0:src and bayer2rgb0:sink
0:00:00.033147656 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.033160888 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.033170390 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.033305201 12854 0x8805a00 INFO GST_PADS gstutils.c:1596:prepare_link_maybe_ghosting: tiswhitebalance0 and bayer2rgb0 in same bin, no need for ghost pads
0:00:00.033322490 12854 0x8805a00 INFO GST_PADS gstpad.c:1978:gst_pad_link_prepare: trying to link tiswhitebalance0:src and bayer2rgb0:sink
0:00:00.033729330 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.033739417 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.033745174 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.033867132 12854 0x8805a00 INFO GST_PADS gstpad.c:2161:gst_pad_link_full: linked tiswhitebalance0:src and bayer2rgb0:sink, successful
0:00:00.033881255 12854 0x8805a00 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking bayer2rgb0:(any) to ffmpegcsp0:(any) (0/0) with caps "(NULL)"
0:00:00.033887631 12854 0x8805a00 INFO GST_ELEMENT_PADS gstutils.c:1698:gst_element_link_pads_full: trying to link element bayer2rgb0:(any) to element ffmpegcsp0:(any)
0:00:00.033893197 12854 0x8805a00 INFO GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link bayer2rgb0:src and ffmpegcsp0:sink
0:00:00.034282811 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.034296301 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.034302341 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.037215608 12854 0x8805a00 INFO GST_PADS gstutils.c:1596:prepare_link_maybe_ghosting: bayer2rgb0 and ffmpegcsp0 in same bin, no need for ghost pads
0:00:00.037227761 12854 0x8805a00 INFO GST_PADS gstpad.c:1978:gst_pad_link_prepare: trying to link bayer2rgb0:src and ffmpegcsp0:sink
0:00:00.037626461 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.037636960 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.037642519 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.040631360 12854 0x8805a00 INFO GST_PADS gstpad.c:2161:gst_pad_link_full: linked bayer2rgb0:src and ffmpegcsp0:sink, successful
0:00:00.040647884 12854 0x8805a00 INFO GST_PIPELINE ./grammar.y:568:gst_parse_perform_link: linking ffmpegcsp0:(any) to xvimagesink0:(any) (0/0) with caps "(NULL)"
0:00:00.040662341 12854 0x8805a00 INFO GST_ELEMENT_PADS gstutils.c:1698:gst_element_link_pads_full: trying to link element ffmpegcsp0:(any) to element xvimagesink0:(any)
0:00:00.040668501 12854 0x8805a00 INFO GST_PADS gstutils.c:1032:gst_pad_check_link: trying to link ffmpegcsp0:src and xvimagesink0:sink
0:00:00.041056385 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.041067182 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.041072791 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.043065293 12854 0x8805a00 INFO GST_PADS gstutils.c:1596:prepare_link_maybe_ghosting: ffmpegcsp0 and xvimagesink0 in same bin, no need for ghost pads
0:00:00.043077915 12854 0x8805a00 INFO GST_PADS gstpad.c:1978:gst_pad_link_prepare: trying to link ffmpegcsp0:src and xvimagesink0:sink
0:00:00.043469906 12854 0x8805a00 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:00.043480526 12854 0x8805a00 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:00.043486350 12854 0x8805a00 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:00.045481117 12854 0x8805a00 INFO GST_PADS gstpad.c:2161:gst_pad_link_full: linked ffmpegcsp0:src and xvimagesink0:sink, successful
Setting pipeline to PAUSED ...
0:00:00.048117745 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:00.048129049 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.048155667 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'xvimagesink0' changed state to 2(READY) successfully
0:00:00.048164901 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:00.048169527 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.048179153 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 2(READY) successfully
0:00:00.048189099 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:00.048193617 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.048201884 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 2(READY) successfully
0:00:00.048208390 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:00.048212686 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.048220621 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 2(READY) successfully
0:00:00.048227972 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:00.048232327 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.048240275 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 2(READY) successfully
0:00:00.785281582 12854 0x8805a00 INFO v4l2 v4l2_calls.c:480:gst_v4l2_open: Opened device 'DFx 22BUC03' (/dev/video1) successfully
0:00:00.785398207 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:00.785424591 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (VOID_PENDING pending)
0:00:00.785487369 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'v4l2src0' changed state to 2(READY) successfully
0:00:00.785523866 12854 0x8805a00 INFO GST_STATES gstelement.c:2435:gst_element_continue_state: committing state from NULL to READY, pending PAUSED, next PAUSED
0:00:00.785543927 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed NULL to READY (PAUSED pending)
0:00:00.785634327 12854 0x8805a00 INFO GST_STATES gstelement.c:2442:gst_element_continue_state: continue state change READY to PAUSED, final PAUSED
0:00:00.785855202 12854 0x8805a00 INFO GST_STATES gstbin.c:2532:gst_bin_change_state_func: child 'xvimagesink0' is changing state asynchronously to PAUSED
0:00:00.786081600 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:00.786116249 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.786181943 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 3(PAUSED) successfully
0:00:00.786289411 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:00.786319294 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.786377677 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 3(PAUSED) successfully
0:00:00.786463807 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:00.786501427 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.786559824 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 3(PAUSED) successfully
0:00:00.786639345 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:00.786672234 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:00.786756059 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 3(PAUSED) successfully
0:00:00.786850037 12854 0x8805a00 INFO v4l2 gstv4l2object.c:1105:gst_v4l2_object_fill_format_list: got 5 format(s):
0:00:00.786881198 12854 0x8805a00 INFO v4l2 gstv4l2object.c:1111:gst_v4l2_object_fill_format_list: GREY
0:00:00.786914168 12854 0x8805a00 INFO v4l2 gstv4l2object.c:1111:gst_v4l2_object_fill_format_list: YU12 (emulated)
0:00:00.786942933 12854 0x8805a00 INFO v4l2 gstv4l2object.c:1111:gst_v4l2_object_fill_format_list: YV12 (emulated)
0:00:00.786972766 12854 0x8805a00 INFO v4l2 gstv4l2object.c:1111:gst_v4l2_object_fill_format_list: BGR3 (emulated)
0:00:00.787001942 12854 0x8805a00 INFO v4l2 gstv4l2object.c:1111:gst_v4l2_object_fill_format_list: RGB3 (emulated)
0:00:01.884814212 12854 0x8805a00 INFO v4l2src gstv4l2src.c:612:gst_v4l2src_get_caps: probed caps: video/x-raw-gray, bpp=(int)8, width=(int)744, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 60/1, 30/1, 25/1, 15/1 }; video/x-raw-gray, bpp=(int)8, width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction){ 60/1, 30/1, 25/1, 15/1 }; video/x-raw-yuv, format=(fourcc)I420, width=(int)744, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-yuv, format=(fourcc)I420, width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)744, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-yuv, format=(fourcc)YV12, width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)744, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680, endianness=(int)4321, width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)744, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]; video/x-raw-rgb, bpp=(int)24, depth=(int)24, red_mask=(int)16711680, green_mask=(int)65280, blue_mask=(int)255, endianness=(int)4321, width=(int)640, height=(int)480, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)[ 0/1, 100/1 ]
0:00:02.772864867 12854 0x8805a00 INFO v4l2src v4l2src_calls.c:278:gst_v4l2src_set_capture: Set framerate to 60/1 and duration to 0:00:00.016666666
0:00:02.773719831 12854 0x8805a00 INFO v4l2src v4l2src_calls.c:307:gst_v4l2src_capture_init: capturing buffers via mmap()
0:00:02.774156129 12854 0x8805a00 INFO GST_EVENT gstevent.c:600:gst_event_new_new_segment_full: creating newsegment update 0, rate 1.000000, format GST_FORMAT_TIME, start 0:00:00.000000000, stop 99:99:99.999999999, position 0:00:00.000000000
0:00:02.774669328 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:02.774717692 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
0:00:02.774780109 12854 0x8805a00 INFO GST_STATES gstbin.c:2570:gst_bin_change_state_func: child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll
0:00:02.775413874 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:02.775434454 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to PAUSED (VOID_PENDING pending)
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
0:00:02.776542579 12854 0x8805a00 WARN bin gstbin.c:2399:gst_bin_do_latency_func: failed to query latency
0:00:02.776681336 12854 0x8805a00 INFO GST_STATES gstbin.c:2532:gst_bin_change_state_func: child 'xvimagesink0' is changing state asynchronously to PLAYING
0:00:02.776708219 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.776822488 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.776897473 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 4(PLAYING) successfully
0:00:02.776924868 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.776971455 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.777040655 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 4(PLAYING) successfully
0:00:02.777099203 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.777157474 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.777225716 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 4(PLAYING) successfully
0:00:02.777287562 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.777341736 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.777401009 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 4(PLAYING) successfully
0:00:02.777491256 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.777551137 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.777615637 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'v4l2src0' changed state to 4(PLAYING) successfully
New clock: GstSystemClock
0:00:02.794016425 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.016666666
0:00:02.794583179 12854 0x8809000 INFO tiscolorize tiscolorize:250:get_usbs_cameras: Found v4l2 device /dev/video1
0:00:02.794594966 12854 0x8809000 INFO tiscolorize tiscolorize:280:get_product_id: Found product id 8302 for device /dev/video1
0:00:02.794602897 12854 0x8809000 INFO tiscolorize tiscolorize:380:gst_tiscolorize_transform_caps: Setting real format for device /dev/video1 to gbrg
0:00:02.796262333 12854 0x8809000 INFO tiswhitebalance gst_tiswhitebalance:0:gst_tiswhitebalance_fixate_caps: Using bayer format gbrg for whitebalancing.
0:00:02.800523485 12854 0x8809000 INFO tiswhitebalance gst_tiswhitebalance:0:gst_tiswhitebalance_fixate_caps: Using bayer format gbrg for whitebalancing.
0:00:02.802720782 12854 0x8809000 INFO basetransform gstbasetransform.c:1248:gst_base_transform_setcaps: reuse caps
0:00:02.803208787 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:64 B:64
0:00:02.816875548 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.816961819 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.816974745 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.823785194 12854 0x8809000 INFO GST_STATES gstbin.c:2951:bin_handle_async_done: setting state from PAUSED to PAUSED, pending PLAYING
0:00:02.823802660 12854 0x8809000 INFO GST_STATES gstbin.c:2971:bin_handle_async_done: continue state change, pending PLAYING
0:00:02.823917457 12854 0x88090c0 INFO GST_STATES gstbin.c:2764:gst_bin_continue_func: continue state change PAUSED to PLAYING, final PLAYING
0:00:02.824050017 12854 0x88090c0 INFO GST_EVENT gstevent.c:1136:gst_event_new_latency: creating latency event 0:00:00.016666666
0:00:02.824081977 12854 0x88090c0 WARN bin gstbin.c:2395:gst_bin_do_latency_func: did not really configure latency of 0:00:00.016666666
0:00:02.824120271 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824128953 12854 0x88090c0 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.824179326 12854 0x88090c0 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'xvimagesink0' changed state to 4(PLAYING) successfully
0:00:02.824193400 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824201347 12854 0x88090c0 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 4(PLAYING) successfully
0:00:02.824213008 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824221207 12854 0x88090c0 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 4(PLAYING) successfully
0:00:02.824232985 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824241378 12854 0x88090c0 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 4(PLAYING) successfully
0:00:02.824253041 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824261021 12854 0x88090c0 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 4(PLAYING) successfully
0:00:02.824271844 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824279370 12854 0x88090c0 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'v4l2src0' changed state to 4(PLAYING) successfully
0:00:02.824290807 12854 0x88090c0 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PLAYING
0:00:02.824298588 12854 0x88090c0 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to PLAYING (VOID_PENDING pending)
0:00:02.824591641 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.033333332
0:00:02.824672369 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:64 B:64
0:00:02.829144738 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.829216002 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.829233682 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.852583559 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 0.920702, diff 15092983, timestamp 0:00:00.031465693
0:00:02.853409765 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.049999998
0:00:02.855530196 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:83 B:64
0:00:02.859876575 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.860102835 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.860191963 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.872390693 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 0.950274, diff 17413680, timestamp 0:00:00.060261523
0:00:02.872968959 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.066666664
0:00:02.875562231 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:84 B:64
0:00:02.880898227 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.881284761 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.881431821 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.893164625 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 0.979960, diff 19187721, timestamp 0:00:00.079808085
0:00:02.894194690 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.083333330
0:00:02.896969651 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:84 B:64
0:00:02.901095843 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.901364617 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.901384476 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.909968948 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.000180, diff 14687798, timestamp 0:00:00.101034340
0:00:02.910682666 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.099999996
0:00:02.913082952 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:83 B:64
0:00:02.917189612 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.917320756 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.917348890 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.926829851 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.015316, diff 15852846, timestamp 0:00:00.117534627
0:00:02.927116607 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.116666662
0:00:02.929770041 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:84 B:64
0:00:02.933333712 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.933360192 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.933371558 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.938766627 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.015844, diff 11307756, timestamp 0:00:00.133985358
0:00:02.939243239 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.133333328
0:00:02.941626364 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:84 B:64
0:00:02.946209038 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.946360540 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.946385647 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:02.956637745 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.017317, diff 16714612, timestamp 0:00:00.146110231
0:00:02.956952955 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:00.149999994
0:00:02.960336097 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:64 G:84 B:64
0:00:02.963944949 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:02.964049830 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:02.964103377 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p

... abbreviate ...

0:00:12.438267413 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.803117, diff 15473499, timestamp 0:00:09.629340539
0:00:12.452500422 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:05.449999782
0:00:12.460127970 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:84 G:64 B:84
0:00:12.464348088 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422
0:00:12.464407716 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv422p
0:00:12.464424180 12854 0x8809000 INFO GST_PERFORMANCE imgconvert.c:3736:img_convert: no direct path to convert colorspace from bgrx32 -> yuv444p
0:00:12.477042437 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.815697, diff 23979991, timestamp 0:00:09.659367589
0:00:12.482725321 12854 0x8809000 INFO v4l2src gstv4l2src.c:1005:gst_v4l2src_create: sync to 0:00:05.466666448
0:00:12.486065847 12854 0x8809000 INFO tiswhitebalance tiswhitebalance:850:: Applying white balance with values: R:84 G:64 B:84

** (gst-launch-0.10:12854): WARNING **: bayer2rgb0: size 324352 is not a multiple of unit size 357120
0:00:12.489184869 12854 0x8809000 ERROR basetransform gstbasetransform.c:1734:gst_base_transform_prepare_output_buffer: unknown output size
0:00:12.489322395 12854 0x8809000 WARN basetransform gstbasetransform.c:2532:gst_base_transform_handle_buffer: could not get buffer from pool: error
0:00:12.489338913 12854 0x8809000 INFO basesrc gstbasesrc.c:2562:gst_base_src_loop: pausing after gst_pad_push() = error
0:00:12.489408600 12854 0x8809000 WARN basesrc gstbasesrc.c:2625:gst_base_src_loop: error: Internal data flow error.
0:00:12.489431565 12854 0x8809000 WARN basesrc gstbasesrc.c:2625:gst_base_src_loop: error: streaming task paused, reason error (-5)
0:00:12.489520698 12854 0x8809000 INFO GST_ERROR_SYSTEM gstelement.c:1964:gst_element_message_full: posting message: Internal data flow error.
0:00:12.489587711 12854 0x8809000 INFO GST_ERROR_SYSTEM gstelement.c:1987:gst_element_message_full: posted error message: Internal data flow error.
0:00:12.489698947 12854 0x8809000 INFO GST_EVENT gstevent.c:891:gst_event_new_qos_full: creating qos type 1, proportion 1.757234, diff 20502660, timestamp 0:00:09.676034255
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason error (-5)
Execution ended after 9712103989 ns.
Setting pipeline to PAUSED ...
0:00:12.489883239 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.489898545 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.489923391 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'xvimagesink0' changed state to 3(PAUSED) successfully
0:00:12.489936235 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.489940719 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.489950963 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 3(PAUSED) successfully
0:00:12.489963037 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.489968166 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.489977533 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 3(PAUSED) successfully
0:00:12.489988008 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.489992832 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.490001842 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 3(PAUSED) successfully
0:00:12.490011244 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.490016618 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.490024932 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 3(PAUSED) successfully
0:00:12.490033063 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.490037334 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
0:00:12.490045040 12854 0x8805a00 INFO GST_STATES gstbin.c:2570:gst_bin_change_state_func: child 'v4l2src0' changed state to 3(PAUSED) successfully without preroll
0:00:12.490054004 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to PAUSED
0:00:12.490058418 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PLAYING to PAUSED (VOID_PENDING pending)
Setting pipeline to READY ...
0:00:12.490113363 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.490118497 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.490128019 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'xvimagesink0' changed state to 2(READY) successfully
0:00:12.490159351 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.490164188 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.490172579 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 2(READY) successfully
0:00:12.490187735 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.490193023 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.490202025 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 2(READY) successfully
0:00:12.490215483 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.490220216 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.490228201 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 2(READY) successfully
0:00:12.490241677 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.490246192 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.490254576 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 2(READY) successfully
0:00:12.491708492 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.491721138 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.491740278 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'v4l2src0' changed state to 2(READY) successfully
0:00:12.491756150 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to READY
0:00:12.491766659 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed PAUSED to READY (VOID_PENDING pending)
0:00:12.491795089 12854 0x8805a00 INFO GST_STATES gstbin.c:1784:gst_bin_get_state_func: getting state
Setting pipeline to NULL ...
0:00:12.504278132 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504299894 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504328307 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'xvimagesink0' changed state to 1(NULL) successfully
0:00:12.504353207 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504360805 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504374812 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'ffmpegcsp0' changed state to 1(NULL) successfully
0:00:12.504390897 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504400769 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504416512 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'bayer2rgb0' changed state to 1(NULL) successfully
0:00:12.504437229 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504447874 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504462572 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiswhitebalance0' changed state to 1(NULL) successfully
0:00:12.504481135 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504491795 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504506509 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'tiscolorize0' changed state to 1(NULL) successfully
0:00:12.504756444 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504767526 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504784169 12854 0x8805a00 INFO GST_STATES gstbin.c:2526:gst_bin_change_state_func: child 'v4l2src0' changed state to 1(NULL) successfully
0:00:12.504831225 12854 0x8805a00 INFO GST_STATES gstelement.c:2460:gst_element_continue_state: completed state change to NULL
0:00:12.504839527 12854 0x8805a00 INFO GST_STATES gstelement.c:2365:_priv_gst_element_state_changed: notifying about state-changed READY to NULL (VOID_PENDING pending)
0:00:12.504854321 12854 0x8805a00 INFO GST_STATES gstbin.c:1784:gst_bin_get_state_func: getting state
Freeing pipeline ...
0:00:12.504874767 12854 0x8805a00 INFO GST_INIT gst.c:1023:gst_deinit: deinitializing GStreamer
0:00:12.511367086 12854 0x8805a00 INFO GST_INIT gst.c:1129:gst_deinit: deinitialized GStreamer

Need help using TIS 23 series on Ubuntu

I am now having a problem using DMK23U445 on Ubuntu.
We have tested on Ubuntu 12.04, 13.10, 14.04 but cannot work at all.
Below is from dmesg.

[ 17.049388] uvcvideo: Found UVC 1.10 device DMK 23U445 (199e:8402)
[ 17.050326] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 17.050706] uvcvideo: Failed to query (129) UVC probe control : 26 (exp. 34).
[ 17.050775] uvcvideo: Failed to initialize the device (-5).

Could you please help suggest what I should do to get this camera work?
Thank you.

How to force change RGB to GRAY?

Hello all,
I have a DMK 42BUC03 camera and I want to change its RGB data to GRAY.

cvCvtColor(pOpenCVImage,pColorCVImage,CV_BayerGB2RGB); // Create a color image from the raw data

Can I just change parameter in this function or I should grab picture first and change RGB to GRAY..
Hope I can get GRAY pics to process as real time.

How to use gevCapture.c

Hi,

I would like to ask you how to use gevCapture.c. There seems not to be a description about this. What I want to do is just taking a snap shot with software trigger. How should I do?
Referring to the brief explanation shown by --help option, I executed "./gevCapture -c test_kt0 -w 1280 -h 960 -e 3000 -g 1 -f 1 -n test1 -s -o 1" and press "g" but the message "saving stream!" appeared. The product is RAW file. So I'm not sure how to check if the snapshot was taken.

I also found the following errors when executing the command "gevCapture" with any options. But actually I can see the movie with "MPlayer". Is it critical to run the program? I ran this program on Ubuntu 12.04 LTS.

%./gevCapture -c test_kt0 -w 1280 -h 960 -e 3000 -g 1 -f 1 -n test1 -s -o 1
This is gevCapture version unknown
...
+MPlayer svn r34540 (Ubuntu), built with gcc-4.6 (C) 2000-2012 MPlayer Team
err_listener: mplayer: could not connect to socket
err_listener: mplayer: No such file or directory
err_listener: Failed to open LIRC support. You will not be able to use your remote control.

Playing /tmp/gevCapturekyKxgz/stream.
...
time now: 7129.06892018366
err_listener: Xlib: extension "XFree86-VidModeExtension" missing on display "localhost:11.0".
err_listener: Xlib: extension "NV-GLX" missing on display "localhost:11.0".
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
Opening video filter: [bmovl=0:1:/tmp/gevCapturekyKxgz/bmovl]

vf_bmovl: Opened fifo /tmp/gevCapturekyKxgz/bmovl as FD 8

Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
err_listener: [swscaler @ 0x8b26b20] using unscaled gray -> yuv420p special converter
VO: [gl] 1280x960 => 1280x960 Planar YV12

Selected video codec: [rawy800] vfm: raw (RAW Y8/Y800)

Audio: no sound
Starting playback...
err_listener: X11 error: GLXUnsupportedPrivateRequest
^Cerr_listener:
err_listener: quitting as requested
mask: quitting as requested
Completed buffers = 4
Failures = 0
Underruns = 0
sending mplayer quit command ...
done
*** the end ***
amc@ubuntu:~/hanabata/AMC/gevcapture-gevcapture$
Exiting... (Quit)

Cheers,

USB Color CMOS DFK AFU050-L.34: Device not found!

Hi! I'm trying to install a DFK AFU050-L.34 under Manjaro x64 or Debian Jessie x86.

When I plugged it in the device is detected (the following lines are from dmesg):
[ 1314.428152] usb 1-3: new high-speed USB device number 4 using ehci-pci
[ 1316.105359] usb 1-3: New USB device found, idVendor=199e, idProduct=8209
[ 1316.105376] usb 1-3: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[ 1316.105388] usb 1-3: Product: DFK AFU050-L34
[ 1316.105401] usb 1-3: Manufacturer: The Imaging Source Europe GmbH
[ 1316.105412] usb 1-3: SerialNumber: 21510555

I have successfully compiled and in installed code from tiscamera/src/ and followed instructions from the wiki (https://github.com/TheImagingSource/tiscamera/wiki/Getting-Started-with-USB-Cameras)
But the command
$ sudo ./euvccam-fw -p
failed with the error message
Device not found.

Also /dev/video0 doesn't exist.

As this is a CMOS camera I understand I don't need the udev rules, anyway I have tried without success.

What I'm missing? Thanks for your help!

Use Software trigger

Hello,

I have some troubles to use aravis software trigger with long exposure time on a DMK23G445 and a Basler ace1300gm. I would like to capture single images on the both cameras with the maximum available exposure time.

On the DMK, the maximum exposure time is 30 seconds.
With the Basler, it's 10 seconds.

For now, I can grab single image with 10 seconds exposure time on the basler only if I use sleep(1) before to emit a software trigger and I don't understand why I need to wait 1 second. It doesn't works with the DMK if I wait 1 second before to emit the software trigger. If I don't wait before to send software trigger, I can only grab single frames if the maximum exposure time is 5 seconds. If I set the exposure time to >5, 10, 20, 30, it doesn't work.

I am doing the following things in my program :

  • set gain, exposure, fps (the minimum for the DMK is 3.75), format ...
  • create a stream with arv_camera_create_stream() and the following parameters :
    ARV_GV_STREAM_PACKET_RESEND_NEVER
    ARV_GV_STREAM_SOCKET_BUFFER_AUTO
    packet-timeout = 40000
    frame-retention = 200000
  • push a new arvbuffer in the stream with arv_stream_push_buffer()
  • set acquisition more to continuous with ARV_ACQUISITION_MODE_CONTINUOUS
  • configure camera to use software trigger with arv_camera_set_trigger(camera, "Software")
  • start acquisition with arv_camera_start_acquisition(camera)
  • sleep(1) if I use the basler camera
  • send software trigger with arv_camera_software_trigger(camera)
  • get the arvbuffer from the stream with arv_stream_timeout_pop_buffer(stream, exposuretimevalue (us) + 1sec)

I don't understand what's wrong and why I can't get a complete buffer from the stream.
If you are familiar with aravis or software triggers, could you give me some hints please ?

If I use ARV_ACQUISITION_MODE_SINGLE_FRAME instead of ARV_ACQUISITION_MODE_CONTINUOUS, I can grab frame with 30 seconds of exposure time on my DMK and with 10 seconds on my Basler but I would like to use software trigger.

Thank you very much !

How to use ARV_ACQUISITION_MODE_SINGLE_FRAME?

Dear all,

I still try to take a snapshot using the software trigger. Then I found that ARV_ACQUISITION_MODE_CONTINUOUS and ARV_ACQUISITION_MODE_SINGLE_FRAME in src/arvenums.h of ARAVIS_03_03. In tests/arvcameratest.c, ARV_ACQUISITION_MODE_CONTINUOUS is used. So I guess I can take a snapshot with the software trigger if I replace it with ARV_ACQUISITION_MODE_SINGLE_FRAME. But I don't know how to modify arvcameratest.c accordingly.

If you know how to modify or good examples using ARV_ACQUISITION_MODE_SINGLE_FRAME, could you teach me?

Best regards

How to change camera serial number?

Hello all,

I found why I still have VIDIOC_DQBUF error 5 today.

I found two of my camera "Serial Number String" are same!!!

How can I reset my camera serial number if i have lost my backup file.

All the best,

ccrb

How can I set ROI (DMK 42BUC03)

Hello all,

Can I set ROI (by Opencv or its hardware) not only supported on website.
For example:

ImageSize.width = 1280;
ImageSize.height = 300;

While I change this on my main.cpp, I can't view correct image.
Can anyone tell me how to change image's ROI by myself?
Prefer the fastest way but not use waste CPU speed. (hardware? Opencv?)

thanks all,
ccrb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.