techsray

Grab video feed from a window and show it in a GUI designed using AutoIt

8 posts in this topic

#1 ·  Posted

Hello All,

I am trying to capture a video feed from a window in a software and then recast that in another GUI designed using AutoIt. What would be the best strategy to approach this?

Thank you

Share this post


Link to post
Share on other sites



#2 ·  Posted

@techsray

Hi and welcome to the AutoIt forum :)

From which feed you are trying to capture this video? And why do you have to do this? What's the purpose? :)


Click here to see my signature:

Spoiler

I will always thank you for the time you spent for me.
I'm here to ask, and from your response, I'd like to learn.
By my knowledge, I can help someone else, and "that someone" could help in turn another, and so on.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

@FrancescoDiMuro

There is this software that captures the video feed from a microscope. I intend to grab that and along with some other enhancements recast that feed into a GUI designed by me. Basically, this will allow my research team to make some changes to the microscope parameters and see the changes live right next to the controls that were used to do those changes.

I do not know if this explains your question. Than you for taking interest and initiative in helping me out here. Please let me know if you need to know anything else. :)

 

Edited by techsray

Share this post


Link to post
Share on other sites

#4 ·  Posted

how are you currently accessing the feed, can you determine the URL of the current stream?  Tell us everything you know about the <Software> and the <Video>.  Because that could be literally thousands of combinations of things that require different solutions.  And then be prepared for a super slow walk through on how to write AutoIt.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#5 ·  Posted

On 7/26/2017 at 2:09 PM, iamtheky said:

how are you currently accessing the feed, can you determine the URL of the current stream?  Tell us everything you know about the <Software> and the <Video>.  Because that could be literally thousands of combinations of things that require different solutions.  And then be prepared for a super slow walk through on how to write AutoIt.

@iamtheky

The software is OPUS from Bruker and the video feed is from a microscope (an not over any URL: as far as I know currently). The computer that this software runs on is completely separated from outside network.

Share this post


Link to post
Share on other sites

#7 ·  Posted

Well done, i am concerned that my googling skills are deteriorating; or thats the most niche shit ever and all of the words should be in the title of the post.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

#8 ·  Posted

On 7/29/2017 at 0:09 PM, junkew said:

http://www.bioinfor.com/bruker-data/

Seems doable but only when you have access to a bruker machine and time for experimenting. All these type of machines offer some kind of serial communication.

@junkew

Thank you for your help. I will try this and update if I get this to work.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • 232showtime
      By 232showtime
      @melba,
      sorry for the title dont know what title I need to use, I found some script of yours for filtering listview, Im already done with the filtering and made some small modification. I want to fully understand each line..
      and if anyone has a kind heart to put more comment on each line, I am really squizzing my mind for this script.. pleaaaaaassssseeeee ???
      here is the full script,
      #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include "GUIListViewEx.au3" #include <Array.au3> Opt("GUIDataSeparatorChar", "/") $hGUI = GUICreate("Form1", 673, 433, -1, -1) $cListView = GUICtrlCreateListView("Name File / Value", 8, 64, 657, 361) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 0, 380) GUICtrlSendMsg(-1, $LVM_SETCOLUMNWIDTH, 1, 270) $cButton_Load = GUICtrlCreateButton("Load", 8, 16, 105, 33) $cInput = GUICtrlCreateInput("", 136, 24, 145, 21) GUICtrlSendMsg(-1, $EM_SETCUEBANNER, True, "Search...") $cButton_Search = GUICtrlCreateButton("Search", 304, 16, 105, 33) GUISetState(@SW_SHOW) Global $aData[4][2] = [["Test1", "Test"], ["Test2", "Sun"], ["Sun1", "Sun"], ["Earth1", "Earth1"]] While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $cButton_Search _GUICtrlListView_DeleteAllItems($cListView) ; -->>Remove all items $sText = GUICtrlRead($cInput) ;-->>Read Input Box If StringLen($sText) <> 0 Then ;-->>Read StringLen Greater or Less than 0 ; Create a list of matches Local $aMatch_List[1] = [0] ;-->>whats the use of this??????? $iStart = 1 ;-->> whats the use of this??? For $i = 0 To UBound($aData) - 1 ;-->> infinite array columns and rows??? ; Look for the match If StringInStr($aData[$i][0], $sText) Then ; Add to list $aMatch_List[0] += 1 ; -->>Declared same variable +1??? whats the use??? ReDim $aMatch_List[$aMatch_List[0] + 1]; -->> Resize an existing array. $aMatch_List[$aMatch_List[0]] = $aData[$i][0] & "/" & $aData[$i][0]; -->> whats the use of this??????? EndIf Next ; Add matches to ListView For $i = 1 To $aMatch_List[0] GUICtrlCreateListViewItem($aMatch_List[$i], $cListView) Next Else ; Reload everything ContinueCase EndIf Case $cButton_Load ; Remove all items _GUICtrlListView_DeleteAllItems($cListView) For $i = 0 To UBound($aData) - 1 GUICtrlCreateListViewItem($aData[$i][0] & "/" & $aData[$i][0], $cListView) Next EndSwitch WEnd TIA...