Change frame rate from 23.976 to 24

Hi all,
I have a Quicktime render of a project I made a few months ago that was originally created at 23.976 FPS.
I now need to prepare this Quicktime render for digital projection in a movie theater -- the file I need to give my client has to be 24 FPS progressive.
I'd like to try and convert my Quicktime and audio without going back to the project itself, as this is a complex project and would take a really long time to re-render at 24 FPS.
Can anyone recommend the best method to convert my 23.976 Quicktime movie? Are there specialty plug-ins I should look into?
Thanks so much!
Dan

Digital projectors will pretty much playback what is sent to them. The pitch change and motion difference between 23.976 and 24 is undetectable as far as audio goes and a frame is a frame.
If it really must be 24, and I'd check the specs carefully for the theater because the standard in the us is 23.976, then you could convert it with QuickTime Pro, Adobe Media Encoder, or any other encoding software.
If your original is highly compressed h.264 or other MPEG stream I would suggest re-rendering the project in AE. There will be a significant quality loss if you recompress an MPEG stream.
To change the project in AE from 23.976 to 24 and maintain frame accurate sync all you have to do is change the comp settings and change the interpretation of the footage from 23.976 to 24. If you are using a separate audio track and the project is more than 10 minutes long you may have other audio issues but under 10 minutes there's not going to be much of an audio sync problem. If the audio is in a video track then there is usually no problem and the pitch change is insignificant. There usually is no need to adjust any of the keyframes.

