JMF: How to play an  avi file NOT in a Frame...is this possible?

-----Primary Task------
Using JMF, I want to play an avi video file NOT in a Frame
---------Why?----------
I want to play this avi file in a "non-decoration" container (ie. no Windows GUI, eg. Window/JWindow, Panel/JPanel)
-------Problem---------
The MediaPlayer method in JMF 2.2.1e requires a Frame container, according to JMFUtil.java (eg. mediaplayer = jmapps.util.JMFUtils.createMediaPlayer)
------Questions--------
1. Is there any way to change the method of JMFUtil.java to enable video files to play NOT in a Frame, like a Window or Panel?
2. If not, do you know of any "tricks" to get rid of the Frame decorations?
3. If not, any other solutions?

sigh... first read the API, then ask.
Frame.setUndecorated(boolean) might help. http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Frame.html#setUndecorated(boolean)

Similar Messages

  • How to play .flv, .avi files in Media element c# 2012

    I want to play .flv and .avi extention files in my video player . But it doesnt work. I installed K-lite Codec also. But i am not sure user will installed codecs or not . so i dont want to take risk. So plz help. I know that there is no default plug ins
    for playing .flv or .avi files in c# 2012 .But still i want a helpful reply.
    Thanx in Advance
    Nitikesh Pattnaik

    Nitikesh,
    Sorry but you have posted to a forum that deals exclusively with question/issues about Microsoft Project, a Project management application. I suggest you delete this post and find a more appropriate forum.
    John

  • How to play Windows AVI file using Teststand

    Hi,
    I'm trying to play a Windows AVI (*.avi) file using the Windows Media Player, launched by
    a Teststand CallExecutable type step.
    When the step executes, the Windows Media Player app. starts o.k., but the file to be played
    causes an error which states the file type is not recognised.
    Yet if the AVI file is selected in Windows Explorer, it runs fine, i.e. the file type is associated with
    Windows Media Player.
    If the 1st error is ignored, a 2nd is displayed. This states the file cannot be played, and suggests that
    the path may be incorrect or the server is unavailable.
    When configuring the Teststand CallExecutable step, the Argument Expression field contains the full
    absolute address of the AVI (*.avi) file to load and play.
    I have also tried using an expression and also placing the AVI file in the same directory as the
    Windows Media Player .exe, but the file will still not play.
    If I use the Run utility from the Windows Start menu, I can enter the same details on a single command
    line, and the AVI (*.avi) loads and plays just fine.
    What should I do to get Windows Media Player to run the AVI (*.avi) file using the Teststand CallExecutable step ?
    thanks,
    Gary.

    Gary -
    FYI, with TS 3.5, the MessagePopup step can also display html files. The html file can reference the player control and tell it to run immediately. The html code looks like this:
    <HTML>
    <HEAD>
    <TITLE>Multimedia Control Page</TITLE>
    </HEAD>
    <BODY LANGUAGE = VBScript>
    <p>
    My header text
    <p>
    <object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA​6" id="WindowsMediaPlayer1" width="300" height="200">
     <param name="URL" value="c:\windows\clock.avi">
     <param name="rate" value="1">
     <param name="balance" value="0">
     <param name="currentPosition" value="0">
     <param name="defaultFrame" value>
     <param name="playCount" value="1">
     <param name="autoStart" value="-1">
     <param name="currentMarker" value="0">
     <param name="invokeURLs" value="-1">
     <param name="baseURL" value>
     <param name="volume" value="50">
     <param name="mute" value="0">
     <param name="uiMode" value="full">
     <param name="stretchToFit" value="-1">
     <param name="windowlessVideo" value="0">
     <param name="enabled" value="-1">
     <param name="enableContextMenu" value="-1">
     <param name="fullScreen" value="0">
     <param name="SAMIStyle" value>
     <param name="SAMILang" value>
     <param name="SAMIFilename" value>
     <param name="captioningID" value>
     <param name="enableErrorDialogs" value="0">
    </object>
    </p>
    My footer text
    </BODY>
    </HTML>
    Scott Richardson
    National Instruments

  • How to play an AVI file in Java

    Hi,
    Its very URGENT,
    please help me in playing AVI(*.avi )files on JWindow or JFrame.
    Thanks in Advance

    The Player creation
              try {
                  File soundFile = new File("sav/audio/B.wav");
                   Player player = Manager.createRealizedPlayer(soundFile.toURL());
                   player.start();
                   player.close();
              } catch (Exception e) {
                   e.printStackTrace();
              }After the Player is created you get the Component like so
    JFrame frame = new JFrame();
    frame.getContentPane().add(player.getVisualComponent());You, of course, have to size the JFrame accordingly, and set it up as you normally would. The "Visual Component" is just like any other component, as it can be added to a panel, etc.

  • How to play a AVI video file in Nokia 5230

    Hi, Can anybody please tell me the procedure how to play a avi file in Nokia 5230.Thx in advance.

    5230 can't play .avi files out of the box you need to install application like smartmovie player or core player to play it. These two, unfortunately, aren't free. A work around is to convert .avi files to .mp4 format using a video converter like Super by erightsoft(google for it).
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • My QuickTime player us not playing .avi files and says I need a codec I can't play no .avi files on QuickTime. How could I fix this because I want to play these files with QuickTime.

    My QuickTime player us not playing .avi files and says I need a codec I can't play no .avi files on QuickTime. How could I fix this because I want to play these files with QuickTime.

    Hmm . . . comes with a Utility MPEG2 Component ML app with no explanation of what it's for?
    The utility app is an "assistant PKG installer." It allows Lion and Mountain Lion users to install the older QT MPEG-2 Playback Component installer PKG file which is not allowed to run on its own under Lion or Mountain Lion since these operating systems already have a QT X only MPEG-2 component embedded in the QT embedded structure. Without this utility you would have to either copy the component from an older system to your Lion or Mountain Lion system, use Pacifist for installation, or manually open the PKG contents and transfer the component to the appropriate component folder.
    As to your "discussion" regarding the playback of AVI file types, there are really only two strategies here:
    1) You can add component support so that QT can play the files natively or
    2) You can convert the file contents to compression formats that are natively compatible with the unmodified QT component configuration.
    Each user should decide for his or her own self which approach best suits their needs for a particular source file. In most cases, conforming the system's codec component configuration to play the source file directly results in higher video quality since no transcoding takes place but this strategy will not work if a codec which is required is not available for the user's operating system. On the other hand, converter utilities tend to support more built-in codecs and are easier to use since the user does not have to concern him or herself with the nature of the particular source compression formats but at the risk of some potential loss in visual quality. As to what converter to use, once again this is a matter of personal choice. In the case of commercial converters like iSkysoft, the codecs are built in while MPEG Streamclip accesses the host operating system's QT codec component configuration. I personally prefer the free HandBrake app for AVI, MKV, TS, MTS, and M2TS conversions since it has an exceptionally full-featured X.264 GUI with some user options that 97% of users are likely to never use.

  • How can the Windows Media Player 12 be made to play WVC210 .avi files?

    I just built a new computer and it won't play the motion captured videos of the WVC210. It has Windows 7 Home Premium as the operating system. My machines running XP play the WVC210 files GREAT. Is there a codec I can add to the WMP12 so that it will play the .avi files. I have 3 cameras around the property, 2 WVC210 and 1 WVC200. 1 camera has the audio turned off so switching to MP4 (no audio) made that work OK. But the camera in the office I need to have audio and would rather stick to WMP over something like VLC. VLC plays the files fine but I much prefer WMP. I'm hopeing to find out how to have Windows Media Player 12 play the .AVI files from the WVC210 cameras. Any Help??

    There appears to be issues with codecs on WMP 12 and Windows 7
    AND\OR your WMP is missing the necessary codecs.
    Google the Net and you should find different things to try
    for the WMP 12.
    Troubleshoot problems in Windows Media Player
    http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-problems-in-Windows-Media-Player
    It looks like additional codecs may needed to download with WMP12 and windows 7
    http://www.tech-exclusive.com/2009/01/22/download-windows-7-codec-pack-for-windows-media-player-12/
    Media Feature Pack for Windows 7 N and Windows 7 KN (KB968211)
    http://www.microsoft.com/downloads/details.aspx?FamilyID=31017ed3-166a-4c75-b90c-a6cef9b414c4&displaylang=en
    Information about the Multimedia file types that Windows Media Player supports
    http://support.microsoft.com/kb/316992
    Another possible solution:
    K-Lite Codec Pack 5.9.0 Full, Standard and Basic
    http://www.free-codecs.com/download/K_Lite_Codec_Pack.htm
    I hope this helps let us know how it goes!
    T.

  • QuickTime avi files not playing

    I am trying to play an avi file on QuickTime but get the following message:
    "The document “HTBX629F3061_X.2.avi” could not be opened. A required codec isn't available."
    What should I do? The files were taken on a studio tour and played ok on their computers.

    http://perian.org
    Free even though now discontinued.

  • How to play mkv,avi,mov format files on ipad

    How to play mkv,avi,mov format files on ipad

    Install free OPlayer Lite and try.
    https://itunes.apple.com/sg/app/oplayerhd-lite-best-free-video/id385896088?mt=8

  • I have a seagate 1tb hard drive and a 16gb memory stick, how do i transfer avi files from one to another as the click drag and drop wont work, please help?

    i have a seagate 1tb hard drive and a 16gb memory stick, how do i transfer avi files from one to another as the click drag and drop wont work, please help?

    Greetings,
    What happens when you drag it?
    Make sure the drive you are moving the files to has enough available space to receive the file:
    Click on the movie file and go to File >  Get Info and note the "size"
    Check the drive to which you are moving the file to make sure it has enough available space: https://idisk.me.com/madisonfile-Public/web/finder-drive-available-space-and-for mat.html
    Also note the format of the drive you are copying too.  If it is not Mac OS Extended or FAT (not recommended unless you are taking it to a windows computer) then that may be the issue.
    Hope that helps.

  • How to play a FLV file located in a second FMS?

    How to play a FLV file located in a second FMS not directly accessible by the flash client?
    - I am publishing an audio stream from the flash client to a FMS;
    - This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
    How can I play in the client the FLV audio file that I recorded in the second FMS?
    - The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
    thanks in advance
    fabio

    Answer in http://www.flashcomguru.com/forum/forum_posts.asp?TID=4276&PN=1&TPN=1

  • HT1296 How can I transfer .avi files to my iPad3?

    I would like to transfer videos taken with my digital SLR camera to my iPad3G but I do not know how to import a .avi file into itunes.

    Pad2, the new iPad Supported Video Formats & Movie Formats
    H.264 video up to 1080p, 30 frames per second, High Profile level 4.1 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    MPEG-4 video up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats;
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
     Cheers, Tom

  • How I can watch *.avi files on OS9.2.2?

    Can anybody tell me, how I can watch *.avi files on OS9.2.2? I've installed plenty of codecs (DivX, 3ivx) for QuickTime, but have only video WITHOUT sound! Somebody says, that I need AC3... I've tryed install it too, but without result...
    My system: OS 9.2.2, QuickTime Pro v.6
    iMac G3 (OS X), Pismo with OS9    

    Take a look at the DivX Doctor 2 info on the 3ivx site. It has some info on AC3 audio, although I am not sure if it applies to OS 9.
    http://www.3ivx.com/divxdoctor/

  • Lightroom - how to restore backed up files (not Lightroom catalogue) from one external drive to another?

    How to restore backed up files (not lightroom catalogue) from one external drive to another.
    I recently backuped my photo files from one external drive to another. The backup (carbon copy cloner) pointed to some corrupt files on the original drive.
    I have deleted those files and am finding good copies of them  in Time Machine backups.
    I want to get rid of the original external drive; use the recent backup as my main external and then back it up onto a brand new drive.
    What I am not sure about is how to point lightroom to the backups so it knows to look on the new drive instead of the old drive and all those exclamation marks and question marks go away.
    There are close to 60,000 images in numerous folders all with one 'parent folder.'
    My best guess is from Lightroom Help - Create and Manage Folders -  Locate Missing Folders
    Can I point to the one parent folder and all the subfolders will come back?
    Is this the process to recover files into lightroom and will there be a problem with so many photos?

    http://www.computer-darkroom.com/lr2_find_folder/find-folder.htm

  • .AVI files not showng when RAW Only selected at import time

    Hi board,
    When I am looking at my SD card from my Nikon D90 in the Import view of Aperture I have the 'Raw Only' option selected for the RAW+JPEG Pairs setting. This results in .AVI files not showing up in the browser. Meaning that when I believed I was importing all my photos in RAW and my movies, my movies were actually not even considered for importing. I realize (now) that RAW Only quite litteraly means RAW Only, but why do I have to select Both when importing to get my movies? Then I would have to weed out any eventual JPEGs that I might have taken but do not want to import.
    I'm simply curious why .AVI are excluded together with .JPEGs. I did not consider this to be intuitive or clear to the user (since the setting is called RAW+JPEG Pairs, not mentioning that it could possibly exclude movies).
    Thanks!

    Same here, with Aperture 3.2.2, OS 10.7.2
    That definitely seems to be a bug to me; if either "JPEG only" or "RAW files only" is selected, the File Types selector is ignored, and no audio or video media are available in the import panel.
    Regards
    Léonie

