Ist AutoIt im stande FLV abzuspielen?

  • Hey,
    ich habe eine grobe Frage, kann AutoIt Videos im FLV Format abspielen??

    Ich möchte eine Art Media Player skripten, der von einem Sever, meine Videos Streamt ^^


    Mfg
    Benne

  • Ich hab mal was geschrieben um Streams abzuspielen und ob das mit FLV geht kommt warscheinlich auf die Codes an, die du drauf hast, hab es aber auch noch nicht Probiert!
    Du musst in Zeile 23 einfach den Link ändern

    Spoiler anzeigen
    [autoit]

    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>

    [/autoit] [autoit][/autoit] [autoit]

    #Region ### START Koda GUI section ### Form=
    $Form1 = GUICreate("Stream-Player", 1000, 800, 186, 125)
    $Player = ObjCreate("WMPlayer.OCX")
    $Obj1_ctrl = GUICtrlCreateObj($Player, 0, 0, 1000, 800)

    [/autoit] [autoit][/autoit] [autoit]

    With $Player
    .fullScreen = True
    .windowlessVideo = True
    .stretchToFit = True
    ;~ .enableContextMenu = True
    ;~ .enabled = True
    .uiMode = "full"; none / mini full
    .settings.autostart = True
    .settings.mute = True
    .settings.volume = 100; 0 - 100
    .settings.Balance = 0; -100 to 100
    EndWith

    [/autoit] [autoit][/autoit] [autoit][/autoit] [autoit]

    $oMedia = $Player.newMedia('http://wstreaming.zdf.de/encoder/livestream6_h.asx')
    $Player.currentPlaylist.appendItem($oMedia)
    $Player.controls.play()
    GUISetState(@SW_SHOW)
    #EndRegion ### END Koda GUI section ###

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit

    [/autoit] [autoit][/autoit] [autoit]

    EndSwitch
    WEnd

    [/autoit]

    mfg. Jam00

  • FLV ist ein Flash Format. Du könntest dir mit Flash einen loader bauen und den in Html einbinden. Mit einem eingebetteten IE gibst Du das Html aus.
    Na gut dann muss auch der FlashPlayer installiert sein...war ja auch nur ne Idee.