Another tab for WebCam
I fell very stupid...
in wiki says
* Place some code into .axisrc (in the bottom of this page);
* Obtain application capable to run in parent window;
* Add tab name/command into your .ini file.
But I can't find axisrc!?!? Where the heck is?!
Please Log in or Create an account to join the conversation.
Axisrc code
Download this file and place code from it in your .axisrc
upload:axisrc-dynamic-tabs
wiki.linuxcnc.org/uploads/axisrc-dynamic-tabs
Update
camview-tiny program is superseded with camview-emc one. I've updated wiki page too
Please Log in or Create an account to join the conversation.
I mean where to put it!
Can you put little more detail how to embeed that. I'm still little lost in linux environment.
Please Log in or Create an account to join the conversation.
[1] linuxcnc.org/docs/2.4/html/gui_axis.html#r1_11_4
Please Log in or Create an account to join the conversation.
EMBED_TAB_NAME = MPlayer
EMBED_TAB_COMMAND = mplayer -wid {XID} tv://0
doesn't work..
so I look over the web and find solution:
EMBED_TAB_NAME = CAM
EMBED_TAB_COMMAND = mplayer -wid {XID} -cache 128 -tv driver=v4l:width=640:height=480:outfmt=i420 -vc rawi420 -vo xv tv://
and work. The problem is that when I quit EMC the webcam isnt released properli so webcam come unavailable (bussy) for all application (including EMC) until reboot machine
So I try
EMBED_TAB_NAME = Camera
EMBED_TAB_COMMAND = camview-emc -wid {XID}
with proper package downloaded but my webcam isn't recongnised at all.
As I alreday has webcam installed (with modified gqcam with crosshair) to run as independent application I just ask if and how is possible to connect it together with emc.
EMBED_TAB_COMMAND = gqcam -wid {XID}
just execute my application in own window (not embeded in emc2) as -wid {XID} isn't recongnized properly.
..or maybe question for psha how you do it crosshair and what software?
Thanks
Please Log in or Create an account to join the conversation.
I'm working (pretty slow ) on adding libv4l support to camview so it will eat all cameras that libv4l knows.Ok there is results.
EMBED_TAB_NAME = Camera
EMBED_TAB_COMMAND = camview-emc -wid {XID}
with proper package downloaded but my webcam isn't recongnised at all.
What is your camera and what driver is used? gspca?
You need to patch gqview to use GtkPlug instead of GtkWindow and do some black magic to force XEmbedding.EMBED_TAB_COMMAND = gqcam -wid {XID}
just execute my application in own window (not embeded in emc2) as -wid {XID} isn't recongnized properly.
I'm using camunits based camview-emc program Crosshair (and EMC axis positions overlay) are plugins in that framework...or maybe question for psha how you do it crosshair and what software?
camview-emc is small python script based on python-camunits bindings.
If you are interested in using camview-emc please catch me in IRC.
Please Log in or Create an account to join the conversation.
I just wan't to see image (but probably with correct aspect ratio as now isnt)
and to have ability to use some croshairs (few different ones - can be stored as image if necesary)
How much time "black magic" took to change gqcam?1? Can you do it?
Slavko.
Please Log in or Create an account to join the conversation.
Who is breaking aspect ratio?! All viewers i've tested retain aspect ration of input streamI'm interested for working module.
I just wan't to see image (but probably with correct aspect ratio as now isnt)
and to have ability to use some croshairs (few different ones - can be stored as image if necesary)
Not much. You may take patch i've used for stock camview and use it for gqcamHow much time "black magic" took to change gqcam?1? Can you do it?.
Personally i'd perfer to fix camview to work with all cams then to work with gqcam.
Camunits provide good way to write and reuse plugins, so that's why i think patching gqcam
is worse solution.
Please Log in or Create an account to join the conversation.
I don't say that gqcam is better than camview. Just gqcam work in my system and camview not. If you can fix it then welcome. I just wish to use working one and to can configure crosshair.
If you can help then I can tell only THANKS as you are too far away to get some beer. on my account.
Please Log in or Create an account to join the conversation.
But first i need to know what camera are you using? What driver?
Is it gspca one?
Magic to embed gtk into tk may be found at psha.org.ru/cgit/psha/camunits.git/commi...c257651270090d6b30d5
but this code is abandoned
Please Log in or Create an account to join the conversation.