Windows Media File Stops at Start!

Hello
Can someone please help.
I have a windows media file playing on my stage when the
playhead enters the frame. I'm trying to get the WMF to play
through to the end and stop, instead of returning to the first
frame and stopping.
Does anybody know how I can achieve this?
Thanks in advance.
Andy

andyulrika_is_back wrote:
> property thisSprite
> property thisDuration
>
> on beginSprite me
> thisSprite = me.spriteNum
> thisDuration = sprite(thisSprite).member.duration
> if sprite(thisSprite).movieTime > thisDuration -15
then
> sprite(thisSprite).stop()
> end if
> end
>
>
> My wmf is currently 15.7 seconds long. Am I doing
something wrong?
You want to check the movieTime in an exitFrame handler,
rather than just
once when the sprite begins:
property thisSprite
property thisDuration
on beginSprite me
thisSprite = sprite(me.spriteNum)
thisDuration = thisSprite.member.duration
end
on exitFrame
if thisSprite.movieTime > thisDuration -15 then
thisSprite.stop()
end if
end
HTH
Andrew

Similar Messages

  • Can't export timeline as a Windows Media file anymore.

    Using Premiere 5.0.3 for over 2 yrs now.  No problems until now.  I first export my 30 min. timeline as a H.264 file as a master.  No problem.  Then I would export my timeline as a Windows Media file (NTSC Widescreen) for easier viewing on other computers.  Again, no problem - until  last week.  Each time I try to export now as a WMV file, it takes the usual over an hour to do the conversion, but then when I look at the file information after it's completed, instead of the approx. 400 Mb file size, it will be some other smaller file size anywhere from 4 Mb to 217 Mb.  Everytime I try to export again, (and waiting again over an hour each time for the conversion to complete), the file size will be something considerably less than it should be and different each time...but the time will always be what the video should be - approx. 30 min.  If I view the video, it will abrutly end corresponding to the file size, IE - if the file size is 200 Mb, the video stops at about 15 min.  What happened?  Nothing changed in my computer.  No new program was added.  No settings were changed...and my editing computer is not connected to the Internet so as to avoid any possible contaminaton from outside sources.

    Thanks Jim for your responses.  It's suggestions like yours that get me to think in another direction, which is a good thing.
    I never suspected anything wrong with the hard drive or any corresponding components because the drive worked fine otherwise - playing back clips already on it, transferring files from one drive to another, etc.  At any rate, I opened up the computer case and swapped out the SATA cable to that drive (I have lots of spares of everything) and then did a defrag and check of the drive which all showed good.  I then exported a couple more videos in the WMV format to that drive and everything worked fine, so hopefully all is good from now on.
    Again, thanks for your help.

  • Wave vs Windows Media File sizes

    I installed iTunes on my Windows PC. I have a tune on my PC that is a Windows Media File that is 4626 kb. I imported the tune to iTunes and it converted it to Wave Sound and the file size is now 50,665 kb which is more than ten times bigger than the Windows Media file. As a test I then did this with a couple of albums and the same thing happened with all the selections on each album. It seems like I need ten times the disk space when using iTune than when using Windows.
    Can anyone explain what is happening here.
    Thanks
    Ted

    WMF (and MP3 and AAC) is a compressed and lossy format. You lose sound quality.
    WAV is not. A WAV is the same size as the file on a regular audio CD, usually ~35-75 MB.
    When you convert from a lossy format (WMF) to lossless format (WAV) the quality will be the same.
    If you convert between WMF/AAC/MP3, you quality will go down each time.
    When you convert between formats, you should always start off with the best possible quality (WAV or AIFF or CD).
    With iTunes the default format is AAC 128 kbps.
    This is a good compromise between file size and sound quality.
    AAC is a higher quality sound when using the same bitrate as an MP3.
    AAC and MP3 will be very close to the same file size when using the same bitrate.
    However, 128 kbps AAC will sound at least as good as a 160 kbps MP3 and the AAC will be about 2/3 the size.
    I use AAC 160 kbps. I can definitely hear the difference between 128 and 160 kbps AAC.
    If you are importing from CDs, you should use AAC 128 kbps (but I recommend 160 kbps).
    Open iTunes prefs -> Advanced -> Importing.
    This is where you can change the Import settings.
    (see below)

  • Windows media player stop working after upgraded from firefox 6.02 to Firefox 7.01 yesterday.

    windows media player stop working after upgraded from Firefox 6.02 to Firefox 7.01 yesterday.
    the plugin for win media player is already installed and working fine in FF 6.02 before upgrade. i have Google this issue without any result so far. so i reinstalled the old version 6.02, until fix is found.
    anyone has the similar issue with Firefox 7.01 in Win 7 32 bit ?

    The issue was not with FF 7.01. VLC player version 1.11.1 is conflicting with windows media player when FF 7.01 tries to play media files! Which was not happening before in FF 6.02.
    VLC and plugin media player need to be uninstalled first, then uninstalled FF 6.02. Install FF 7.01 and then win plugin media player again.
    Test media player at www.vdat.com/techsupport/windowstest.asp

  • I have converted most of my windows media files to itunes. However I had to close it down about 3 quarters of the way through. It then processed the album art. How can I convert the files that it didn't finish doing the first time? thanks

    Hi there,
    hope you can help me. I helped my sister convert her window media files to itunes and set up an account for her. Unfortunately her computer is really slow and it was really late and we had to turn it off. It processed some of the album art for the files that it had converted. However, some songs were not converted and because there was quite a few left, I don't really know which ones did not get converted as I selected  all of the folders. How do I find out which ones I have left to convert and put the rest of the songs onto itunes for her please? Or are they on the itunes still as they showed up initially on itunes in the list to be converted.
    Thank you!

    You could convert them all again and then dedupe, or use a Windows search to reveal all the WMA files and then try to work out which still need to be converted. If you're lucky iTunes would have processed the imports in alphabetical path order so it would just be a matter of working out where it had got up to...
    tt2

  • Is there a way to view windows media files on an iPhone?

    Is there a way to view windows media files on an iPhone?

    There are some apps that provide for viewing the closed/proprietary format such as OPlayer.

  • Safari tries to open Windows Media files using iTunes

    Sometimes when I try to view a Windows Media file on my PowerBook running 10.3.9 instead of the Windows Media player opening to play the file iTunes will open. When that happens I have to force quite iTunes and Safari, locate a WMV file on my hard drive, use the Get Info window to set all WMV files to open using the WMV player. It wouldn't be so bad if I only had to do this once, but I have to do it over and over again from time to time.
    I'm not sure but repairing permissions might be one of the triggers that requires me to redo this, but it might not be necessary for me to repair premissions in order for this to happen. I can fix the problem when it occurs, but it's annoying and a waste of time to have to do it over and over again.
    Has anybody else had this problem? anybody know hot to fix it once and for all? Thanks.

    Upgrade to newer version which is comparable with Yosemite.

  • Windows Media file write failure

    Help, I'm using a Gateway computer with Windows XP Professional OS, version 2002 and Service Pack3. It has Intel Core CPU, 6600 @ 2.40GHz, 2.41 GHz, 2.00 GB of RAM. I have both Premiere Pro CS3 and CS4 installed. There's 54.1 GB of free space on my Hard Drive with 94.9 GB used.
    I used to create .wmv files without issue with CS3 but with CS4 there's a failure every time. The project exports to Media Encoder and Encoder goes through all of the process and even looks like it finishes up. But once it gets to the end, here's the message I get.
    Windows Delayed Write Failed
    Windows was unable to save all the Data for (my file) The Data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save file elsewhere.
    It also had this message in separate window:
    Adobe Media Encoder Debug Event
    Adobe Media Encoder has encountered an error.
    [..\..\src\Batch.cpp-186]
    I tried changing all of the variables I could in the Media Encoder for creating a Windows Media File. For ex. you can choose several presets: "NTSC source to high quality download" "NTSC Source to Download 1024kbps " and several others. I haven't tried changing anything on the Filters, Audiences, Video, Audio or Others tabs. I never had to with CS3. Plus I don't know much about the Codec for Video or Audio.
    Any help is appreciated.

    Rick,
    WMV is a very intense CODEC to work with. It requires power and time on either end - decoding or encoding. My guess would be that the throughput of the USB 2.0 connection just cannot keep up with that processing, where many other formats/CODEC's are easier to work with.
    As for the minimum requirements, we find that they are horribly light. To lift from Monty Python, "we blow our noses in their general direction." They are provided to tell a user what it takes to install and launch the program, but when it comes to using said program - well, that is usually another matter.
    If you have a desktop, and it has room in the case, you can most likely just add two more (2x is about the true min., and 3x is better) physical HDD's, of the controller type as your C:\. Depending on the MoBo, you probably have a SATA controller, and could add up to 3 additional drives, for basically the price of the drive, some cables, if not supplied, and a few screws. Most cases have the necessary mounting, or cages, for additional drives. Note the words "most," "probably," etc., as nothing in the PC world is created equal.
    Were I making the request, I'd propose adding 2 more HDD's, at 7200 RPM and of the same controller type as your C:\. I'd ask for a minimum size of 500GB, but shoot for 1TB for each. Do not know if you have a Fry's Electronics near you (they are a Western US retailer), but they constantly have at least one such HDD on sale per week, and at very good prices.
    Ignore SCSI. It's good and fast, but the drives are limited in size and the $/GB is not high. A RAID 0 array would be good for the media drive (actually it would be 2 HDD's), but to really benefit, one would do best with a hardware managed RAID, and most RAID controllers on MoBo's leave something to be desired. Harm makes recommendations for dedicated hardware RAID, but then you are talking having to do a real "dog & pony" show for you CFO, or Controller!
    Maybe Harm has some suggestions, considering that you are on a city's budget.
    Good luck, and glad that things are working for you. Think about relegating that USB 2.0 external to archiving Assets.
    Hunt

  • Wav - windows media file properties

    hi all, is there a way to get properties from a .wav (windows media) file? for example, the time duration of the media?
    thanks in advance.
    Giovani Salvador

    hi Giovani,
    hope this helps:
    (from http://java.sun.com/products/java-media/jmf/2.1.1/guide/JMFPresenting.html#93867)
    Getting the Duration of the Media Stream
    Since programs often need to know how long a particular media stream will run, all Controllers implement the Duration interface. This interface defines a single method, getDuration. The duration represents the length of time that a media object would run, if played at the default rate of 1.0. A media stream's duration is only accessible through a Player.
    If the duration can't be determined when getDuration is called, DURATION_UNKNOWN is returned. This can happen if the Player has not yet reached a state where the duration of the media source is available. At a later time, the duration might be available and a call to getDuration would return the duration value. If the media source does not have a defined duration, as in the case of a live broadcast, getDuration returns DURATION_UNBOUNDED.
    There are some other ways to control the duration of the media. For example, if you need to wait the media stream to finish, you can listen for StopEvent, EndOfMediaEvent...

  • Mailed PDF files arrive on Windows platform as corrupt Windows Media files

    Recently I mailed some .pdf files to 3 of the Windows machines on our network. Each of them reported that when attempting to open the .pdf file on the Windows machine, their system tried to use Windows Media instead of Adobe Reader. Of course they received an error message. When they saved the .pdf files on their machines, the files opened correctly in Adobe Reader.
    These are files that I downloaded from the State of Oregon. After we had problems there, I mailed them some of the .pdf files I had created. Same results. The Windows machine treats them as corrupt Windows Media files.
    I am the only Mac in our company. Of course the problem must be mine!?!
    I am using MS Entourage as my mail client.
    Suggestions? Comments? Answers?
    Thanks!!

    Kappy,
    No problem! Your suggestions were what made me consider the extension option in Entourage's preferences. Unfortunately, it didn't work.
    Your suggestion also prompted me to try the same thing using Mail. Mail worked just fine, so the problem is in how Entourage handles the .pdf file being sent to a Windows computer where it will be opened either in Outlook or Internet Explorer.
    It seems that Somewhere along the line, the .pdf extension is being changed to a .png extension which triggers the launch of Windows Media Browser.
    I just rebuilt the Entourage database and I'll see what happens now.
    Whit

  • Any ideas why a film I have  converted to mp4 format, that plays with sound through my PC windows media file- only has a picture but no sound when transferred to my ipod touch via the Itunes?

    Any ideas why a film I have  converted to mp4 format, that plays with sound through my PC windows media file- only has a picture but no sound when transferred to my ipod touch via the Itunes?

    See:
    iTunes: May be unable to transfer videos to iPhone, iPad, or iPod
    iTunes: Frequently asked questions about viewing and syncing videos

  • How to encode FCP files to Windows Media files by using Discreet Cleaner?

    Do you know how to encode from FCP to Windows Media files in Discreet Cleaner 6.0?
    Which is the right settings?
    I got errors when I tries
    In beforehand thank you very much for your answer

    Hello Mikey
    I have put up the following in the settings in Cleaner 6.0.1:
    SETTING
    Windows Media
    OUTPUT:
    Windows media
    TRACKS:
    Video media will be encoded into the output file
    IMAGE:
    - crop: manual
    - image size: 320x240
    - constrain aspect ratio: 4:3
    - deinterlace: auto
    Sharpen: radius: 1.5, amount: 50
    Adaptive noise reducwe: mild
    ADJUST:
    - Gamma: 15
    - Brightness: -5
    - Contrast: 5
    ENCODE:
    - Windows Media Video V7
    - Frame rate: 24 fps
    - Insert Key frames: every 300 frames
    - Video data rate: limit to 400 kbits/sec
    AUDIO:
    - Sample rate: 44.100 kHz
    - Data rate: 48.0 kbits/sec
    - Channels: stereo
    BATCH> set default destination- her har jeg valgt en folder på harddisk
    STATUS
    - "Ready"
    PLAY
    I get the following message after to played:
    "You need to clear the status and/or change settings for the media to begin encoding"
    What is wrong with the settings or status?
    Kind regards
    mary Ann

  • WINDOWS MEDIA FILE WON'T WORK IN TIGER

    Every since I upgraded to TIGER none of my windows media files work. They worked in PANTHER just fine. I keep getting CONNOT play back the file. The format in invalid. PLEASE HELP ME.

    I was having the same problem, I ended up installing the flip for mac wmv component and no problems playing windows media files now. Hope this helps.
    http://www.flip4mac.com/wmv.htmhttp://www.flip4mac.com/wmv.htm

  • Windows Media FIle

    There is not an option to render out as a windows media file in Premiere CS4 on my Mac. Is there a way to do this that I am missing? Please help.

    You need a program called Flip4Mac to produce wmv on a Mac. It attachs it self to QT and works very well.

  • Windows Media File error 2048

    Anyone know how to convert a Windows Media file to run on Quicktime? I get a message that say's Error 2048 and that it's not a movie file.... Thanks.

    Be aware that even if you get Apple's MPEG2 QuickTime Component, that if the file uses AC3 audio QuickTime Player will not be able to play the audio from that. Apple use the feeble excuse that this is because QuickTime does not support muxed video files (where the audio and video are mixed together). Normally QuickTime files keep the audio and video as separate streams in a single file.
    I regard this as a feeble excuse because a) it should have been fixed years ago, after all other software does not have this problem even WMP copes with this, and b) even when using QuickTime and Apple's MPEG2 component the free third-party tool MPEGStreamClip (for Windows or Mac) can play AC3 audio in these files. I repeat this tool uses the same QuickTime and Apple's MPEG2 component and yet it can play AC3 audio when Apple's own QuickTime Player cannot.

Maybe you are looking for

  • Deskjet 2544 wirelessly connects to all PCs on network, except mine.

    I am having a great deal of difficulty tracking down a problem with connecting to a new printer we have at home. It was set up correctly to connect to our home router, and it definitely is connected with its own IP address. All computers and mobile d

  • I can not find someone on game center and likewise they can not find me. how do i fix that?

    How do I find someone on game center?  I can not find them and they can not find me.  We have sent invites to each other, but never get the invites.  Does anyone have an answer for that? thanks,

  • KDE lag and artifacts

    Hi, im very new in linux. I used other distros (manjaro for example) with kde preinstalled and i dont had any issues. After arch installation, i installed with pacman the propietary drivers of nvidia for my gtx 260 and then kde. Sometimes when minimi

  • Union all-distinct and remove duplicates from nested table?

    Hi all, I need a select that will bulk collect some data in my nested table. I have two tables from which I need to select all the accounts only once.(remove duplicates). Tried to search on the forum...but no luck. I have a table with one column: cre

  • Accessibility, exclude UI elements from the Tab-chain

    Hi, I have a complex UI which is very uncomfortable to access with the Tab key when using sap-accesssibility=true parameter. The main problem are the many transparent containers, which are necessary to create the refined composition of the UI. They g