Ask a Question related to Macromedia Director Lingo, Design and Development.
-
FLJ #1
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
-
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... -
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... -
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... -
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... -
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... -
JB #2
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
-
Christoffer Enedahl #3
Re: exporting direcotr movie as .avi/.mov
"FLJ" <user@mail.com> skrev i meddelandet
news:bqjfr9$527$1@forums.macromedia.com...
go> Is there anyway to export a Director movie as a .avi/.mov and not have itI> 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.You could use Sharps image xtra to save screenshots of the stage to the disk> can't really use screen capturing software because it is too memory
> intensive.
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



Reply With Quote

