How to display video in Java?????????????????????

hello everybody. this is my first time i post a qestion and i hope that you will help me. I started to make a project where I have to display video when I choose from a combo box.
I had two problems is how to display in arabic and I solved this problem.
Second problem what pakage I need? I knew that I have to you class Player from package media?
my question is how to download this pakage?and do I have to download JFM or other pakages.

JMF download & installation instructions are available at
http://java.sun.com/products/java-media/jmf/2.1.1/download.html
JavaDocs for JMF2.1.2 at
http://java.sun.com/products/java-media/jmf/2.1.1/apidocs/
Also download & read the JMF2.0 API Guide available at
http://java.sun.com/products/java-media/jmf/2.1.1/specdownload.html

Similar Messages

  • How to play videos in java application

    Hi... every one
    I want to write a java application to play videos ....Please guide me how to go about it..
    Thanks in advance...
    Rgrds
    Ravi. N

    [http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html]

  • HOW TO DISPLAY VIDEO PODCAST ARTWORK NOT VIDEO FIRST FRAME

    How do I get the photo for my video podcast to display? Feed: http://drcraigjohnson.net/podcasts/video/podcast.xml I only see the first frame of the video in cover flow. Code validates. The image is 600 x 600 per iTune specs, but testing with 300 x 300 didn't help. Thank you!

    The coverflow art equals the album coverart. That art MUST be embedded to show. It doesn't matter if you are actually listed in the iTunes store or not. Now the picture that shows in the store along with website info, customer reviews, etc. is pulled from the iTunes image tags (<itunes:image href="http://yourpictureURL.jpg" /> within your podcast xml file.
    I found the following link within the podcast maker forum with more info from a forum moderator: http://homepage.mac.com/rfwilmut/notes/faq.html#coverart
    BTW when a picture is embedded (whether using iTunes to embed or something else), the actual image, NOT a link to the image is "built into" the file whether mp3 audio or m4v video. I did extensive tests embedding a 50k picture and saw the file's size increase substantially, though not exactly matching the photo size.
    Embedding solved my video coverflow picture issue too. Changing/uploading a new image to your server will NOT change the picture shown in album coverart. Thus your "channel" can have a changeable image (the one in the iTunes tag) but each episode can have its own logo/album art.

  • How to display video thumbnails in Elements Organizer 8?

    I have a basic problem with Elements Organizer 8 and I'm really hoping someone can help me...
    I'm running 64-bit Windows 7 Ultimate on an Alienware Dimension AURORA_ALX (i7 975 @ 3.33Ghz) with 9Gb RAM.  I've installed Photoshop Elements 8 and Premiere Elements 8.  I've then transferred video clips from my Sony HDR-SR12E and now want to manage them effectively using Premiere Elements 8.  The problem I'm having is that Elements Organizer 8 isn't showing any thumbnails for the video clips I've imported (I don't have the same problem with photo files - the thumbnails for these display correctly).  Windows 7 has no difficulty with showing the thumbnails when I open the folder containing the video clips, so this appears to be an issue with the Adobe software I'm using.
    I've looked through the manual and other online resources - no joy.
    I've attached a file (Capture.jpg) that hopefully illustrates my problem.
    Can anyone help?

    Hi guys
    I have to confess that I'm completely new to Premiere Elements.
    Thank you very much for your technical input everyone - this is much appreciated.
    Barb__O, I tried to follow your suggestion, and I'm pretty sure I got the steps right, but I still didn't have any luck.  Perhaps I went wrong somewhere?
    Also, based on the decent hardware specs I listed above, should I be expecting my computer to chomp through the auto-analyse stage?  I know it's AVCHD footage but the process still seems to take forever.

  • How to display value from java class with output generated with toplink

    i hava a requirement of displaying (distance ie calculated in java class) with output generated by query.
    ie if output is like
    school name (distance)
    physical address
    here the school name and physical address are retrived from database.

    Hi,
    ValueHolders are used by the JSF internal framework. To work with an object (attributes) in a managed bean you don't need to make it returning a value holder.
    Create a POJO, provide accessor methods and register it as a managed bean. Access it from JSF with EL
    Frank

  • How to display video on portal Via SiteStudio

    Hi,
    Through site-studio i have added a video. it is working fine in contribution mode. But, while trying to displaying on portal via content presenter custom template, it is not displaying anything. It shows the blank thing instead of video.
    I have used the following code in content presenter template.
    <af:outputText value="#{node.propertyMap['VIDEORIDCREGDEF:E3'].asTextHtml}" escape="false"></af:outputText>
    other than video, everything is working fine.
    Kindly suggest me where i m wrong pls.

    Take a look at the discussion available for this page http://www.yonaweb.be/webcenter_tutorial/using_content_presenter_templates
    (Search for 'video' on the page)

  • How to display video from UDP web camera

    hi
    Im interfacing to a Sony IPELA video camera that has a built in http web server.  i can send individual HTTP commands to authenticate, to retrieve still jpeg images from the camera and to control tilt pan zoom.  but when i initiate video, there is nothing, the bits fall onto the floor.
    As a result of searching it seems that software related to web cam applications is needed.  I thought how about Labview? is there a way to make an object that will consume an RTP video stream? it can be H.264 or mjpeg or mpeg4
    thanks so much

    hi
    Sony has some boilderplate/example code that runs in visual studio, your Sony rep for this camera should be able to send you the latest.  i might be able to find the older stuff but its old
    you setup the solution file in VS and it lets you get video and set parameters from your program.  i suppose that a connection between labview and this could be made such that the .vi controls the Win32 directly, so it doesnt have to know about the Sony camera it just interfaces to the .dll  but how to get the stream object and the video in the .vi ?  would take time to figure out
    also what we did was go with http://www.intuvisiontech.com/products/panoptes.php  and now that i think about it, there is a free video software app to get the stream data but they mention it in their website, the icon has a picture of a cone?  like construction zone warning cone
    anyway these folks are very helpful
    hth

  • How to display videos in Play Lists on iOS 6

    Under iOS 5 I was able to create play lists in iTunes and put batches of videos of the same type into separate play lists.  I then opened 'Music' on the iPhone and selected the playlist I wanted.
    Under iOS 6, Music no longer allows those videos to appear - they now appear only in 'Videos' but Videos doesn't appear to support play lists.
    Is it possible to store videos on the iPhone in different playlists any more or has the feature just been removed?

    you don't really need a MDM but it helps...
    solution is here:
    https://discussions.apple.com/message/19847523#19847523

  • How to convert videos to bitmaps?

    I couldn't find an solution how to load videos with Java and then convert still images to bitmaps. I should make a program that loads video files and then does some processing to the images after I get the data in still images. Is it possible to use standard codecs or is it nessessary to make or get a java version of a codec? I would be happy to find even a solution for mpeg1 -loader.
    So, if I have two seconds of video packed with mpeg1 with 25fps, I should have a way to convert it to 50 different unpacked images that I could process with java.
    If anyone knows how to proceed with this kind of thing, it would be a real help!

    Thanks. As long as those files aren't copy-protected (as they probably will be if these videos are from a download store), it shouldn't be difficult to convert them. If you'll search the iTunes for Windows forum for "video convert", you should find several threads with recommendations on video converters you can use:
    https://discussions.apple.com/community/itunes/itunes_for_windows
    Regards.

  • How to display a 16-bit bmp file

    Hi,
    i have a 16 bit BMP file available in a byte[] along with the BITMAPINFO information. how to display this in Java.
    i was able to find the code for displaying the 8-bit/24-bit BMP file in Javaworld :Java Tip 43 .
    Pls provide pointers to sample/example code if available.

    Try JAI it supports 8, 16, and 32 bit image data types.
    http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/index.html

  • How to display the time length of video (current time/ total time) ?

    Hi,everyone. I would like to ask how to display the time length of the video which show only in system example: it show the current time and total time? using AS 3.0.
    It there any information or solution to solve it? .
    I appreciate it any of you able to answer it. ^^
    Thank you.

    Hi,
    Actually I have this requirement for MAC OS 10.5. With the code you provided, I got the output as "6289375". When I changed the URL to point to my file (file:///Users/VPKVL/Desktop/MyRecord/tempAudio.wav), I am getting the below mentioned Exception:
    Exception in thread "main" javax.sound.sampled.LineUnavailableException: Failed to allocate clip data: Requested buffer too large.
         at com.sun.media.sound.MixerClip.implOpen(MixerClip.java:561)
         at com.sun.media.sound.MixerClip.open(MixerClip.java:165)
         at com.sun.media.sound.MixerClip.open(MixerClip.java:256)
         at TestWavLength.main(TestWavLength.java:13)The "tempAudio.wav" file is created by using java sound API. I am using the SSB USB Headphone Set to record the audio with the following settings for AudioFormat object:
    AudioFormat audioFormat = new AudioFormat(
              AudioFormat.Encoding.PCM_SIGNED, // the audio encoding
                                                            // technique
              48000.0F,// sampleRate the number of samples per second
              16, // sampleSizeInBits the number of bits in each sample
              2, // channels the number of channels (1 for mono, 2 for
                            // stereo, and so on)
              4, // frameSize the number of bytes in each frame
              48000.0F,// frameRate the number of frames per second
              false); // bigEndian indicates whether the data for a single
                            // sample is stored in big-endian byte order
                            // (false means little-endian)Can you please suggest where I am going wrong ?

  • How to display a oracle table from a java program?

    How to display a oracle table from a java program.
    Hello friends, I have written a Java program, using oracle 10g as backend.
    I want to display a oracle table as output. Im not getting how to display oracle table as a output table.. Pls help me
    Thank you

    jayanthds, you're not going to get a satisfactory
    answer to this here. it's too big a task to justbe
    quickly outlined in a forum - the reply "all youneed
    to do is to query you table and return it asJTable"
    is worthless, for example, since the solution to
    any problem can be distilled to such a
    soundbite, if need be. doesn't make the solutionany
    simpler
    essentially you're asking "how do I write adatabase
    application?". all you'll get is snippets of code
    that, when fitted together, will eventually helpyou
    do this, but you'll spend days and days comingback
    saying "right, I've done that, now what?" until
    either you or the forum gets frustrated with the
    whole affair and the process stops
    there are entire books written about this subject,
    and countless tutorials and guides on theinternet.
    you're better off going down that routehehehe.well, it's true! I used to have a manager that would outline the solution to a problem in a few lines of pseudocode, and then firmly believe that the actual solution would be just as brief and simple. shame his pseudocode included such lofty abstractions as "reformat all data"

  • How to display meesage in JSP from DAO.java

    Hi all,
    I have a Dao.java coding where i have my oracle queries executed.i have separate functions for every query.It should return boolean value.If the 1st functions returns true,then the second function should be called.if it returns false,i have to display some message like "You have received the message already" in my JSP.i use JSP,Servlet and Dao.
    How to execute this.How to display the message.Pardon me if its too silly.Help me out guys.
    If(true)
    call 2nd function
    else
    display message
    }

    What have you tried?
    What happened?

  • Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    The WebCam pod can pause a live video showing a static image. However, I believe that you are looking to use a Share pod, where you can upload a JPG or PNG image. Just place the share pod with the image where you would have the Camera pod.

  • How to display sqlplus result in java?

    I want to call sqlplus to execute some sql commands in java,but how can i print the result of sqlplus?
    In java code ,i call sqlplus like:
    Process p;
    //execute the command
    p = Runtime.getRuntime().exec(commandString);
    //print return result of the command
    InputStream inputStream = p.getInputStream();
    How to display the execution result?
    Edited by: Yi on Feb 26, 2012 11:41 PM

    You can use ProcessBuilder. This code launches sql*plus and runs the script in the 'filename' variable. It displays the results in NetBeans console.
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.io.File;
    import java.util.Map;
    public class test1 {
        public static void main (String args []) {
            test_script();
        public static void test_script () {
            String fileName = "@test_table.sql";
            String sqlPath = "E:\\";
            String sqlCmd = "sqlplus";
            String arg1   = "user/password@sid"; -- plug in your user, password and db name
            String arg2   = fileName;
            try {
                String line;
                ProcessBuilder pb = new ProcessBuilder(sqlCmd, arg1, arg2);
                Map<String, String> env = pb.environment();
                env.put("VAR1", arg1);
                env.put("VAR2", arg2);
                pb.directory(new File(sqlPath));
                pb.redirectErrorStream(true);
                Process p = pb.start();
              BufferedReader bri = new BufferedReader
                (new InputStreamReader(p.getInputStream()));
              BufferedReader bre = new BufferedReader
                (new InputStreamReader(p.getErrorStream()));
              while ((line = bri.readLine()) != null) {
                System.out.println(line);
              bri.close();
              while ((line = bre.readLine()) != null) {
                System.out.println(line);
              bre.close();
              System.out.println("Done.");
            catch (Exception err) {
              err.printStackTrace();
    }Here is the contents of the script placed at E:\\test_table.sql
    Prompt drop TABLE ANOTHER_TEST;
    DROP TABLE ANOTHER_TEST CASCADE CONSTRAINTS
    Prompt Table ANOTHER_TEST;
    CREATE TABLE ANOTHER_TEST
      BATCH_SEQ             NUMBER,
      BATCH_GROUP_ID        NUMBER,
      STATUS_FLAG           VARCHAR2(30 BYTE),
      OBJ_BEING_PROCESSED   VARCHAR2(80 BYTE),
      BATCH_RUN_START_DTTM  DATE,
      BATCH_RUN_END_DTTM    DATE,
      CREATE_DTTM           DATE,
      CREATE_USER           VARCHAR2(30 BYTE),
      UPDATE_DTTM           DATE,
      UPDATE_USER           VARCHAR2(30 BYTE)
    LOGGING
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING
    COMMENT ON TABLE ANOTHER_TEST IS 'This is a test table.'
    EXIT
    /

Maybe you are looking for

  • HT204370 Purchased movie gone after update

    I had purchased the movie Bolt! aaages ago and it was always in my library. After updating to iTunes 11.0 (I guess) it's just gone. What happened? And how do I get it back??

  • Set value: Selectlist

    Hello, I create some Selectlist in a report: APEX_ITEM.select_list_from_query (20, --p_idx                                          '%null%', --p_value   'SELECT no || '' * '' || bez, bws_id FROM v_test where bws_id = ' || fr.bws_id_zuf || ' AND lang

  • How to create a calendar in Calendar

    Is there a way to create a calendar in Calendar on my iPad 2? I would like to create a calendar on my iPad using Calendar, but I only want it on my iPad. I don't want to have to use another program, like Google Calendars, to create the calendar, then

  • Invoking Stored Function

    I have this function defined in my database: create or replace FUNCTION return_string_func(x VARCHAR2) RETURN VARCHAR2 AS BEGIN return 'Hello ' || x; END; and i am trying to invoke it as follows: PLSQLStoredProcedureCall call = new PLSQLStoredProcedu

  • Can someone share Solaris 10 x86 patch 145028-01?

    Hi All, My sunsolve account does not have priviledge to download Solaris 10 x86 patch 145028-01. Can someone download and share this patch with me? Regards, SD