Ask a Question related to Macromedia Director Basics, Design and Development.
-
synthesevideo #1
how to pause video which has goto marker
I'm a beginner in director (using director mx trial)
I have many quicktime video to play one after the other with that :
on exitFrame me
if sprite(1).movieRate=0 then
go to the frame+1
else
go to the frame
end if
end
it works fine.
but I want to add a pause button so, if mousedown the quicktime stop.
that doesn't work because of the script which tell the video to play the next
one when movierate=0
can someone help me?
I think it's basic, but ....
thanks
synthesevideo Guest
-
Help link pause play etc buttons to progressivlydownloaded video
I used the tutorial on the adobe website titled " http://www.adobe.com/devnet/flash/articles/prog_download.html" and am having problems figuring... -
Collision of two objects goto frame or marker.
:light; Here is the scenario. A W3D file with two objects loaded into director MX. Object 1 is a child of the default camera and moves with the... -
How to jump to a marker as video ends ???
Hi everyone ! I got a video (avi) which automatically begins playing at the beginning of my project. How can I force the playhead jump to a... -
detect when video finished then goto next frame
i know this has been posted a lot before but i still can't find a way for it to work, i am using an mpg file with dir 8.5 but i can't get dir to... -
what is the command for goto marker?
just a quick one, I am very tired and have forgotten the command for goto marker on mouseUp goto "quit" -- or am i really asleep end I... -
Rob Dillon #2
Re: how to pause video which has goto marker
If you want the playback head to move only when the current video is
finished then check to see where you are in the video:
------
property thisSprite
property thisMember
property totalLength
on beginSprite me
thisSprite = me.spriteNum
thisMember = sprite(thisSprite).member.name
totalLength = member(thisMember).duration
end
on exitFrame me
go to the frame
if (sprite(thisSprite).movieRate = 0) and
(sprite(thisSprite).movieTime >= totalLength) then
go to the frame + 1
end
------
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
synthesevideo #3
Re: how to pause video which has goto marker
thanks to you : it's working fine!
if it's not an abuse, I ask you 2 more questions :
- mp3 file is looping, but not a precise one : I hear the played file is
missing 1/2 second at the end, so the link isn't smooth. Do I need to put the
file in wav (which works fine), or is it another solution ?
- all my video are quicktime 6, and I read that it will need quicktime player
installed on the end user computer. How can I make director checking that ? and
can it install automatically?
thanks and best regards
domi
synthesevideo Guest
-
JB #4
Re: how to pause video which has goto marker
There's always going to be a little break when the video is rewound, is
youe end test being made otten enough ( in a lscore script?) could you
loop a fraction of a sec. before the mpeg is ended? this sould give some
margin of error.
I think quickTimeVersion() tells you what the end user has.
JB Guest
-
Rob Dillon #5
Re: how to pause video which has goto marker
1. The more a file is compressed the rougher it's texture will be.
Video and audio compression works by taking sample chunks of the media
and then 'tweening the content between those samples. The greater the
compression the fewer the number of samples, or keyframes, and the
greater the 'tweeened content.
If you've ever stopped a compressed digital video file between it's
keyframes, you see a blurred image. If you could stop a compressed
audio file between it's keyframes, you would hear a blurred sound, so
to speak. While that's a pretty loose way of describing what goes on in
a compressor/decompressor environment, it should help to illustrate the
problem.
With your compressed MP3 file, there is very little detailed material,
and so, when the file is trying to loop, it's trying to tie the end to
the start. With very few keyframes, or sample points, to work with, it
becomes difficult to "connect" the last keyframe to the first in the
file as it plays. The decompressor's solution is to skip the part that
it doesn't like. This translates to that last part of the file dropping
out.
So, yes, the solution is to use a sound file with less compression, it
will loop more accurately.
2. Director uses a guest digital video player to playback dv files.
This means that if you save your dv file as Quicktime, then Director
will require the QT player on the user's computer to play back the
file. The same solution holds for WM and Real.
You can use the MPEG Advance Xtra to play back some MPEG formats
without having any external dv player installed.
You can easily test for the QT player and it's version number on the
end user's computer by using the quicktimeVersion() function.
There are tech notes on detecting players and running installers on
Macromedia' web site. There are also a number articles at
[url]http://wwww.director-online.com[/url].
You will also find a lot of info on this in the archives of this
newsgroup.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest



Reply With Quote

