Jump to content

evol

Members
  • Posts

    9
  • Joined

  • Last visited

About evol

  • Birthday 01/06/1972

Profile Information

  • Location
    UK
  • Interests
    Computers

evol's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Finally i worked it out its the line....... DllCall($_7_zip32_dll_path, "long", "SevenZip", "HWND", Chr(0), "str", 'x -hide -y "' & $files_7z_path & '" "' & @TempDir & "" & '" "' & $extracted_files_path & '"', "str", "", "long", 0) It should be..... DllCall($_7_zip32_dll_path, "long", "SevenZip", "HWND", Chr(0), "str", 'x -hide -y "' & $files_7z_path & _ '" "' & @TempDir & "" & '" "' & $extracted_files_path & '"', "str", "", "long", 0) There was a _ missing.
  2. True but its the setup their using that im interested in, they say......... Ok ive done that now what ? where does php4autoit.7z go now because they dont tell you and i always get a error on line 17 of there code. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** #include <constants.au3> $rand = "\~" & Random(1, 100000, 1) $_7_zip32_dll_path = @TempDir & "\7-zip32.dll" $files_7z_path = @TempDir & "\php4autoit.7z" $extracted_files_path = @TempDir & $rand DirCreate($extracted_files_path) FileInstall("7-zip32.dll", $_7_zip32_dll_path) FileInstall("php4autoit.7z", $files_7z_path) DllCall($_7_zip32_dll_path, "long", "SevenZip", "HWND", Chr(0), "str", 'x -hide -y "' & $files_7z_path & '" "' & @TempDir & "\" & '" "' & $extracted_files_path & '\"', "str", "", "long", 0) $s = "test" $s = StringToBinary($s, 4) $php = "$au3_text = '" & StringMid($s, 3) & "'; echo base64_encode(hex2bin($au3_text));" $foo = Run($extracted_files_path & "\php.exe -f index.php", "", @SW_HIDE, $STDIN_CHILD + $STDOUT_CHILD) StdinWrite($foo, $php) ; Calling with no 2nd arg closes stream StdinWrite($foo) ; Read from child's STDOUT and show $data = '' While True $data &= StdoutRead($foo, false, True) If @error Then ExitLoop Sleep(25) WEnd MsgBox(0, 'base64 encoded text', BinaryToString($data)) DirRemove($extracted_files_path, 1) Exit Remember im still a noob trying to learn thanks.
  3. Hi guys found this on a blog today and i was just wondering how this works as ive tried the example but i cant get it to work for myself ? Here is the blog entry http://www.sadeghi85.info/articles/using-php-functions-inside-autoit/#more-189 If anyone has any ideas or pointer id appreciate it.
  4. Script worked ok for me using the 1st page of this thread as the URL variable and using the array data as capturing, text, doing & actions which returned this........ and
  5. Thanks for the tip, funny thing is i was going to do exactly that but it worked for me so i just left it at that.will do than now though from now on.
  6. Sorry im using chrome and its stewing my posts up when i tried to edit my post. Here it is again #include <GUIConstantsEx.au3> HotKeySet('{ESC}', '_Close') Opt('GUIOnEventMode', 1) Global $hGUI, $FlashCtrl Global $oFlash Global $fError = False $hGUI = GUICreate('Live Flash(RTMP) Stream Test', 645, 485) $oFlash = ObjCreate("ShockwaveFlash.ShockwaveFlash.11") $oAutoItError = ObjEvent("AutoIt.Error", "COMError") $FlashCtrl = GUICtrlCreateObj($oFlash, 0, 0, 645, 485) GUISetOnEvent($GUI_EVENT_CLOSE, '_Close') With $oFlash ; live tv stream string here...... .movie = "http://www.price-drop.tv/jwplayer/player.swf?" & _ ; A random flash SWF Player borrowed from price drop tv. "file=dave_22272.sdp" ; Live UK TV channel Dave. .flashvars = "streamer=rtmp://rtsp-02.g-box.tv/tv2mobile&" & _ ; RTMP Stream. "autostart=true&" & _ "fullscreen=true&" & _ "smoothing=false&" & _ "backcolor=0x000000&" & _ "frontcolor=0xF8F8FF&" & _ "lightcolor=0xE0E0E0" .wmode = "opaque" .allowScriptAccess = "Always" .Playing = True EndWith GUISetState() While 1 Sleep(10) WEnd Func _Close() $oFlash.Stop() $oFlash = 0 GUIDelete() Exit EndFunc ;==>_Close Func COMError() $fError = True EndFunc ;==>COMError
  7. <p>Hi again ive been messing about with Live flash streams using AutoIt and i was just wondering if i was doing it the right way? Or if anyone has any suggestions or improvements.
  8. Thanks guys im looking into your suggestions now.
  9. Hi guyz my 1st post and pretty much a AutoIt noob but love it. I have a problem or plan however you may look at it. I view live flash streams on my computer not my browser using a little app called rtmpGUI which is fast and light that uses XML files as a playlist like this <stream> <title>TITLE</title> <swfUrl>SWF URL</swfUrl> <link>RTMP LINK</link> <pageUrl>PAGE URL</pageUrl> <playpath>PLAYPATH</playpath> <language>LANGUAGE</language> <advanced>EXTRA PARAMETERS</advanced> </stream> Now my problem is there are many other XML playlists used by XBMC & Serviio but use a different format like this for XBMC for example <subitem> <title>TITLE</title> <link>rtmp:// swfUrl=http:// pageUrl= live=true timeout=6</link> <thumbnail>LOGO</thumbnail> </subitem> So i was wondering could AutoIt be used to convert these to the rtmpGUI way of doing things ? I did find a online tool but it does it for its own player that can be seen here http://plst.agilityhoster.com/en/xml.html Any help would be greatly appreciated thanx
×
×
  • Create New...