Welcome new user! You can search existing questions and answers without registering, but please register to post new questions and receive answers. Note that due to large amounts of spam attempts, your first three posts will be manually moderated, so please be patient.
Because of un-manageable amounts of spam despite our use of CAPTCHAs, email authorization, and other tools, we have discontinued this forum (see the 700k+ registered users with validated email addresses at right?). Please email us any questions or post bug reports and feature requests on GitHub at https://github.com/jevois -- The content below remains available for future reference.

Jevois-daemon opens new window on host

0 votes
i have followed your instruction and set PassTrhough in camera and on Host mymodule .

I am able to see video in VirtualBox VM.

after that  i do jevios-daemon on host it does not opens any  window for viewing video on HOST .

how ever it start show up following interminal but does not show of video window ?

Do i have to manually start video ?

INF Engine::Engine: Loaded 55 vision processing modes.
INF Engine::onParamChange: Using [stdio] hardware (4-pin connector) serial port
INF Engine::onParamChange: No USB serial port used
INF Engine::postInit: Initalizing Python...
INF Engine::postInit: Starting camera device /dev/video0
INF Camera::Camera: [9] V4L2 camera /dev/video0 card VirtualBox Webcam - USB Video D bus usb-0000:00:06.0-2
INF Engine::postInit: Using display for video output
INF Engine::setFormatInternal: OUT: YUYV 640x480 @ 15fps CAM: YUYV 640x480 @ 15fps MOD: JeVois:PythonTest
INF Camera::setFormat: Camera set video format to 640x480 MJPG
FTL Camera::setFormat: Camera did not accept the requested video format as specified
ERR Log::warnAndIgnoreException: Caught std::exception [FTL Camera::setFormat: Camera did not accept the requested video format as specified]
INF Camera::streamOn: 5 buffers of 1228800 bytes allocated
asked Feb 16, 2018 in Programmer Questions by dpat123 (300 points)

3 Answers

0 votes

Yes, looking at the error you posted, jevois requests yuyv but gets mjpg in return.

This is a known issue with virtualbox. Please see http://jevois.org/doc/Virtualbox.html section about adding a device filter in virtualbox. Rebooting your host computer may also be required.

answered Feb 18, 2018 by JeVois (46,580 points)
0 votes
AS USB device and USB filters all installed but with that guvcview does not detect any camera

only when we connect as Devices-->WebCams in Virtualbox web cameras are working can can see jevois camera in guvcview but with this settings when i do jevois-daemon creates problem

have a look at screen short . do we have any settings in jevois-daemon so that it takes yuyv as input format

so setting should be Devices->USB->JEvois Camera  (with USB filters )  or

Devices-->WebCams in Virtualbox web cameras
answered Feb 18, 2018 by dpat123 (300 points)
0 votes
I got it solved actually usb device was selected at USB 2.0 in Linux Guest with that it was showing black screen

IT should be USB 3.0 xHCI device to be selected in settings of Virtual Box so that USB PassThrough modules works  fine in Linux Guest mode .

Kindly add this line to VirtualBox tutorial that USB 3.0 xHCI must be selected in order to work Webcams as Pass Through .
answered Feb 20, 2018 by dpat123 (300 points)