Package com.sun.media

Where do i find the API documentation of the package com.sun.media.

hi,
it is likely you won't find any api-documentation for this package since sun
usually discourages the use of some packages (compare sun.*)
and does not provide any documentation for that cause.
at least this is what i suspect; why do you want to use the anyway?
p.s. you can always have a look at the source code itself since it is open.
cheers

Similar Messages

  • Where to find the doc of package "com.sun.media.util"

    In the jmf.jar,it also has the com.sun.media package,but jmf20.pdf doc not include the comment,how to find the document of package com.sun.meida?

    why nobody answer the easy question for me?

  • Docu of com.sun.media?

    hi,
    i'm searching for the documentation of the package com.sun.media (the library which comes along with JMF) interestingly it turned out to be really hard to find. (of course i tried to google it ;))
    where would it be?
    is kinda urgent, thx a lot!

    Hi
    I'm having the same problem...
    Have you resolved this problem... Do you have this packages??
    Thanks in advance..

  • Com.sun.media.protocol.sunvideo.  HEEELLLP

    I have Installed JMF2.1.1b and downloaded the source code for JMF studio.. I like to be able to compile the code and eventually add couple of proprietary layer for our use... But I'm not able to successfully compile the code because of the missing packages & classes... such as
    com.sun.media.protocol.*
    and basically its entire sub classes e.g.
    sunvideo, sunvideoplus, v4, etc...
    can somebody pleasssse help me here??? R these packages accessible by developers??? if not what's a point of providing the source code of this application???
    Is there any other way of introducing your customization to an existing application in Java env??? Does anybody even ever tried to do a similar thing with this or other Java applications???
    Would much appreciate your help.

    Hi
    I'm having the same problem...
    Have you resolved this problem... Do you have this packages??
    Thanks in advance..

  • Com.sun.media.protocol.v4l.DataSource missing in JMF-2.1.1e

    Hi Folx,
    I installed the linux-package of JMF-2.1.1e and tried to access a webcam with video4linux. I get this error-msg:
    java.io.IOException: java.lang.Error: No such capture device!
    javax.media.NoDataSourceException: Error instantiating class: com.sun.media.protocol.v4l.DataSource : java.io.IOException: java.lang.Error: No such capture device!When I look into the src, there's a folder v4l in media/protocol, but when I look into the jar, media/protocol has no subfolders!
    So I guess it's missing...
    btw: jmfinit, registry etc works all fine, but I can't access to v4l-device in my scripts.

    if Jmfinit works fine then all you need to do is get your environment variables right.
    like this:
    JMFHOME=/usr/lib/jmf; export JMFHOME
    CLASSPATH=${JMFHOME}/lib/jmf.jar:${JMFHOME}/lib:${JMFHOME}/lib/sound.jar:${CLASSPATH}; export CLASSPATH
    LD_LIBRARY_PATH=.:${JMFHOME}/lib:${LD_LIBRARY_PATH};
    export LD_LIBRARY_PATH
    I had the same problem and this worked for me. ;-)

  • NoClassDefFoundError: com/sun/media/rtsp/protocol/OptionsMessage

    Hi,
    I am trying the project streamp2p (from sourceforge) to stream avi (cinepak) files over rtsp with jmf.
    On the jmf.jar of the linux performance pack, the class com/sun/media/rtsp/protocol/OptionsMessage.class is not available.
    I already tried a search on google (1 result, also reporting the same problem, without answer...) and tried also a search on this forum, with no results.
    Does anybody knows something that can help ?
    Thanks,
    Hugo Lavalle

    Like I told you in the other thread com.sun packages are not fully supported, technically the could be considered "betas" and are only included to aid developers. Because they are no supported no javadocs exist for them at this time. Like I said you are just going to have downlad the source code and do alot of poking around. From what I can tell, however, the com.sun.media.rtsp package intergrates seemlessly with JMF.

  • Com.sun.media.protocol.sunvideo

    hi all ,
    I downloaded the latest JMF v2.1.1e and also the JMStudio example. When I try to compile there seems to be missing packages from the jmf.jar file:
    com.sun.media.protocol.sunvideo
    com.sun.media.protocol.sunvideoplus
    com.sun.media.protocol.v4l
    com.sun.media.protocol.dsound
    com.sun.media.protocol.vfw
    The source code for JMStudio references several classes from these packages. Where did they get to and how do I get them?
    thinks

    java_developper wrote:
    hi all ,
    I downloaded the latest JMF v2.1.1e and also the JMStudio example. When I try to compile there seems to be missing packages from the jmf.jar file:I'm pretty sure those are only included with the various performance packs. VFW, for example, should only be included with the Windows Performance pack. Those packages are probably just JNI wrappers for the native code.

  • Com.sun.media.rtsp.RtspManager and JMF bundle

    Following my first thread,
    I'm looking for any code that uses[b] com.sun.media.rtsp.RtspManager that run sequence like DESCRIBE->SETUP>PLAY>PAUSE.
    Is there a possible link beetwen RtspManager and Player/Processor well documented in JMF ?
    I am looking for com.sun.media package JavaDoc too.
    Thanks
    Arno

    Like I told you in the other thread com.sun packages are not fully supported, technically the could be considered "betas" and are only included to aid developers. Because they are no supported no javadocs exist for them at this time. Like I said you are just going to have downlad the source code and do alot of poking around. From what I can tell, however, the com.sun.media.rtsp package intergrates seemlessly with JMF.

  • Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing package does not load up don't know what is going on Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in import

    I'm trying to show graphic information but the swing
    package does not load up don't know what is going on
    Any help is welcome
    THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
    Package com.sun.java.swing not found in importThat's an old package reference. Try javax.swing

  • Build error :package com.sun.javadoc does not exist

    Question from a Turing machine expert who is new to Java.
    Trying to run a sample program from Richardson's book "Java JDK 5 Edition" Chapter 1.
    In Netbeans 5.5 receive build error :package com.sun.javadoc does not exist
    for "import com.sun.javadoc.*;"
    Believe missing classes are in tools.jar in C:\Sun\SDKee5SDK\jdk\lib
    How do I define this to Netbeans and/or JDK?
    Using java_ee_sdk-5_01
    and netbeans-5_5-windows downloads.
    Platform is XP.
    Netbeans has been updated to date.
    Appreciate.

    sony_tj wrote:
    D:\Xyz.java:22: package com.sun.javadoc does not exist
    import com.sun.javadoc.*;After getting this error, I have set my classpath to C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar. But still the error persists. Could anyone please tell me how do I solve this problem.You have failed in setting your classpath in that case.

  • Package com.sun.javadoc does not exist

    D:\Xyz.java:22: package com.sun.javadoc does not exist
    import com.sun.javadoc.*;After getting this error, I have set my classpath to C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar. But still the error persists. Could anyone please tell me how do I solve this problem.

    sony_tj wrote:
    D:\Xyz.java:22: package com.sun.javadoc does not exist
    import com.sun.javadoc.*;After getting this error, I have set my classpath to C:\Program Files\Java\jdk1.5.0_03\lib\tools.jar. But still the error persists. Could anyone please tell me how do I solve this problem.You have failed in setting your classpath in that case.

  • Problem with com.sun.media.protocol.sunvideo

    I just installed the JMF and it says it cannot located com.sun.media.protocol.sunvideo. Any suggestions?

    Verify if the lib folder inside JMF directory is set in the classpath

  • JpegImagesToMovie--com.sun.media.processor.unknown.Handler

    hi,
    I get the following error with JpegImagesToMovie.
    It seem same as:
    http://onesearch.sun.com/search/highlight/index.html?url=http%3A%2F%2Fforum.java.sun.com%2Fthread.jspa%3FforumID%3D28%26threadID%3D585235&fterm=JpegImagesToMovie
    But look like no answer!
    C:\>java JpegImagesToMovie -w 320 -h 240 -f 1 -o file:/c:/test.mov file:/c:/k1.jpg file:/c:/k2.jpg
    - create processor for the image datasource ...
    Setting the track format to: JPEG
    - create DataSink for: file:/c:/test.mov
    start processing...
    - reading image file: file:/c:/k1.jpg
    - reading image file: file:/c:/k2.jpg
    Done reading all images.
    Exception in thread "JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler" java.lang.NullPointe
    rException
    at com.sun.media.multiplexer.video.QuicktimeMux.writeVideoSampleDescription(QuicktimeMux.java:936)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTSD(QuicktimeMux.java:925)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeSTBL(QuicktimeMux.java:905)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMINF(QuicktimeMux.java:806)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMDIA(QuicktimeMux.java:727)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeTRAK(QuicktimeMux.java:644)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeMOOV(QuicktimeMux.java:582)
    at com.sun.media.multiplexer.video.QuicktimeMux.writeFooter(QuicktimeMux.java:519)
    at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
    at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
    at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at JpegImagesToMovie.controllerUpdate(JpegImagesToMovie.java:196)
    at com.sun.media.BasicController.dispatchEvent(BasicController.java:1254)
    at com.sun.media.SendEventQueue.processEvent(BasicController.java:1286)
    at com.sun.media.util.ThreadedEventQueue.dispatchEvents(ThreadedEventQueue.java:65)
    at com.sun.media.util.ThreadedEventQueue.run(ThreadedEventQueue.java:92)

    The basic problem is that this program, like all of the JMF examples, is very haphazardly coded. From what I can gather somewhere in the excecution of the program there was a major thread conflict. JMF is not thread safe and requires the use of wait for state methods. In all honesty, I have never had a sample program compile and run succesfully as is. I think it would just be easier to re-write this code, except this time use the StateHelper class which can be found in the JMF guide. The StateHelper class manages all of the Player and Processor threads so you don't have to worry about it. I wish I could be of more help here but I think this is just a case of some sloppy code.

  • URGENT!!!! help me!Where I can get package com.sun.awt.svg.*

    Hello,everybody!
    I want to know Where I can get package com.sun.awt.svg.* ??

    Requirements
    JDK 1.3 Software -
    To use the Graphics2D SVG Generator, you need to have installed the Java 2 Software Developer's Kit (SDK). You can obtain the Java 2 SDK from the Sun Java 2 web site (http://java.sun.com/j2se/).
    The Graphics2D SVG Generator software was tested with version 1.3, so you should use the same version or a newer one.
    DOM Implementation -
    A DOM level 1 implementation is needed to use the Graphics2D SVG Generator. You can obtain a Java language DOM implementation from the following:
    Apache Xerces (http://xml.apache.org/xerces-j/index.html)
    Sun Microsystem's Project X
    (http://developer.java.sun.com/developer/products/xml)
    You also need to put the corresponding jar files in the classpath. The following table shows commands for doing this.
    Operating System DOM Implementation Command
    Windows 98 Xerces set classpath=%classpath%;
    xercesinstalldir\xerces.jar
    Windows 98 Project X set classpath=%classpath%;
    projectxinstalldir\xml.jar
    UNIX Xerces setenv CLASSPATH ${CLASSPATH}:
    xercesInstallDir/xerces.jar
    UNIX Project X setenv CLASSPATH ${CLASSPATH}:
    projectxinstalldir/xml.jar
    SVG Viewer
    To view the generated SVG files, you need to have an SVG viewer. You can find a list of available SVG viewers at the W3C SVG web site (http://www.w3.org/Graphics/SVG/SVG-Implementations).
    top of the page
    Installing the Graphics2D SVG Generator Software
    IMPORTANT:
    Before installing the software, make sure you agree to the license terms.
    To install the software, perform the following steps:
    Step 1: Uncompress the distribution file in the desired installation directory. Use these commands (from the command line):
    > cd installDir
    > jar xf j2d2svg.zip
    The j2d2svg.jar file expands into a directory (j2d2svg) that contains the following:
    README.html (this file) -- Provides important information about installing and using the Graphics2D SVG Generator.
    svggraphic_license.html -- License agreement.
    svggen.jar -- A jar (java archive) file that contains the SVGGraphics2D classes.
    glf.jar -- A jar file that contains the Graphic Layers Framework classes.
    svggenDoc.jar -- A jar file that contains the software's API documentation in HTML.
    HelloSVG.java -- Example file.
    HelloManipulatedSVG.java -- Example file.
    Step 2: Add svggen.jar to the classpath.
    On Windows, use this command:
    - set classpath=%classpath%;<j2d2svginstalldir>\svggen.jar
    On UNIX, use this command:
    - setenv CLASSPATH=${CLASSPATH}:j2d2svginstalldir/svggen.jar
    To use the Graphic Layer Framework conversion utility (i.e., to use the com.sun.awt.svg.util.GlfSVGPrettyPrint), you will also need to add the glf.jar file to your classpath. However, this is not required to run the examples.

  • Where can i find package com.sun.awt.svg.*??

    where can i find package com.sun.awt.svg.*??
    urgent!!! please help me!
    thanks in advance!!!

    Perhaps you might find some useful information here;-
    http://forum.java.sun.com/thread.jsp?forum=54&thread=427144&tstart=15&trange=15
    (pillock)

Maybe you are looking for