exporting direcotr movie as .avi/.mov

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default exporting direcotr movie as .avi/.mov

    Hi,

    Is there anyway to export a Director movie as a .avi/.mov and not have it go
    frame by frame. i.e. i have some frame scripts that loop for a certain
    amount of time on a certain image, and when I export it will only take one
    snapshot of that frame.

    Only work arounds I can see is to author it with my scripts in tact, and
    before I export it go through and stretch the frames so 1 sec = 30 frames. I
    can't really use screen capturing software because it is too memory
    intensive.

    Any help would be greatly appreciated.


    FLJ Guest

  2. Similar Questions and Discussions

    1. Transparent background when exporting a flash movie
      Hi all, Is it possible export a freehand image as a flash movie with a transparent background? On the Movie Setting when exprting there is an...
    2. Exporting Flash Movie with scripts to AVI
      I have troubles exporting my Flash movie to an Avi or Quicktime movie. The movie contains actionscript but no user interaction at runtime. The Flash...
    3. Exporting Quicktime Movie from Director?
      I have a huge quicktime file that needs compressed. I don't have any software that will do it available to me for a few weeks. I was hoping to...
    4. please help - exporting movie crisis
      I made an animation that used a lot of lingo on fifty different sprites. Everything works fine in director, but when I export it as a quicktime...
    5. image affected when exporting movie
      Hi, I am doing site with flash MX mac os. I used a png. background image so I am exporting the movie in hight quality to see my image like it is...
  3. #2

    Default Re: exporting direcotr movie as .avi/.mov

    There's a free image file export etra out there some where, you could
    write a script to output a snapshot to a numbered image file for each
    frame, then use a video utility to convert the image sequence to a video
    file, jpeg compressed outout might not be too huge.
    JB Guest

  4. #3

    Default Re: exporting direcotr movie as .avi/.mov

    "FLJ" <user@mail.com> skrev i meddelandet
    news:bqjfr9$527$1@forums.macromedia.com...
    > Is there anyway to export a Director movie as a .avi/.mov and not have it
    go
    > frame by frame. i.e. i have some frame scripts that loop for a certain
    > amount of time on a certain image, and when I export it will only take one
    > snapshot of that frame.
    >
    > Only work arounds I can see is to author it with my scripts in tact, and
    > before I export it go through and stretch the frames so 1 sec = 30 frames.
    I
    > can't really use screen capturing software because it is too memory
    > intensive.
    You could use Sharps image xtra to save screenshots of the stage to the disk
    at runtime, sure, the game will slow down, but the result will look good
    after creating a video of it.
    [url]http://www.sharp-software.com[/url]

    Here is a script that uses it. You can save in 3 diffrent formats depending
    on os. you can set name and
    number of chars used in framenaming.
    its set to capture in 16bit


    property pMember
    property pXtra
    property pFrame
    property pErrCodes
    property pName
    property pNumChar
    property pCompression
    property pFileType

    on new me

    pMember = new(#bitmap)
    pMember.name = "ScreenCapturePlaceholder"
    pXtra = new (xtra "SharpExport")
    pFrame = 0
    pName = the moviename
    pNumChar = 5
    pCompression = 80
    pFileType = "png"

    pErrCodes = ["destination file can not be written",\
    "out of memory","wrong number of args","bad parameter",\
    "castmember not found","castmember media not found",\
    "castmember is not a bitmap","unsupported bitdepth (JPEG
    support is 8 bits or higher)",\
    "JPEG compression failed (internal error with JPEG
    library)",\
    "PNG compression failed (internal error with PNG library)"]

    vRect = the stage.Rect
    pMember.image = image(vRect.width, vRect.height,16)

    return me
    end

    on SetName me,aName
    pName = aName
    end

    on SetCharNum me,aNum
    pNumChar = aNum
    end

    on SetFileType me, aFileType

    case aFileType of
    "png","jpg" :
    pFileType = aFileType
    return true
    "bmp":
    if the environment.platform contains "mac" then return false --not
    supported in macintosh
    pFileType = aFileType
    return true
    "pct":
    if the environment.platform contains "win" then return false --not
    supported in windows
    pFileType = aFileType
    return true
    End case

    return false
    end

    on SaveFrame me

    pFrame = pFrame + 1
    vRect = the stage.Rect

    pMember.image.copyPixels( (the stage).image, rect(0,0,vRect.width,
    vRect.height), rect(0,0,vRect.width, vRect.height))

    vStr = string(pFrame)

    repeat while vStr.length < pNumChar --Numeric chars
    vStr = "0"& vStr
    end repeat

    vFilePath = the moviepath & pName & vStr & "."& pFileType

    case pFileType of
    "jpg":
    errCode = pXtra.exportJPG(pMember, vFilePath , min(100,max(1,
    pCompression)) )

    "PNG":
    errCode = pXtra.exportPNG(pMember, vFilePath)

    "BMP": -- win only
    errCode = pXtra.exportBMP(pMember, vFilePath)

    "PCT": -- mac only
    errCode = pXtra.exportPICT(pMember, vFilePath)
    end case

    if errCode <> 0 then me.showError(errCode)

    end

    on showError me, errCode

    if the runMode <> "Author" then
    alert "An error has occurred while exporting the image." & RETURN & "The
    error code is: " & errCode & RETURN & RETURN & "Image export failed."
    else
    alert "An error has occurred while exporting the image." & RETURN &
    RETURN & "The error code is: " & errCode & RETURN & pErrCodes[abs(errCode)]
    & RETURN & RETURN & "Image export failed."
    end if

    end

    on terminate me
    pMember.erase()
    pMember = void
    pXtra = void
    end



    Christoffer Enedahl Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139