Black screen on Media Player using jmf

I am using code to tranmit video using RTP using JMF and i am able to successfully get the video on client side
Code to send the video over rtp
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVTransmit2.java
code to recieve video over rtp
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive.html#source
My problem is i am not able to play video in AVTransmit2.java.
If i create a player using datasouce, eigther i get player already occupied or a black screen.
please help me running the video on Transmit side as well.

i have same problem. works fine booting back up to Snow Leopard, but it's a drag to get windows to work. you can also chose to boot to last known working configuration in lieu of system restore, but it's still cumbersome.

Similar Messages

  • I have put Netflix on my Macbook Pro but Silverlight will not run. I receive a black screen that says "player error." Does anyone have a solution for this. Netflix support is not so hot.

    I have put Netflix on my Macbook Pro but Silverlight will not run.I receive a black screen that says "player error." Does anyone have a solution for this. Netflix support is not so hot.I can use Netflix straming thru my Blueray on my TV but it will not run on my Pro. Thanks

    Try running Safari in 32 bit mode.  In get info box for Safari,
    check open in 32 bit mode.  There have been some oddities
    on some systems that can cause some issues.
    I had thought MS had fixed this, but may not have.

  • Streaming video through Windows Media Player using USRP

    Is there any document / guide or any example explaining how to do streaming through Windows Media Player using USRP. 
    Thanks 
    JK

    Joseph,
    I have been looking a bit more and have found a few examples that seem similar to what you are looking to do. Here is an example of video streaming using USRP RIO or FlexRIO https://decibel.ni.com/content/docs/DOC-40747. I also found an example of doing wireless streaming of video https://decibel.ni.com/content/docs/DOC-22728. Sorry I was unable to find these in my first post; I hope they help!
    Scott B.
    AE NI

  • How do i stop black screen from media playback

    how do i stop black screen from media playback?

    You mean. as in when you put the phone on your face when you are talking?
    It goes dark so you will not open apps are press other controls while the phone is pressed to your face.
    Don't be rediculous.

  • How to remove "Ads by Media Player" using Chrome? Online solutions are for Windows

    How to remove "Ads by Media Player" using Chrome? Online solutions are for Windows.
    Having relentless pop up ads which open new browser windows. Searched all over for a Mac solution and can't seem to find one. Help please!?

    http://www.adwaremedic.com/index.php
    (Read the whole page to learn about adware!)

  • Whenever I export my interactive indesign file to swf the videos won't play in the resulting html file, it's just a black screen. I'm using .mp4 videos as well.

    Whenever I export my interactive indesign file to swf the videos won't play in the resulting html file, it's just a black screen. I'm using .mp4 videos as well.
    Does anyone know what may be causing this problem?
    Thank you

    Unless you held down the Command key when dragging the iPhoto Library package to the flash drive you only copied the library.  How is the flash drive formatted?  If it was not OS X Extended (journaled) the integrity of the library's internal structure was probably compromised.
    If you don't have a current backup of your library do the following:
    1 - launch iPhoto with the Command+Option keys held down to open the First Aid window. Be sure to follow the circled recommendation in the screenshot.
    2 - run Option #4, Rebuild Database.

  • Black Screen on Real Player and WMP

    Hi guys, i have tried this with a couple of cards and just recently i got a new card to hopefully fix this issue. I have the MX400 GeFroce 4 128MB. I get picture on my computer and TV when i have set it to clone and everything but when i go to play a streaming video file from Real Player all i have is a black screen in any size fullscreen or windowed. Same with Windows Media player. Is there a fix for this or is there a setting i have to change....any help would really be appreciated thanks....Using all the latest drivers and bios.....thanks..

    Don't the PowerMac G5's have PPC chips in them?
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wo/0.RSLID?mco=2 9664A&nclm=PowerMac
    That is what the Apple Store says at least... can you order it with the Intel CoreDuo?
    In other words Flip4Mac should have no problem on your computer. If you are having trouble I suggest checking out the Flip4Mac site.

  • HT2499 I ejected ACDs from my Mac Pro DVD player and now there is just a black screen with DVD player and the Apple insignia the bottom right corner. I can't get anything to turn on and shut this down. Got stuck. What do I do?

    On my MacBook Pro I finished using a CD and it ejected. Then I have a black screen just a DVD player showing on the bottom of a black screen. I can't do anything with my cursor at all nothing opens up and I don't know how to get that off the screen and start using the computer again – thanks for any help you can give me

    Hi there,
    You may need to force quit the application. Take a look at the article below for more information.
    Mac OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    -Griff W.

  • Full screen windows media player

    Greetings - I am having issues trying to open a .wmv file
    full-screen. I am simply using:
    on mouseUp
    baOpenFile( the moviePath & "01.wmv" , "maximized" )
    end
    I have made several attempts to at code to make sure it opens
    in full-screen, but found no simple solution. I am running dual
    monitors and this will open up in the second monitor within the WMP
    - full screen.
    Thanks all -
    bS

    Hmmm … maximizing the application isn’t exactly
    the same as full screen playback (ie: without all the interface
    elements). If you want to maximize the application on a given
    monitor the following might work:
    Open media player in normal mode
    Use baMoveWindow to place the player on the monitor of your
    choice
    Use baSetWindowState to maximize
    You could use baMoveWindow to both move the window and make
    it full screen although I don’t think the OS will recognize
    the window as being maximized.
    To use Buddy API’s window functions you’ll need
    the WinHandle for your media player window … look closely at
    baFindWindow and/or baWindowList … these functions I have
    used. Make sure you use the window title to find the handle, using
    the class is dangerous because there is no guarantee that media
    player will be the default player for wmv on any given system.
    If your projector is windowed and can be dragged by the user,
    and if you want to identify which monitor shares the greatest area
    with the projector stage I wrote the following function. Works fine
    with single monitor systems. Note that if the user somehow manages
    to push the projector off all screens the primary monitor is
    returned. I’m not sure what will happen if you call the
    function while the projector is minimized (not possible in my use).
    I suspect the primary monitor would be returned but I’ve
    never tested that, it all depends on what the value of
    _movie.stage.rect is when the application is minimized. If
    it’s rect(0,0,0,0) there’s no problem, if it’s
    void the following code would need to be modified to check the
    application state first.

  • Black Screen with Flash Player

    Has anyone had the issue with getting a black screen when clicking the flash player file, this is what i am trying to
    get working:
    http://www.aemo.com.au/planning/2010ntndp_cd/html/interactivemap.htm
    I am using the latest version of 10.3.183.7 with internet explorer 8, windows xp 32 bit for the vast
    majority of pc's accessing this site.
    I cannot get this working. Apparently it was an issue with a previous version and Adobe produced this
    one to fix.
    I urgently need to get this working.
    Any suggestions, assistance greatly appreciated.
    Thanks
    Lawrence

    Hi Lawrence,
    I also experienced the same issue when I visited the page using Flash Player 10.3. However, Flash Player 10.2 plays the content properly.
    You can download Flash Player 10.2 debugger version from: http://fpdownload.macromedia.com/get/flashplayer/installers/archive/fp_10.2.159.1_archive. zip
    Extract the zip file you download. flashplayer10_2r159_1_win.exe is the installation file.
    Thanks

  • Win Media Player from JMF...

    Hi,
    I am new to JMF. I am currently developing a p2p based video streaming project and would like to invoke Win Media Player or Flash Movie Playre from the Java app..
    Pleasen help / advice / suggest...
    Thank you.
    Salil.Siddhaye

    this code may help it is sun sample code
    * @(#)SimplePlayerApplet.java     1.2 01/03/13
    * Copyright (c) 1996-2001 Sun Microsystems, Inc. All Rights Reserved.
    * Sun grants you ("Licensee") a non-exclusive, royalty free, license to use,
    * modify and redistribute this software in source and binary code form,
    * provided that i) this copyright notice and license appear on all copies of
    * the software; and ii) Licensee does not utilize the software in a manner
    * which is disparaging to Sun.
    * This software is provided "AS IS," without a warranty of any kind. ALL
    * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY
    * IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
    * NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE
    * LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING
    * OR DISTRIBUTING THE SOFTWARE OR ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS
    * LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT,
    * INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
    * CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF
    * OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE
    * POSSIBILITY OF SUCH DAMAGES.
    * This software is not designed or intended for use in on-line control of
    * aircraft, air traffic, aircraft navigation or aircraft communications; or in
    * the design, construction, operation or maintenance of any nuclear
    * facility. Licensee represents and warrants that it will not use or
    * redistribute the Software for such purposes.
    import java.applet.Applet;
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.String;
    import java.net.URL;
    import java.net.MalformedURLException;
    import java.io.IOException;
    import java.util.Properties;
    import javax.media.*;
    //import com.sun.media.util.JMFSecurity;
    * This is a Java Applet that demonstrates how to create a simple
    * media player with a media event listener. It will play the
    * media clip right away and continuously loop.
    * <!-- Sample HTML
    * <applet code=SimplePlayerApplet width=320 height=300>
    * <param name=file value="sun.avi">
    * </applet>
    * -->
    public class SimplePlayerApplet extends Applet implements ControllerListener {
    // media Player
    Player player = null;
    // component in which video is playing
    Component visualComponent = null;
    // controls gain, position, start, stop
    Component controlComponent = null;
    // displays progress during download
    Component progressBar = null;
    boolean firstTime = true;
    long CachingSize = 0L;
    Panel panel = null;
    int controlPanelHeight = 0;
    int videoWidth = 0;
    int videoHeight = 0;
    * Read the applet file parameter and create the media
    * player.
    public void init() {
         //$ System.out.println("Applet.init() is called");
         setLayout(null);
         setBackground(Color.white);
         panel = new Panel();
         panel.setLayout( null );
         add(panel);
         panel.setBounds(0, 0, 320, 240);
         // input file name from html param
         String mediaFile = "The Departed CD1.avi";
         // URL for our media file
         MediaLocator mrl = null;
         URL url = null;
         // Get the media filename info.
         // The applet tag should contain the path to the
         // source media file, relative to the html page.
         if ((mediaFile = getParameter("FILE")) == null)
         Fatal("Invalid media file parameter");
         try {
         url = new URL(getDocumentBase(), mediaFile);
         mediaFile = url.toExternalForm();
         } catch (MalformedURLException mue) {
         try {
         // Create a media locator from the file name
         if ((mrl = new MediaLocator(mediaFile)) == null)
              Fatal("Can't build URL for " + mediaFile);
         try {
              JMFSecurity.enablePrivilege.invoke(JMFSecurity.privilegeManager,
                                  JMFSecurity.writePropArgs);
              JMFSecurity.enablePrivilege.invoke(JMFSecurity.privilegeManager,
                                  JMFSecurity.readPropArgs);
              JMFSecurity.enablePrivilege.invoke(JMFSecurity.privilegeManager,
                                  JMFSecurity.connectArgs);
         } catch (Exception e) {}
         // Create an instance of a player for this media
         try {
              player = Manager.createPlayer(mrl);
         } catch (NoPlayerException e) {
              System.out.println(e);
              Fatal("Could not create player for " + mrl);
         // Add ourselves as a listener for a player's events
         player.addControllerListener(this);
         } catch (MalformedURLException e) {
         Fatal("Invalid media file URL!");
         } catch (IOException e) {
         Fatal("IO exception creating player for " + mrl);
         // This applet assumes that its start() calls
         // player.start(). This causes the player to become
         // realized. Once realized, the applet will get
         // the visual and control panel components and add
         // them to the Applet. These components are not added
         // during init() because they are long operations that
         // would make us appear unresposive to the user.
    * Start media file playback. This function is called the
    * first time that the Applet runs and every
    * time the user re-enters the page.
    public void start() {
         //$ System.out.println("Applet.start() is called");
    // Call start() to prefetch and start the player.
    if (player != null)
         player.start();
    * Stop media file playback and release resource before
    * leaving the page.
    public void stop() {
         //$ System.out.println("Applet.stop() is called");
    if (player != null) {
    player.stop();
    player.deallocate();
    public void destroy() {
         //$ System.out.println("Applet.destroy() is called");
         player.close();
    * This controllerUpdate function must be defined in order to
    * implement a ControllerListener interface. This
    * function will be called whenever there is a media event
    public synchronized void controllerUpdate(ControllerEvent event) {
         // If we're getting messages from a dead player,
         // just leave
         if (player == null)
         return;
         // When the player is Realized, get the visual
         // and control components and add them to the Applet
         if (event instanceof RealizeCompleteEvent) {
         if (progressBar != null) {
              panel.remove(progressBar);
              progressBar = null;
         int width = 320;
         int height = 0;
         if (controlComponent == null)
              if (( controlComponent =
              player.getControlPanelComponent()) != null) {
              controlPanelHeight = controlComponent.getPreferredSize().height;
              panel.add(controlComponent);
              height += controlPanelHeight;
         if (visualComponent == null)
              if (( visualComponent =
              player.getVisualComponent())!= null) {
              panel.add(visualComponent);
              Dimension videoSize = visualComponent.getPreferredSize();
              videoWidth = videoSize.width;
              videoHeight = videoSize.height;
              width = videoWidth;
              height += videoHeight;
              visualComponent.setBounds(0, 0, videoWidth, videoHeight);
         panel.setBounds(0, 0, width, height);
         if (controlComponent != null) {
              controlComponent.setBounds(0, videoHeight,
                             width, controlPanelHeight);
              controlComponent.invalidate();
         } else if (event instanceof CachingControlEvent) {
         if (player.getState() > Controller.Realizing)
              return;
         // Put a progress bar up when downloading starts,
         // take it down when downloading ends.
         CachingControlEvent e = (CachingControlEvent) event;
         CachingControl cc = e.getCachingControl();
         // Add the bar if not already there ...
         if (progressBar == null) {
         if ((progressBar = cc.getControlComponent()) != null) {
              panel.add(progressBar);
              panel.setSize(progressBar.getPreferredSize());
              validate();
         } else if (event instanceof EndOfMediaEvent) {
         // We've reached the end of the media; rewind and
         // start over
         player.setMediaTime(new Time(0));
         player.start();
         } else if (event instanceof ControllerErrorEvent) {
         // Tell TypicalPlayerApplet.start() to call it a day
         player = null;
         Fatal(((ControllerErrorEvent)event).getMessage());
    } else if (event instanceof ControllerClosedEvent) {
         panel.removeAll();
    void Fatal (String s) {
         // Applications will make various choices about what
         // to do here. We print a message
         System.err.println("FATAL ERROR: " + s);
         throw new Error(s); // Invoke the uncaught exception
                   // handler System.exit() is another
                   // choice.
    take care add the video to the same path where the code is saved
    hope that will help you

  • 890fxa-gd65 black screen due to usb use ?

    To discribe the problem in simple words: I noticed that my new build system stops working after approx. 20 minutes when I play a game (burnout city paradise) with my logitech gamepad, hence usb. Screen goes black, system is totally not responding to anything, but fans still run. I have to shut it down with the button on the psu. But after that I can restart my system right away. When I play any other game that doesn't involve a gamepad, the system tends to do the same black screen thing after 2 hours of playing, but only if I have usb stuff plugged in (printer, external hdd's and a card reader). Again, hence usb. As soon as I unplug everything, exept for the mouse and keyboard, it seems that I can play without end, but sometimes the black screen thing still occurs. I have been reading similar post on this problem in this forum, and on the internet, and tried the sollutions suggested, (in the bios,ver 18.3, cell menu, changing timing from 1t to 2t, switching from unganged to ganged mode) but that didn't help.
    This is my setup:
    890fxa-gd65 mb with bios version 18.3
    AMD X4 II 965 AM3 Black [email protected] Mhz
    Geil 8 gig DDR3 Value Plus pc1333 Dual channel memory kit (2x4gig)
    MSI R6850 Cyclone Graphics Card.
    Samsung HD, 1 TB, HD103SJ F3
    Club 3D psu, 1000w
    Windows 7 ultimate, 64bit.
    If I should place screen shots of CPU-Z here, let me know. But i hope someone can help me, because I'm running out of options. I don't want to RMA this board just jet.

    Quote from: Svet on 24-August-11, 03:37:44
    do you use windows 7 chipset drivers?
    or msi chipset drivers? ==> http://www.msi.com/product/mb/890FXA-GD65.html#/?div=Driver&os=Win7%2064
    also do you have SP1 installed?
    I use the msi chipset drivers, and SP1 is installed.
    But something weird just happened. I just tried to play a game with "Battlefield Bad Company 2", single player. It took a while trying to load the level, and then, all of a sudden the screen went black and the whole system was not responding. Had to shut it down with the power button on the PSU. And could restart immidiatly after that. And I mean Windows. Not the game....... I'm puzzeled    What I can do is that I try to do the same thing, play a single player game with BFBC 2, and see what happens......
    Edit:
    As I wrote, I went back to the game. Now it had no trouble loading the level. And I could play. I didn't play it for an extended period of time. Just to see if it works. And as I said, it did. This is becoming a weird puzzle.

  • How can I plott data from a text file in the same way as a media player using the pointer slide to go back and fort in my file?

    I would like to plott data from a text file in the same way as a media player does from a video file. I’m not sure how to create the pointer slide function. The vi could look something like the attached jpg.
    Please, can some one help me?
    Martin
    Attachments:
    Plotting from a text file like a media player example.jpg ‏61 KB

    HI Martin,
    i am not realy sure what you want!?!?
    i think you want to display only a part of the values you read from XYZ
    so what you can do:
    write all the values in an array.
    the size of the array is the max. value of the slide bar
    now you can select a part of the array (e.g. values from 100 to 200) and display this with a graph
    the other option is to use the history function of the graphes
    regards
    timo

  • Premiere pro cc 2014 black screen or "media offline"

    Almost impossible to do much work in Premiere CC 2014. I use 3 machines in business and Premiere doesn't work with any of them for long. I can be editing fine for about an hour then suddenly my program monitor goes black or says media offline. The only way I can get it back is to reboot about 4-5 times before the project will load again. This happens regardless of where the media is stored, what version of Mac OS is used, or what plugins are used. Anybody else experiencing this?

    Hey John! Thanks for the help! So far I've encountered the issue on three different macs. Two are stock iMacs so some AMD chip. The third and least problematic is a desktop running a GTX 780 with CUDA 6.0.46. I will have to check on the two iMacs on Monday... I'm updating the Cuda for the desktop to see if that changes anything.

  • Using Yosemite - cannot project screen onto TV.  Get bits and pieces or black screen.  Have been using same setup for years.

    Using Yosemite - cannot project PC screen onto TV.  Can get a black screen or bits and pieces of a screen ( not always the one displayed on PC).  Have been using same setup for years.
    Thanks for any help

    Hi, edward.  
    Thank you for visiting Apple Support Communities.  
    I understand that you are having a display issue with your MacBook Pro on your TV.  I would need a little more information regarding how you are connecting your device and what content is being displayed to provide a better answer.  However, here is the best troubleshooting resource to go through when experiencing these symptoms.  
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/HT201177
    Cheers, 
    Jason H.

Maybe you are looking for

  • Hard drive array losing access - suspect controller - zfs

    i am having a problem with one of my arrays, this is a zfs fielsystem.  It consists of a 1x500GB, 2x750GB, and 1x2TB, linear array. the pool is named 'pool'.    I have to mention here, i dont have enough hard drive to have a raidz (raid5) setup yet,

  • Problem in OWB: connecting to a non-oracle database

    Good day, i'm working on a windows 32 bit machine,i have Oracle database , OWB 11.2.0.1 installed on it i'm trying to make OWB connect to a "Sybase" source database on another server , using ODBC i've tested the connection from SQLPLUS and it's worki

  • What does the "S" mean in reference to lenses? EF-S vs EF lens?

    I have both a digital camera, the 60D, and recently acquired an EOS 1N 35mm film camera.  I have bought lenses for my 60D but not the 1N film camera....was told that my 18-55mm lens for my 60D would not be interchangeable with the 1N?  So, EF-S vs EF

  • Is there any easy way to send free invoice via email without my credit info

    Is there any easy way to send free invoice via email without my credit info?

  • Query related to SE16

    In production system some of the users don't have authorization to use se16. So we have developed a report to do the same functionality as se16( by debugging Se16) In that it is using a function module called 'RS_TABLE_LIST_CREATE' prevously this fn