Similar Messages

  • Question about changing frame rate from PAL to NTSC

    Hi,
    Usually, I would use JES Deinterlacer for changing the 25 fps of PAL into 29.97 NTSC.
    Recently I've started shooting with Sony's EX-3, full HD (in PAL mode)
    If I'm using JES Deinterlacer, the resolution would drop from 1920x1080 to 720x480 (adding 2 black rectangles to keep the 16:9 ratio)
    With the 720x480 res I would need to choose 4:3 aspect in iDVD.
    I'm somewhat confused here...Can I keep the original resolution of 1920x1080 and just use another software for changing the frame rate...then burn it with iDVD in widescreen 16:9? Is there anything like JES for that? Or does NTSC DVD means always 720x480?
    Thanks a lot!
    ymotion

    You could try doing it in compressor>advanced format conversions. Personally I like taking it to a terranex, but I also have had GREAT success with Graeme Nattress's standards converter. You can google it, or search this forum for a link. It's cheap, only a hundred bucks or so.
    1. Convert the footage pal to ntsc, no frame size change
    2. Open compressor and select the appropriate setting for the length of your video. And also add the dolby audio setting. Don't forget the anamorphic settings noted above.
    3. I don't remember anything at all about idvd, haven't used it since DVDSP came out. DVDSP allows you a whole host of display parameters and infinite customization for your projects. It'll only take you a couple of hours to figure it out, and those are hours well spent.

  • Audio out of sync after changing frame rate

    Hello
    I just changed frame rate from 23.976fps to 24fps inside sequence setting, and the audio is out of sync in timeline.  I can certainly manually right click mouse and choose slip into sync, but it's a tedious job.  Anyone knows why and quick solution?
    Thanks
    Richard
    ps I use 2014.2 latest version

    >Frame rate mode                  : Variable
    No version of Premiere does "well" with Variable Frame Rate
    Below is about iphone, but may help
    Some people find that Iphone won't edit easily because it uses a variable frame rate
    - A possible fix in message #22 http://forums.adobe.com/thread/934466

  • How do I output the smoothest video when changing or mixing frame rates from the original footage?

    I have been experimenting with various Media Encoder settings, and wondered if there was anything else I can try to get the smoothest video output possible, especially when changing frame rate and possibly resolution.  For clarification, let me start from the beginning and explain what I'm doing and what I've tried so far.  I'll try to be as brief as possible, but if I do go into too much detail, I apologize. 
    My original footage is AVCHD 1080p - 60fps.  (my camera only does 60fps...specifically 59.94fps)  We're not talking interlaced video here, I'm staying away from that.  This is definitely full frame, progressive video at 60 frames (not fields) per second.  My output will ultimately be for the web.  I have been keeping my output codec (H.264) and bit-rate (VBR 2-pass, relatively high-bitrate) consistent, and have been trying numerous output options and even sequence settings to see what would yield the best results.  I am using Premiere Pro CS5.5 along with Media Encoder.  Here's what I've done and the results I've observed:
    1.  I created a sequence with 1080p - 59.94fps settings to match my original footage.  I then output both 1080p and 720p versions at 59.94fps, and at 29.97fps.  The 59.94fps output files looked absolutely great, as would be expected.  Extremely smooth.  The 29.97fps output files were generally smooth, but not near as smooth as the 59.94fps.  This is expected since it's half the frame rate as my original footage.  However, my question is this:  What exactly is Media Encoder doing when "down converting" from 60p to 30p?  From a technical stand point, is it dropping every other frame?  I'm just curious to understand exactly what it does.  I tried the Frame Blending option as well, and that only yielded a bit more blur to the images which wasn't desirable for any of the output files. 
    2.  Just to see what would happen, I created a sequence with 1080p - 29.97 settings.  I then output both 1080p and 720p versions at 29.97fps.  The video was much more choppy in these cases, even with Frame Blending on.  Now, I know not matching my sequence settings with my original media isn't ideal, but I again just want to understand why this yields less smooth video than the 29.97fps options above.  Why does cutting the sequence settings frame rate in half from the original, then outputting the same frame rate as the sequence yield video that is not as smooth?
    3.  Next, I wanted to try mixing frame rates to see how Premiere and Media Encoder handled the footage and output files.  Premiere handled it great, no issues there.  However, I had some interesting things happen when I output the files.  Here's what I did:  I created a sequence with 1080p - 59.94fps to match my original footage.  Then I took the same exact footage that was in my sequence, copied it in my project panel and interpreted it at both 23.976 and 29.97 fps, yielding slow motion video.  The slow motion video looked great in Premiere, so I went ahead and just added it to my sequences, along with the original 59.94 footage.  I also created separate sequences for the 29.97 and 23.976 footage respectively, each with matching sequence settings, then added a nested sequence to another original footage sequence (with 59.94fps sequence settings) to see which yielded the best results.  Basically, I'm trying to output 59.94fps that match my original footage, but also throw in some slow motion footage at different framerates.  I'll explain my results in a moment as they are a bit convoluted, however, here is my question:  When mixing frame rates and trying to output the smoothest video, am I going about this the right way?  I would assume you would use your sequence settings that match the original footage (which is what the majority of the footage will be), then bring in a nested sequence for the slow motion (as oppose to just dropping the slow motion video directly into my main sequence), and then output to the same frame rate of the majority of the footage, in this case 59.94fps. Is there a better workflow for this?
    The results to #3 above were as follows.  Initially, it looked like it didn't matter if I nested the slow motion sequence into my main sequence, or simply dropped the actual slow motion video into my original 59.94fps sequence.  It seemed to produce smooth results either way.  Frame Blending blurred the video a bit, but didn't seem to make much difference, and quite honestly I like the footage without Frame Blending in general.  However, when I closed down Premiere, and opened the output files later (opening in Quicktime), the footage looked choppy.  In fact, it would go from choppy to smooth and back, almost like it had an irregular cadence (don't know if I'm using "cadence" in the right context here).  I would then open up Premiere again, import the output footage into my project panel, and play the footage in Premiere, and it would play back smooth again. Is this a Quicktime issue?  I was playing 1080p 59.94fps files when this happened, so maybe it's just because it's a large file.  Doesn't seem to have issues with the 720p files I created.  But it sure threw me off with my testing because I then started second guessing the settings I was using.  My iMac is the latest 2011 model with plenty of RAM, so I wouldn't think it's the computer.  Thoughts?
    4.  Next, I noticed on ALL my output files (again, using the H.264 codec from Media Encoder) that the color of my video seemed to flatten quite a bit.  It seems that the original footage has more contrast and saturation than the output files.  I figured maybe this was just how it was, but when I re-imported the output files back into Premiere, they looked IDENTICAL to the original footage.  And in Media Encoder's Source/Output windows, I don't see any difference there either. Is Quicktime again the culprit here, doing some odd things to the color of my videos?
    5.  Regarding Frame Blending, when is the best situation to enable this option in Media Encoder?  I've read it is when mixing frame rates, but I honestly didn't see too much of a change except for a bit more blur, which I didn't care for.
    6.  Lastly, my conclusion is that 60fps yields the smoothest video, which is an obvious conclusion.  However, I know that 60fps isn't the best or easiet frame rate for web delivery.  It seems 30p is more the standard.  Are there any integrated web players that would play 60fps?  Can you get 60fps video on YouTube/Vimeo?  If yes to any of these questions, can they do 720p and 1080p at 60fps? 
    Those are all my questions.  I hope I am clear enough without being overly wordy and hopefully I didn't put too many questions into one post.  Thanks in advance for any insight, I really appreciate it.

    Did you ever figure out which output worked the best? I have the same original footage; trying to determine the best output settings to make a dvd for tv.
    thanks!

  • Changing frame rate when exporting from iMovie '09 using quicktime has no impact on duration.  Why?

    Changing frame rate when exporting from iMovie '09 using quicktime has no impact on duration.  Why?
    I have a file created by digitizing an 8mm film at a rate of 24 fps. I would like to create a downloaded movie at a frame rate of 15 fps.  The Export using Quicktime option seems to provide that capability but the resulting file has the same duration as the original 24 fps file.  How can I get the exported movie to be slowed down?

    joegez,
    There is a feature you can use to slow down the video. In the project, move the mouse pointer over the clip, then click the gear icon. That brings up the Inspector. Click the Clip tab. Then you will see a feature there called Speed. Move the slider to the left to slow down the clip. Or you can enter a percentage in the box on the right.
    Hope this solves the problem for you.

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • Support MIDI and dynamic change FRAME RATE

    What MACROMEDIA says about support by FLASH, midi files and
    dynamic change FRAME RATE of the movie?
    this is two nuances that does not suffice me.
    And what about macromedia FLASH 9? When it comes?

    For dimension changing use something like this (is a part of a bash script for video edition so ...) :
    # Le quitamos el over-scan al ancho. OJO!! debe seguir siendo MULTIPLO de OCHO
    WIDTH_SCALED=$(($OUTPUT_V_WIDTH-$OUTPUT_OVS*8)) #multiplicamos el overscan por 8(4 pixeles a cada lado)
    # Obtenemos relacion de aspecto de forma mas precisa
    if [ "$OUTPUT_V_ASPECT" == "1.7777" ]; then # formato panoramico
    ASPECT_PRECISE=`echo "16/9"| bc -l`
    else
    ASPECT_PRECISE=`echo "4/3"| bc -l` # y el formato normal
    fi
    HEIGHT_SCALED=`echo "(${INPUT_V_HEIGHT}*${OUTPUT_V_HEIGHT}*${ASPECT_PRECISE})/${INPUT_V_WIDTH}"| bc -l`
    # Necesito que el alto sea MULTIPLO DE CUATRO para que la longitud del PADDING sea PAR y simplificar el codigo... introduzco un error de 3.999999 pixels (en el peor de los casos)
    HEIGHT_SCALED=$((`echo "scale=0 ; $HEIGHT_SCALED/4"| bc -l`*4))
    # Calculo el Padding
    OUTPUT_V_PAD_WIDTH=$(($OUTPUT_OVS*4))
    OUTPUT_V_PAD_HEIGHT=`echo "scale=0 ; ($OUTPUT_V_HEIGHT-$HEIGHT_SCALED)/2"| bc -l`
    Don't bother about the comments . Is spanish .
    What you want is :
    HEIGHT_SCALED=`echo "(${INPUT_V_HEIGHT}*${OUTPUT_V_HEIGHT}*${ASPECT_PRECISE})/${INPUT_V_WIDTH}"| bc -l`
    About frame rate - this is video edition and i think you can not do this in java . Is more complicated than a simple calc . Under linux i'm using ffmpeg to change fps and encode from avi to mpeg2 .

  • How do I convert frame rate from 30p to 24p????

    I am about to start post on a short film shot on the mark II. I am going to convert the footage to ProRes. The director wants the "film" look. Can I change the frame rate from 30p to 24p in compressor? Are there any key settings I should know about?

    There are lot of different ways to go about it, all have mixed results, and there is no way you'll get flawless results. However, here's a few ways to try:
    A) Conform to 23.98, using Cinema Tools - You'll be slowing down the footage, so this is no good if you have on-set dialogue recording you're going to keep and need lip sync. If you weren't going to use any on-set audio and doing all dialogue and FX replacement, it wouldn't matter. This is also effective for music videos - just speed up the audio playback while shooting, and when you slow the video down in post, it'll match.
    B) Use retiming in Compressor - I believe this uses some advanced frame blending and optical flow - I've had decent results with this method, but you can end up with some artifacts on high motion material.
    C) Use Twixtor within FCP or Adobe After Effects. This has been my preferred method for surgical speed manipulation. It's time consuming and just like method B, you'll get artifacts on high motion material.
    What you definitely do NOT want to do is drop your 30p footage into a 24p timeline. The motion will be horribly stuttery. Similarly, don't try to just use frame blending to achieve the frame rate conversion - it's not very impressive to see frame blending all over everything.
    You're best results will come from having low motion footage. Interviews, head shots, etc. work great. If you're doing a lot of action, I'd advise against trying to convert using anything but method A. If you can get your hands on the 7D, you can shoot 24p natively.

  • PrE 9.0 wont let me share as H.264 1280x720p 29.97 fps - keeps changing frame rate

    As the title says I am unable to create an export with the following settings:
    H.264
    1280x720p
    29.97 (or 30, neither possible) fps
    I have tried editing the existing H.264 presets but the following happens:
    I go into Share > Computer > MPEG and select the Preset "H.264 1440x1080i 30" then hit the "Advanced" button.
    All I want is to change the resolution to match my project size, 1280x720 which I do - but then something happens
    As soon as I change "Frame Dimensions (pixels)" to 1280x720, the fps is automatically changed to 59.94 and when I click the dropdown box for the frame rate, I can only pick the following:
    23.976
    24
    59.94
    Automatic (based on source)
    Since I can't pick 30 or 29.97 I tried picking Automatic but that sets it to 23.976 - even though it clearly states that my source is at 29.97 fps...
    At this point I don't really know what else to try and any help is appreciated.
    Thanks
    EDIT: Just thought I'd also mention that the source is from a GoPro Hero HD cam which shoots in 1280x720 H.264 AVC so I did select "NTSC AVCHD LITE 720p30" as the project profile
    EDIT2: Found Bill Hunt's premade profiles for the GoPro and Premiere Pro. Trying them out right now and it seems to be working. But I still cannot create a profile with 29.97 fps at 1280x720 myself

    With certain file formats and codecs, you will be limited in the configuration of size or frame rate. It sounds like the output format you've selected is one of them.
    Try going to Share/Computer/MOV and see if that makes a difference.

  • Can't Change Frame Rate in Properties

    To change project properties in FCPX you click the wrench icon, which brings up a window to select 720p, 1080p, etc as well as frame rate. The problem is, there are no options in the dropdown for the frame rate in all of my projects, it chooses one automatically (seemingly arbitrarily) and you can't change it.
    I thought that when the progam says it would detect the properties of the first clip and adjust the project properties to match, it would actually do that (maybe I should have known better). So I imported my standard 1080p 29.97fps footage from my Canon 7D and then FCPX automatically set the project properties to...720p at 24fps. Curious, no? No problem, I thought, I'll just go to Project Properties and manually correct FCPX. But it was not to be, as FCPX had decided to give me only one  option in the frame rate selection: 24p. But no, I thought, I would very much like my properties to be 29.97 so as to match my footage. But FCPX did not agree with this, and would not change its mind.
    Has anyone found a solution to this?
    Do any pros still use Final Cut Pro?
    Thanks,
    Kurtis

    It may be possible that a .jpg was the first thing in the project, which may explain the seemingly random properties (why wouldn't they just make it default to a more common setting like 1080p 29.97?) but I digress.
    And it's a very stupid move to revoke the ability to change project properties while clips are in the project, that makes no sense.
    I'm begining to think that Apple has really failed with this new version of Final Cut; and I've been using Final Cut for years. I am debating switching to Premiere, but I will give FCP X a bit more time to redeem itself.
    Kurtis

  • HP Pavilion Slimline s5-1414 Accidentally changed frame rate.

    Hi I'm new to this computer got it earlier in the year but never reaally tried it till now. My problem is that I changed the framerate from 60 to 120 fps and now i have no video. How do i fix this? I tried 2 different monitors one which is a pretty old one and the other was an Lg tv which states invalid format. the monitors also seem to have not worked while I'm starting up the computer what should I do to fix this?

    Hi phz19,
    Welcome to the HP Community! Are you referring about the refresh rate on your monitor? Frame rate is something that you can't really modify directly other then changing some settings which will effect it but you can change the refresh rate directly. Do you get anything on the screen at all when you turn on the Pavilion or does it just stay blank?
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Change frame rate with no slowdown (Premiere Pro)

    Hello, I am making a project and need to re-create a film in the style of a silent film, the most common frame rate for silent film is 16 fps. Is there anyway in the post production stage to change the frame rate of the video to 16 from 29.97 without making the clip longer?

    See if you can get the look you want by experimenting with the Posterize Time effect.  Leave the frame rate alone.
    Cheers,
    Jeff

  • How to export a flash project with a changing frame rate to a video

    I have a Flash project that is a series of roughly 1000 images.  The result of the images is a simple animation, and there is music imported on a separate layer.
    There are moments in the music that I wanted to line up with certain frame changes, and there are sections of the music that I wanted to match up with a faster (double-time) frame rate.
    I used this code in several places in the a code layer:
    stage.frameRate = x;
    The result is exactly what I want in SWF -- the animation speeds up and slows down at the exact right moments to match up with the music track, but it seems like it's just not possible to export this variable frame rate project to a video file?
    According to the accepted answer on this post: http://forums.adobe.com/message/4019538, it seems that:
    The export function in Flash Pro doesn't transcribe *frames*, rather it plays the Flash animation and records it like a camcorder
    If that's true, then I would think there is a way to record a variable frame rate project into a video -- does anybody know if this is possible?

    That or Premiere would both get the job done. After Effects might be more desirable as it has a feature called Time Remapping (right-click on the video layer, Time->Enable Time Remapping). You can add keyframes to any point in a video and then drag them around to speed up or slow down the video. That'll allow for very precise tweaks.
    Finally all I'd suggest is when you jump into your next project, make a quick dummy test project to see if the software you're using is easily capable of producing what you want. It'll solve the headache of completing the project only to land where you are now. Now you know Flash won't play nicely with scripts and Export Movie. If your desired end result was always a video I'd probably use video editing software to make the video. There's some free stuff out there if you really look, but no, it won't be as nice as After Effects or Premiere by any stretch. Although when you see how amazing After Effects is, you'll probably want to buy it .

  • Change Frame Rate in Adobe Presenter

    I have a Flash File that runs with 12 Frames Per second and I need to integrate this with Adobe Presenter. The Frame Rate for Adobe Presenter is 30 Frames Per Second. Here is where I am facing an issue.
    Is there a way to change the frame rate for Adobe Presenter??
    Thanks in advance

    Nope.  Unless you want to get into reconfiguring the viewer.swf and other associated swf files, you're pretty much stuck w/ the 30fps setting.
    Rob
    http://www.robrode.com/yabb/

  • Want to change frame rate, help, please !!

    hi all,
    i want to know whether, jmf does provide any support for changing the frame rate ? is there any ways by which one can change the framerate, of a live captured video ?
    i came across one class "FrameRateControl" in jmf, tried it, but wasn't successful in changing the frame rate. plz help me guys.
    if u have came across, when doing live capturing using jmstudio, we can change the frame rate. can we do that in our programs tooo.
    please someone, wew64, watergad.......... help me out..........,
    thanks for ur help.
    niraj.

    the code is here and it is working on windows, but the framerate could not be changed on linux. it keeps saying rcFormat is null on linux. Then I try to change the framerate with JMStudio, it doest not make any difference as well, it seems keep playing the video with preferred frame rate as well. Any ideas?
    import java.applet.Applet;
    import java.awt.*;
    import java.io.*;
    import java.net.*;
    import javax.media.*;
    import javax.media.cdm.CaptureDeviceManager;
    import javax.media.control.*;
    import javax.media.format.VideoFormat;
    import javax.media.util.BufferToImage;
    import javax.media.protocol.*;
    import javax.swing.*;
    import java.util.*;
    import com.sun.image.codec.jpeg.JPEGCodec;
    import com.sun.image.codec.jpeg.JPEGEncodeParam;
    import com.sun.image.codec.jpeg.JPEGImageEncoder;
    public class TVCapture extends Applet {
    static Player player = null;
    Format [] formats;
         FormatControl [] vfc = null; // Video FormatControl
         CaptureDevice vcd = null; // Video CaptureDevice
         private DataSource vds = null; // Video DataSource
         public void init(){
              try {
                   vds = Manager.createDataSource(new MediaLocator("v4l://0")); //on linux
    //               vds = Manager.createDataSource(new MediaLocator("vfw://0")); //on windows
              } catch (java.io.IOException _e)   {
                   System.out.println(_e);
              } catch (NoDataSourceException _e) {
                   System.out.println(_e);
              vcd = (CaptureDevice)vds;
              vfc = vcd.getFormatControls();
              if (vfc != null) {
                   System.out.println("vfc ! = null");
                   System.out.println("vfc[0] = " + vfc[0]);
                   System.out.println("vfc.length = " + vfc.length);
                   System.out.println("vfc[0].getFormat = " + vfc[0].getFormat());
                   Format [] supportedFormats = vfc[0].getSupportedFormats();
                   int i;
                   for (i=0; i< supportedFormats.length; i ++) {
         System.out.println("supportedFormats["+i+"]=" + supportedFormats);
    //               Format tmpFormat = vfc[0].setFormat(supportedFormats[6]);
                   Format tmpFormat = supportedFormats[6];
                   System.out.println("tmpFormat = " + tmpFormat);
                   System.out.println("tmpFormat.getEncoding() = " + tmpFormat.getEncoding());
                   System.out.println("Dimension size =" + ((VideoFormat)tmpFormat).getSize());     
                   System.out.println("maxDataLength =" + ((VideoFormat)tmpFormat).getMaxDataLength());     
                   System.out.println("tmpFormat.getDataType() = " + tmpFormat.getDataType());
                   System.out.println("frameRate = " + ((VideoFormat)tmpFormat).getFrameRate());
                   VideoFormat videoFormat = new VideoFormat( tmpFormat.getEncoding(),
                                                      ((VideoFormat)tmpFormat).getSize(),
                                                                     ((VideoFormat)tmpFormat).getMaxDataLength(),
                                                                     tmpFormat.getDataType(),
                                                                     25.0f);
                   Format rcFormat = vfc[0].setFormat(videoFormat);
                   System.out.println("rcFormat = " + rcFormat);
                   //it seems rcFormat is null on linux
                   //but setFormat is working on windows
              } else {
                   System.out.println("cannot get the formatControls()");
              setLayout(new BorderLayout());
              setSize(320,240);
              try {
    //      player = Manager.createRealizedPlayer(new MediaLocator("v4l://0"));
    player = Manager.createRealizedPlayer(vds);
    player.start();
    Component comp;
    if ((comp = player.getVisualComponent()) != null) {
         add(comp,BorderLayout.NORTH);
    //               add (player.getControlPanelComponent());
    } catch (Exception e) {
    e.printStackTrace();
    public static void playerclose() {
              if(player != null) {           
         player.close();
         player.deallocate();
    public void close() {
              if(player != null) {
                   player.close();
    public void destroy() {
              if (player != null) {
              player.close();
              player.deallocate();
    public void stop() {
              if (player != null ) {
              player.stop();

Maybe you are looking for