This content has been marked as final. Show 4 replies
First, any reason you're not using the MPEG Advanced Xtra insttead of DirectMeda
Xtra? This Xtra is the followup to DirectMedia and is better in many ways, one
being that it is cross platform so you can use the same setup for mac and PC.
I have had jerky playback on the Mac and the issue was was bad formatting of teh
MPEG file itself. You can read more on this at:
Best solution was to use TMPGEnc to reformat the MPEG files. This program can be
downladed for free at:
It may fix the timing issue as well.
Director Lecturer / Consultant
I have seen reports that calling the "member.duration" too often (about
15 times a sec. in your case) since it's a fixed value you can store the
duration in a property ( beginSprite in score scripts get called )
on beginSprite me
vidDuration = sprite(me.spritenum).member.duration
on exitframe me
if sprite(me.spritenum).movietime >= vidDuration -1 then
go to frame 5
go to the frame -- otherwise hang around here
Thanks for the quick reply. It has been a few years since I worked (very basically) with Director, so I'm using the tools that are available here to play around with. I tried the MPEG Advanced Xtra for PC you mentioned, and the slider issue is solved, except that the file puts itself in pause when you timeslide it, but I suppose that's a standard behaviour for MPEG Advanced (is it possible to let it resume instantly ?)
The MPEG was encoded with TMPEGEnc since it's my favourite and the file plays fine on the Mac when I play it with the Quicktime player, so I thought it was the scripting that caused the problem. But I'l give it a try with MPEG Advanced for Mac too...
Thanks again and kind regards!
Thanks JB for the reply, but I'm afraid the script is not changing anything. Following your theory about the "member.duration" calling, maybe the "sprite.movietime" calling messes up the playback too? (Just a guess) Since I know exactly the duration of the movie (4245000 millisec), maybe I can write a countdown script when entering the frame that counts together with the movie duration, or is that tricky ?
When I attach no script at all to the Quicktime/MPEG sprite and I launch the video manually it plays fine. When using this script to autolaunch :
on enterframe me
the file plays jerky...
So, any ideas are always welcome and thanks again for the suggestions ...