Maybe you are looking for

  • Remote not working with new Mac Book Pro

    Had my 2.16 MBP for 2 days and cannot get the remote to work. The IR is not disabled, but I cannot select the UNPAIR option so I am guessing the remote is not paired with the MBP. I am pressing the Menu and FFD button, but nothing appears to happen.

  • How to get similar color for objects in different pictures

    how do you get similar color for objects in different pictures I have a prodject that i'm working on and i need to edit several images at once (preferabley) so that they are the same color. They are wooden cupboards and i need all the wood looking th

  • 64bit GCC on Solaris 10 x86????

    Hi, I have googled high and low, in search on how to get 64bit GCC compiler to work on Solaris x86. I got Solaris 10 x86 installed on a Dell PE2950. Any help you can provide is greatly appreciated. Thanks, -ken

  • Set up Network Load Balancing on an Azure VM

    i have an VM on Azure, on which I have two AD LDS instances. I want to set up Network Load Balancing to have fault tolerance between the two AD LDS instances. when i start to create a new cluster, it shows me a message that DHCP will be turned off. i

  • Base64 encode attachments but not xml payload

    Hi Everyone, Using the soap adapter I know that I can use an adapter module and base64 encode everything. Is it possible to base64 encode the attachments but leave the soap/xml payload as text/xml? Regards, Joe