No Java video?

Just got done installing Arch on my Oracle VirtualBox, and decided to use xfce4 as my gui. I installed the JDK (OpenJDK) and ran a test application (early version of an OpenGL game I'm making). The sound works, and it responds to clicks and keyboard input, but the video remains black!
I'm currently launching the application with "java -jar NameOfJar.jar"
Please advise.

Please mark the thread as [SOLVED]

Similar Messages

  • Java Video Issues in Snow Leopard

    Hello,
    After a little help and adive....
    Been trying to fathem out my trouble with Java videos and games, I have looked through previous posts and tried what has been sugested and still not working, only thing I havnt tried is reinstalling Java, as I can seem to work out how to!
    The videos are choppy, or I just get a black screen for about 15 sec, and games wont load or I cant click anything, I have been to the Java site and tested my installed Java and it showed it is working.
    The Java prefrences wont let me select between 64 and 32 bit, and I dont have the check box that is the solution via Mac Support.
    I get the same problems on Safari, Firefox and Chrome.
    I am running a Macbook Pro on:
    Version 10.6.8 Build 10K549
    Safari 5.1.5
    Java 1.6.0_41-b04-415
    Any help would be great!
    Cheers, Steve

    Java games?  What games are written in Java?
    Even more curious, what videos use Java?
    I think you are confusing Java with flash.
    I don't know about the games but the video is dependent on a number of things; whether other processes are hogging the cpu, your internet connection speed, how fast the video server is, and how high the resolution of the video is.  In the latter case most online flash videos like youtube allow you to lower the resolution.  They have a little gear in the lower right toolbar of a video which you click to lower the resolution.
    Make sure you have the latest flash plugin installed.  You should download it only from the adobe site.

  • Finding a java video streaming player

    I recently use FreePastry to implement a p2p video streaming system.
    But now i have a new challege, which bother me several days.
    In Splitstream, which uses Byte[] to send the data to other peer.
    I want find a java video player. It would be best to receive Byte[] as input.
    I try JMF, but it use RTP as the input.
    Is there any other video players suited about my case.

    There is a function in LiveStream.java called read. Read passes in a buffer object. The goal is to write all of the data you have available into the buffer object.
    What you want to do is something along the lines of the following pseudocode...
    public void read(Buffer buffer) throws IOException {
        synchronized (this) {
            /* Get the data */
            byte[] data = FunctionThatGetsByteArrayFromTheNetwork();
            /* Write the data to the buffer object */
            buffer.setData(data);
    }As for using the PushBufferDataSource, you just create one like you would a normal class (just use the new operator) and give it to a processor or a player like you would a normal data source.
    You need to include the DataSource.java code like the example does, modify it to use your modified LiveStream.java (you'll probably change the names of classes, so update the DataSource.java class to reflect those changes) and then just use it to create your DataSource.
        /* From DataSource.java */
        DataSource ds = new DataSource();
        /* Normal way of doing this */
        Processor p = Manager.createProcessor(ds);

  • How to do JAVA Video ?

    I am trying to do a Video project with JAVA. Where i would like to capture webcam/video as buffer or as file and playback. After able to do that i want to send the data ip to ip. Which java libraries i can follow to get started ?
    Thanks & Regards

    user9365937 wrote:
    Few things:
    - Its not working only with JVM ?Yes. You need the Java Media Framework.
    - It requires extra installation of JMF for cross platform ?Ditto.
    After installing JMF, then i can have Video access ? Getting confused, which means, if i have users of 1000 in different locations, i have to make sure each of them running first JMF and then my Java application ?What do you mean exactly with "Video access"?
    Maybe you should investigate JMF to see whether it's an acceptable solution for you, if not, try something else.

  • Java Video Streaming

    Hello
    I try to get an overview of what's possible according to video streaming in sun's wonderland. The goal is to stream prerecorded videos, stored on a webserver (not necessarily on the same machine like the wl-server ) into our wonderland embedded swing application.
    My first investigation shows me, that I have the following possibilities to stream videos in Java:
    - Java Media Framework (JMF)
    - JVLC (VideoLAN Java API)
    - Quicktime Streaming API (only quicktime movies)
    -> http://www.onjava.com/pub/a/onjava/2005/01/12/strmng_qtj.html
    - Red5 Java Client (only flash movies):
    -> http://www.actionscript.org/resources/articles/617/1/Streaming-and-database-connection-with-red5-media-server/Page1.html
    - Mplayer Java Client:
    -> http://beradrian.wordpress.com/2008/01/30/jmplayer/
    So what do you suggest me? What's the best way? Are there any code-examples for streaming videos from a webserver to a local java-client using JMF?
    Thanks for your help.
    Kind regards,
    Peter
    Edited by: blood_on_ice on Mar 23, 2009 12:44 AM

    Thanks for your answer...
    >
    The "best" way? Considering you're using a Swing application, your best bet is probably going to be JMF. JavaFX has support for playing videos, but I'm not sure if they have support for RTP streams or progressive downloads or anything.
    If you wanted to go the extra mile, you could look into embedding a Silverlight or Flash player into your Swing application. Silverlight is pretty cool because it's HD capable...>
    Yes I have to develop the video streaming in a swing non-top-level Swing JComponent (such as a JPanel) because this is a wonderland restriction...I don't know JavaFX yet, is it possible to build a JavaFX app inside such a non-top-level Swing component? Embedding silverlight in a java-app isn't a really good idea I think...
    Further recherches shows me, that I need on-demand video streaming with the ability to start, stop, play, pause etc. the video which is stored for example on a webserver. This is possible throught RTSP or HTTP according to: [http://www.remlab.net/op/vod.shtml|http://www.remlab.net/op/vod.shtml] ...when I use rtsp, I need a streaming-server like vlc, for http i just need my video stored on a webserver.
    So what do I have for possibilities to stream such a video in a java client (non-top-level Swing JComponent) with RTSP or HTTP?
    I've tried following rtp-code-example: [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive.html|http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/AVReceive.html]
    but it didn't work...I started my vlc-streaming server this way:
    cvlc -vvv movie.mpg --sout '#rtp{dst=192.168.1.33,port=1234,sdp=http://localhost:8080}'but the output of the rtp-code-example shows the following:
    run:
    - Open RTP session for: addr: 127.0.0.1 port: 8080 ttl: 1
      - Waiting for RTP data to arrive...
      - Waiting for RTP data to arrive...
      - Waiting for RTP data to arrive...
      - Waiting for RTP data to arrive...
      - Waiting for RTP data to arrive...
    With vlc http://127.0.0.1:8080 i receive the stream...
    But I couldn't find an example of how I can get an rtsp-stream or a http-stream in jmf...
    Thanks for your help.
    Kind regards,
    Peter
    Edited by: blood_on_ice on Mar 23, 2009 8:59 AM
    Edited by: blood_on_ice on Mar 23, 2009 9:00 AM

  • Java Video Library?

    Hello
    Does anyone know of a library for Java that allows encoding and decoding videos frame by frame? Preferably also stepping to a given frame when decoding, and have support for as many different formats as possible. :)

    I've never user JMF, but I have looked at the API once and I saw something
    to extract individual frames
    FrameGrabbingControl

  • Java video player

    Do you guys have any idea to write a rmvb player ? which class should i use?
    any example i can have a look?
    thanks

    Try this article: http://www.javaworld.com/javaworld/jw-04-1997/jw-04-jmf.html.
    It's a general discussion of the Java Media Framework, libraries that allows you
    to embed audio and video into your applets and applications. I'm just not sure
    if it supports the rmvb format.
    And try "Google-(ing)" it - there are a lot of other resources that can be useful.

  • DirectShow - Java  Video Streaming

    Is there any available information on how to stream a video across a newtwork through dsj without JMF?
    Thanks a lot

    The demo does that and it is described in the javadocs for WMNetSink.
    nils
    P.S. Please use the DirectShow<>java thread for questions on dsj

  • Really need Help! - Java Video Streaming

    Hi,
    I bought a 'Creative' web-cam today and I want to be able to display real-time video in a Java applet. Could someone please help me to do this.
    What classes do I need to capture the video, and use a server to either broadcast or stream the video to a client( applet ).
    I have JMF 1.2.1 installed with jdk1.3.1
    I'm kindof new to Java and really need to know where to start.
    F

    You should use JMF 2.0 or above version because they provide capturing ability.And also see the page. http://java.sun.com/products/java-media/jmf/2.1.1/solutions/
    I think you will find some useful material on this page.

  • Java video conferencing

    Could people give me links to tutorials/pointers for advice for this possible future project?
    To program a java version of Skype/msn messenger type of thing.

    but i m not much more clear about video using jmf,canBe more specific about your problem. You can check out good code sample on this site.
    http://java.sun.com/products/java-media/jmf/

  • Java Video Tutorials

    Hi, is there any good website where we can find video java tutorials / video class teaching on topics like multithreading, JMS (Java Messaging Service) and Networking / Socket Programming .

    Hi, This was my first question , so by mistake i cross posted.
    I will take care of this in future.

  • Java Video Tutorials / Class Teaching

    Hi, is there any good website where we can find video java tutorials / video class teaching on topics like multithreading, JMS (Java Messaging Service) and Networking / Socket Programming .

    Java is very light on "video tutorials". YouTube might have some but they are normally poop.

  • Java applets videos not working on my MacBook Pro late 2011

    Hello,
    I have Mac book pro wit os lion x 10.7.3 and the problem is that i am unable to play java videos from certain sites..
    here is the screenshot please help me on this isue.

    Hi ...
    Installing this update may help >  Java for OS X Lion Update 1
    Then restart your Mac, launch Chrome.
    From the Chrome menu bar top of your screen click Chrome > Preferences and make sure Java is enabled.

  • Is it possible to play java runtime machine videos on firefox mobile?

    A video lesson is on a website as a java video. When I try to pull it up, it says I am missing the extension.

    I'm not aware of a Java plugin for the Android operating system.

  • Newbee : jmf video in full java ?

    Hello,
    I am trying to develop with the jmf technology. I tried to see quicktime movies with jmstudio. Failure. Of course I can see these movies with VLC or mplayer.
    Then I tried with the jmf for linux, so some of quicktime movies are seable with jmstudio.
    So my questions are :
    - Is it possible to have a full java video player? If yes : which file format and which CODEC ?
    - Do you tools to convert movies into this format ? (I try ffmpeg but without success)
    - Is it possible to select the video track or the sound track in this kind of movie ?
    - Is it possible to have the size (200 * 300) of the video track ?
    Thanks for any pointers
    PHL.

    You might want to start by posting question in the correct subforum...
    This forum is for mobile application development.
    If this IS the correct forum, I suggest you take a look at the available mobile api's. JMF, Swing and I realy have no clue what Java Server Faces would have to do with video playback...

Maybe you are looking for

  • Can't upgrade to 10.6.7 or 10.6.8 for Lion 10.7 what do i do??

    Hello there this is Daniel I hope someone can help me with the following.. I have a Mac Book Pro and when I was getting ready to upgrade to 10.6.7 this happened right after it downloaded of the software-upgrade on my Mac.. http://cl.ly/0n0p423s423z1k

  • Lightroom Activation Question

    I am new to Lightroom and haven't used an Adobe product since Photoshop 7 where activation wasn't required. How many times can I install Lightroom? I understand that with CS2 I can only install it for ether Mac or Windows platform but not both. Is is

  • Photoshop cc mini bridge

    is bij CC ook de mini bridge beschikbaar ? gr. peter

  • Dial up and i web

    Will i web work with a dial up connection?

  • Video freezes Mac to Windows

    Every time I make a video call to either my mom or my daughter my video freezes after about 20 - 60 seconds after which they can no longer see me. I can still see them and they can still hear me fine-just no video from me. Both my mom and daughter ca