gestom / CosPhi

Artificial pheromone system
31 stars 14 forks source link

Requested frame format MJPG is not available #10

Open fabrizioschiano opened 7 years ago

fabrizioschiano commented 7 years ago

Hi,

I tried the swarmcon on a webcam (of a laptop) and it worked smoothly. Now I am trying to integrate it on a drone and therefore I installed the package on a ODROID card. The latter is connected to a camera FLEA USB 3.0 but I get the following error:


odroid@mkQuadroTest:~/swarmFab/CosPhi/Localization/bin$ ./swarmcon /dev/video6 1
Cannot write to log file output/SwarmCon_2016-09-06_17-27-42.txt. Does the "output" directory exist?
Device information:
Device path: /dev/video6
Stream settings:
ERROR: Requested frame format MJPG is not available and no fallback format was found.
Init v4L2 failed !! exit fatal
Cannot init camera device /dev/video6.
1.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
1920.000000,1080.000000,
960.000000,540.000000,

could you please help me? Is it not possible to work with MJPG in swarmcon?

thanks in advance for your help.

alesar23 commented 7 years ago

hi, i would like to know how did you fixed it, if you fixed it of course