About jmf on Pocket Pc

question:
1.whether the JMF pocket pc must implement is cross-platform jmf?
2.whether the cross-platform jmf includes API used to capture video/audio?

For zozonTz : I am not sure if this is the answer to your problem, but your error message looks similar to mine when I run the TVApplet.java downloaded for JMF Sample page on my 3870 iPAQ. A Pro from Sun send me an email and finally I can play a QuickTime movie clip with both video track ( compressed in CinePak) and audio track (compressed in ima4_ms). The email is quoted here:
"JMF 2.1.1 (cross platform) works on the iPaq with a slight modification:
You'll need to run the customizer tool and remove the JavaSound renderer.
JMF is getting fooled by the Java version number on the Jeode VM. It
thinks that it is running on JDK 1.3+ and tries to use the JavaSound API.
You might have a similar problem with video, you'll need to manually
remove Java2DRenderer.class from the jar file. Once again JMF thinks its
running on JDK 1.2+ and tries to use the Java2D API.
Please use these hacks for now until we can officially fix the problem.
Of course, you can download the JMF source code and modify it yourself."
How to run the customizrer.exe on an iPAQ? No, you don't need to according to this Pro:
"Execute the customizer on a PC. The jar file that it produces can then be
used on the iPaq instead of the original jmf.jar"
As how to install JMF on an iPAQ, it was very simple for me since 3870 modle has Jeode VM build in, all I did just create a directory for JMF and copy the *.jar file I needed for my application under it, then use -cp path/to/jmf/jarfiles in the script (*.Ink) to run the application.

Similar Messages

  • IT's possibile capture audio with JMF on Pocket Pc

    It's possibile capture audio with JMF cross-platform version on Pocket Pc?? Or how can it possibile on Pocket pc?????

    This article say about MMAPI and MIDP, I need a solution about JMF because, my application must capture audio on Pocket Pc with Jeode VM, and Jeode VM is compliant with JDK1.1.8(it's subset).

  • Some generic  questions about JMF

    Hi, as new to JMF, I would like to ask some generic questions about JMF from this community
    Though including RTP stack, JMF is only compatible to old RTP draft, RFC1889. I know that Sun stopped developing/supporting JMF. What is the alternative solution for JAVA RTP implementation suitable for a serious SERVER project, not just a school-term project? Has anyone thought about that or may have already moved forward? Is that any commercial or more updated Java based RTP stack currently? I searched with google. Besides jrtp, a school project, and I could not find a nice one. Majority of RTPstack implementation is C/C++.
    My second question is if there is the performance analysis and comparison of JMF. I know that some client applications such as SIP-Communicator adopt JMF for media delivery. But it is for one user in one machine. I wonder if any server application has adopt JMF as media relaying layer.
    I appreciate any input from this community.

    erwin2009 wrote:
    Hi, as new to JMF, I would like to ask some generic questions about JMF from this communitySure/
    Though including RTP stack, JMF is only compatible to old RTP draft, RFC1889. I know that Sun stopped developing/supporting JMF. What is the alternative solution for JAVA RTP implementation suitable for a serious SERVER project, not just a school-term project? Has anyone thought about that or may have already moved forward? Is that any commercial or more updated Java based RTP stack currently? I searched with google. Besides jrtp, a school project, and I could not find a nice one. Majority of RTPstack implementation is C/C++. There is one active project out there, Freedom for Media in Java, that has RTP capabilities. It's obviously not from Sun, but it's the only other RTP-capable project I am aware of, other than FOBS4Java, I believe is the name of it.
    What they are suitable for is beyond my scope of knowledge, I only know of the 2 projects.
    My second question is if there is the performance analysis and comparison of JMF. I know that some client applications such as SIP-Communicator adopt JMF for media delivery. But it is for one user in one machine. I wonder if any server application has adopt JMF as media relaying layer. None that I have seen, except for various projects I've helped people with on this forum. But, if someone is asking for help on a forum with his/her server application, it probably doesn't meet the guidelines you just laid out ;-)
    I appreciate any input from this community.Sorry I don't have more to add to your inquires...

  • About JMF. Java Media Framework

    Hello people. I don't know if this subforum is the best to write this post but I didn't find any about JMF.
    I know the JMF is good to work with webcams but I don't know if I can work with scanners in general. If it was imposible, does anybody know api to work with scanners in Java??
    Now, I'm working with Morena (http://www.gnome.sk/Twain/jtp.html) but I have a lot of problems. My virtual machine exit quickly due to native error.
    Please, I need help to do my final degree project

    Hi,
    I am also working on a project of voice chat , and want to have multiple players in the room..but facing problem in transmitting the audio captured from the different clients...can u or anyone can help me in this regard...
    The solution to yur problem i guess cud be to try by using
    String url = "javasound://8000";
    MediaLocator ml = new MediaLocator(url);
    and then create the processor for it and fetch the DataSource and transmit.
    Hope this will give u some hint. All the BEST :-)
    RC

  • JMF on Pocket PC problem

    Hello all,
    I'm now using IBM J9 personalprofile for develop application.
    I need to write a audio player first. I try to port JMF to the pocket pc.
    I have read this post...
    http://forums.java.sun.com/thread.jspa?threadID=238274&start=0&tstart=30
    For me, I use JMF cross platform edition and use customerizer.exe from Windows version to generate custom.jar. However, I need to complie RegistryLib.java mannually because the program said cannot find it. I try to use J2SE SDK 1.4.2 and 1.1.8 to generate RegistryLib.class and place it under correct directory and re-run the customerizer using same setting as before.
    Then import custom.jar in to IBM WebSphere Studio Device Developer and Run the application. The exception flows...
    IOException in readRegistry: java.io.EOFException
    Unable to handle format: msadpcm, 22050.0 Hz, 4-bit, Stereo, Unsigned, 22311.0 frame rate, FrameSize=8192 bits
    Failed to realize: com.sun.media.PlaybackEngine@287a287a
    Error: Unable to realize com.sun.media.PlaybackEngine@287a287a
    When i port this program into PPC( I use iPAQ 5550) and run it with j9VM. The exception is noplayerexception
    I am thinking the problem may be in compling RegistryLib.java.
    It seems that someone has successfully port JMF on PPC. Does anyone has simliar experience? How can I solve it?

    hi,...regarding to your post you have suceeded to implement jmf cross platform. i've download it to my pc but i cant find any RegistriLib.java...where is it??
    i have running this project for months... i really need your reply,..thanks

  • Questions about using my pocket pc

    Hello! I have been lurking on this site for some time and finally decided to make the jump from my old, rickety pc to a shiny new g5! It will be here any time! To prepare myself, I have read the book, "iMac for Dummies". As one would expect, I have some questions.
    1. I have a Dell Axim x30 pocket pc that I use to listen to music (in addition to many other things). The music is a collection of my favorite songs off of my collection of CDs. Windows Media Player 10 plays these songs for me. There is a program out there called "Missing Sync" that will allegedly allow me to sync the Axim with my g5. Does anyone have experience with this?
    2. I would like to be able to download music from the internet (as I will also finally have DSL!)with my new g5 to eventually transfer to my Axim. Since I plan to use iTunes, will I be limited to only downloading music from Apple's site?
    Thank you for any advice you may have.

    I use Missing Sync with my Samsung i700 Pocket PC device, and it works great. It has a plugin for iTunes that allows you to sync music to your device. I used that feature only a little bit when I first got Missing Sync. Now that I have an iPod, I no longer need that feature. Missing Sync also allows you to mount your device on the desktop as a disk drive, and you can simply drag files over. You may find it faster to use a USB memory card reader, though.
    You are not limited to only downloading music from Apple. MP3s from anywhere can be downloaded and copied to your Axim, or even loaded into iTunes.
    20 inch iMac G5 (iSight)   Mac OS X (10.4.3)   2.5Gig RAM; 5th Gen iPod

  • About  jmf  INPUT_BUFFER_NOT_CONSUMED ,waiting for you help!

    Hi,everyone!!
    I am using jmf as a tool to process the video source in my project.I added an h261 encoder as a plug_in and got the successful result.When encoder proessing begined,its output is like below:
    %%%%%% INPUT_BUFFER_NOT_CONSUMED ;
    I searched this problem from jmf api,it says like this:
    The input Buffer chunk was not fully consumed. The plug-in should update the offset + length fields of the Buffer. The plug-in will be called later with the same input Buffer.
    But i really don't know how to update the offset + length fields of the Buffer.Is it a problem that will cause my failure???
    Thank you for you help!!!

    I think you should just ignore that...
    That's a message that is internal to the H261 encoder. If you aren't writing the encoder (which you're not, if you're just using the JMF one), then you don't need to handle the buffering for the encoder. That's more than likely just a log message inside the encoder code...
    So no, I don't hink it will cause your failure...

  • A Problem About JMF.

    Hi,everyone:
    recently I downloaded the code of RTPPlayerApplet.java.
    But when I compiled it ,there are some problems .as followed:
    ---------- JAVA_COMPILE ----------
    RTPPlayerApplet.java:49: package rtp does not exist
    import rtp.*;
    ^
    RTPPlayerApplet.java:77: cannot find symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    ParticipantListWindow videogui = null;
    ^
    RTPPlayerApplet.java:78: cannot find symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    ParticipantListWindow audiogui = null;
    ^
    RTPPlayerApplet.java:182: cannot find symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    videogui = new ParticipantListWindow(videomgr);
    ^
    RTPPlayerApplet.java:185: cannot find symbol
    symbol : class ParticipantListWindow
    location: class RTPPlayerApplet
    audiogui = new ParticipantListWindow(audiomgr);
    ^
    5 errors
    Help me!!
    Any clues?
    Thank you very much.
    YERG

    Tell me the address of the forum for JMF you showed to me.
    THANKS ~~

  • Cannot install JMF under Linux Mandrake 10

    I simply cannot install JMF under the Mandrake 10 Official Linux distribution. I downloaded the jmf-2_1_1e-linux-i586.bin file and tried to execute it as root. It unzipped some files then showed me an error message about AWT and GTK+. I found a hack consisting of modifying the .bin file to have the PATH variable point to SUN JDK, the error does not show up, but the installation still does not work. In fact, the installation works, but the Diagnostics applet keeps telling me than class files are not present. My Mozilla 1.6 Java plugin is working and displaying the applet. My JMF lib directory does not contain sound.jar, such jmf.jar. I set the CLASSPATH and LD_LIBRARY_PATH according to the readme.html file. I would like to know if it is a compatibility problem with Mandrake 10, the 2.6 kernel or if JMF just DO NO work under Linux. In the latter case, JMF is a violation to the Java portability philosophy and I would never use it on my own initiative, just if I were asked to.
    After the files are unzipped, I have the following warning and error messages.
    Warning:
    Name: HorScrollBar
    Class: XmScrollBar
    The specified scrollbar value is greater than the maximum
    scrollbar value minus the scrollbar slider size.
    JavaSound Capture Supported = true
    JavaSoundAuto: Committed ok
    java.lang.Error: Can't open video card 0
    java.lang.Error: Can't open video card 1
    java.lang.Error: Can't open video card 2
    java.lang.Error: Can't open video card 3
    java.lang.Error: Can't open video card 4
    java.lang.Error: Can't open video card 5
    java.lang.Error: Can't open video card 6
    java.lang.Error: Can't open video card 7
    java.lang.Error: Can't open video card 8
    java.lang.Error: Can't open video card 9
    Done.
    Even if I do not have a working video capture card (I have an ATI All-in-Wonder 128 but it is not working under 2.6 kernel), JMF should work because some people do not have a video capture card. I also tried with the cross-platform ZIP file, but this one does not contain sound.jar either and the Diagnostics applet keeps complaining about missing class files. I tried to search on the Web for solutions to this problem or for a way to change the CLASSPATH used by the Mozilla Java plug-in (if it uses a different CLASSPATH than the one from the environment variable), but nothing, nothing. Is there a distribution from which JMF would work better than Mandrake 10? Or can JMF work only under Microsoft Windows or Sun Solaris? I also tried Blackdown, but a README file directed me to the Sun's page, nothing to download here about JMF.

    well, your not the only one.
    I have it working in Debian, and JDS.(JMF is setup automatically in JDS).(2.6.6 kernel)
    I looked at the installation structure of JDS, and was able to duplicate what they did for Debian.
    Maybe it will work for Mandrake two??
    ok, all you have to do is copy or create soft links from your Mozilla directory, just like you did with the java plugin, and link to all the *.so files in JMF-2.1.1e/lib directory.
    Should work.
    I also read that not haveing the native files only matters if you are doing Capture. not play.
    to get your ATI All-in-Wonder 128 to work, make sure you install the correct driver, and have it working under linux, then try it in JMSTUDIO

  • JMF web browser plugin

    Hi everybody,
    This question is about JMF and applet, but i dont want to post in other sub-forums because its not likely to get any reply there.
    Ok, so i have Java plugin installed for my browser, and JMF as well. Running the test at
    http://java.sun.com/products/java-media/jmf/2.1.1/jmfdiagnostics.html
    show that everything is alright (JMF Version ... 2.1.1e; All Java Build; and Native Libraries Found).
    I have created an applet implementing in JMF. But when ever the applet being loaded, it also sends a request for the file RTPSessionMgr.class (which is in jmf.jar) and the server throws exception.
    The applet shouldn't be asking for that file, should it ? So what's going wrong here ?
    I've also been thinking of making the server to send both jmf.jar and the requested applet; but haven't tried; because the jmf.jar file is not very small (about 1.7Mb)
    Please help me.
    Many thanks.

    Basic design feature of applets: if the applet needs to load other classes, it has to load them from the server. You do not install them on every single client the applet is run on, you just put them on the server and set the "archive" attribute of the <applet> tag to refer to those jar files.
    The size of the jar files has nothing to do with this design feature. If they are large then they will take a while to load. That's just the way it is.
    I don't do applets but I am sure this basic question would have been answered in the Applets forum.

  • URGENT !!! ANY GOOD BOOK FOR JMF - RTP programming ????

    Can you propose some books about JMF and RTP/RTCP programming ??
    Thanks in advance !!!

    The only JMF books available are "Essential JMF - Java Media Framework" by Rob Gordon (ISBN 0130801046), "Core Java Media Framework" by Linden deCarmo (ISBN 0130115193) and "Programming with the Java Media Framework" by Sean C. Sullivan, et. al. (ISBN 0471251690). All of them are very out-of-date and only cover JMF 1.x (i.e. no audio / video capture and no RTP). All of them were not very good to begin with but "Essential JMF" is probably the better of the three.

  • Is it possible to re-distribute JMF?

    I got a little question about JMF.
    Is JMF re-distributable?
    Regards,
    Dante

    Dante,
    I've been trying to figure that out. I wrote a little JMF app, and I wanted to compile it into executables. Even though I include all of the libs, it still doesn't seem to work right

  • How to detect and capture most number of cameras by JMF?

    i make a program that detect camera and display video captured from it using JMF
    but the problem is that some camera s cant be detected
    what do u think where is the problem ?
    and what about jmf detection ? is it efficient with all camers or even most types ?
    thanks in advance

    i changed my code to detect all what i know of video formats
    but still cant detect some cameras (webcams)
    is JMF the reason ? or still my code need some additions
    really need ur opinions
    and this is my code
    boolean fetchDeviceFormats(){
    Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo CapDevice = null;
              Format CapFormat = null;
              String type = "N/A";
              CaptureDeviceInfo deviceInfo=null;
    boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++){
                   // search for video device
                   deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
                   if(deviceInfo.getName().indexOf("vfw:")<0)continue;
                   Format deviceFormat[] = deviceInfo.getFormats();
                   for (int f=0;f<deviceFormat.length;f++){
                        if(deviceFormat[f] instanceof RGBFormat)type="RGB";
                        if(deviceFormat[f] instanceof YUVFormat)type="YUV";
                        if(deviceFormat[f] instanceof JPEGFormat)type="JPG";
                        Dimension size = ((VideoFormat)deviceFormat[f]).getSize();
                        camImgSize.addElement(type+" "+ size.width+"x" +size.height);
                        CapDevice = deviceInfo;
                        camCapDevice.addElement(CapDevice);
                        System.out.println("Video device = " + deviceInfo.getName());
                        CapFormat = (VideoFormat)deviceFormat[f];
                        camCapFormat.addElement(CapFormat);
                        System.out.println("Video format = " + deviceFormat[f].toString());
                        VideoFormatMatch=true;     // at least one
              if(VideoFormatMatch==false){
                   if(deviceInfo!=null)System.out.println(deviceInfo);
                   System.out.println("Video Format not found");
                   return false;
              return true;
    thanks in advance

  • Is JMF a failed concept ? basic question

    I have been researching to embed a JMF app on an applet for nearly 2 months. i have also read most questions on this forums thats related to this topic.
    Almost every one says to use java web start than using an applet. and most of the people in the forum has not got a solution to there problem, that is to add audio/video chat to an applet.
    I too have a issue in adding a audio/video chat to an applet. but still almost every one encouraged me to use java webstart.
    Further more there are no successful example in the net where you can add a audio/video chat into an applet. Most of the sample code given don't even work.
    My problem is that, Why doesn't jmf work on applets ?? have some one tried using this method, and has it worked ?? and why does people in this forum encourage others to use java web start instead of applets ? and finally does sun want to turn down the concept of using applets ???
    note: I might had asked a stupid question, if so my apologies._

    The cross-platform version of JMF works just fine in embedded applets(1), it is the Performance Pack that can be a hassle to get working. The JMF PP would need to be installed on the users computer, to get the natives in a place they can be used.
    Having said that, the "This computer needs to reboot" message at the end of the JMF installer puts a bit of a damper on that. Who wants to use an applet that requires them to reboot the PC before use?
    Also, I've heard that even after that, many users visit the JMF test applet to have it report that the JMF classes are not found. Since I have little interest in deploying the PP to end users, I have never looked into it that closely.
    localpott wrote:
    ..Almost every one says to use java web start than using an applet. Humour me. Why do your users want a browser window wrapped around the applet?
    It seems logical to me, that the end user should just be able to click the maximize icon in a free floating app., rather than have the screen acreage of the GUI limited by a conventional applet.
    My problem is that, Why doesn't jmf work on applets ??Please fix that sticky '?' key.
    Reasons mentioned above. To contrast that with a webstart launch, it is trivially easy to add natives to the run-time class-path of a webstart app.
    .. have some one tried using this method, and has it worked ??.. I've not tried it for the reasons mentioned above.
    ..and why does people in this forum encourage others to use java web start instead of applets ? (My) reasons mentioned above.
    ..and finally does sun want to turn down the concept of using applets ???Given the effort Sun is pouring into the jnlp2 architecture, which allows webstart services to be used even in embedded applets, I think not.
    It should be noted though, that Sun has abandoned JMF a long time ago (though they have never issued an announcement to that effect). :(
    As such:
    a) It is lacking in the more advanced compression codecs, which it seems would be a killer for network/internet based media transfer.
    b) Nobody is updating the (32 bit) natives, so I guess they will work on less and less PCs as time goes on.
    Those two things aside, I feel that JMF is a relatively well engineered & comprehensive media solution. The reason so many people have trouble getting up to speed in JMF is largely because 'media handling' is a lot more complex than most people realise. I probably should have asked those people who complained about JMF, if they had ever dealt with the intricacies of media handling in another API for anything beyond 'throw a media file into the system player and play it'. Playing a media file would probably be trivially easy in VB.
    And finally:
    Sub: Is JMF a failed concept ? *<basic question>*
    What is the meaning of life? Is a simple or basic question, it is the answer that is more complicated!

  • TrackControl, Change Track, and others questions about AvTransmit

    Hi there,
    I've got multiples questions about JMF and AvTransmit, hope you will help
    For a small student project, i'm developing a streaming server using JMF, i have used the AvTransmit example.
    Streaming, etc... everything work fine, i stream music over web
    But i need help with "playlist" :
    // Get the tracks from the processor
    TrackControl[] tracks = processor.getTrackControls();
    First Question :
    The Processor use a MediaLocator to get one track, is there a way to indicate multiples tracks, such as a directory containing multiples audio file ?
    At this time, i can only set 1 file in the MediaLocator.
    I'm using a simple class as Playlist (a File[]), and, when i want to change song, i stop the thread, change the MediaLocator with another file, and restart the thread.
    It works on a Lan, but on Internet, Player (I use VLC for my test) lost the connection, i need to restart VLC to get audio again.
    Second Question
    Is there a more "elegant" way to change tracks ?
    Last Question
    I have think about building my own object Playlist... gasp...
    I've look at the javadoc... but i'm a bit lost... does my class have to implement TrackControl ? what are the object inside etc...
    If someone knows information about this...
    That's all ;)
    Thanks !
    Tommy, french student (sorry for the english)

    First Question :
    The Processor use a MediaLocator to get one track, is there a way to indicate multiples tracks, such as a directory containing multiples audio file ?
    At this time, i can only set 1 file in the MediaLocator.No. The processor uses a MediaLocator to get one file. Files (can) contain multiple tracks.
    You can, in fact, combine the tracks of multiple files together, but, there's no need to do that with your application. AVTransmit2 sends each track as a separate RTP stream, so you'd just be sticking them together just to pull them apart again.
    In general, you want to keep your architecture as one processor per file, one RTP stream per track.
    Second Question
    Is there a more "elegant" way to change tracks ?Yes. It's what I refer to as a jukebox DataSource. I discuss it / explain the concept on this previous thread.
    [http://forums.sun.com/thread.jspa?forumID=28&threadID=5400318]
    What you're essentially doing when you change the MediaLocator is starting over from scratch. You end up with a whole new DataSource, whole new Processor, whole new RTP session. On the LAN, this isn't an issue because it looks like you paused the RTP session (because the IP/PORTs don't change).
    Over the internet, though, when you stop sending and restart, you're very likely going to get a new public NAT port. And so when your stream gets to the client, it's going to look like it's from a different person than the original.
    The solution is to use the jukebox datasource to change the media without restarting the Processor or the RTP streams. That'll ensure that your stream won't move between files from the perspective of the client...
    Last Question
    I have think about building my own object Playlist... gasp...
    I've look at the javadoc... but i'm a bit lost... does my class have to implement TrackControl ? what are the object inside etc...
    If someone knows information about this...Ummmm, your "Playlist" object should just be a Jukebox datasource, so follow the link and figure out how that's supposed to work. If you have questions about it, just ask 'em here (rather than on the older thread)...

Maybe you are looking for

  • Message no. F5814 - Vendor open items list

    Hello, The vendor open list (FBL1N) cannot be produced, prompts the following information: Document type not defined: Message no. F5814 Financial Accounting service: document type "LE" was not found in the document type table. This means of course th

  • PLEASE HELP!! ipod wont do anything at all

    Well, my computer crashed some time ago with my itunes, but I was successfully able to restore them. However, about an hour after my ipod finished updating, it froze. It wouldnt do anything, and as it was frozen while playing, it ran out of batteries

  • AFter upgrade, iPhone says tv show (HD) can not play on this iPhone

    AFter upgrade, iPhone says tv show (HD) can not play on this iPhone . It is the SNL HD TV SHow will ferrel episode. DOwnloaded from iTunes.

  • Error in bundle while importing in cq5

    Hi, Here i am facing a problem with the bundles installation in cq5 system/console. I want to use com.sun.pdfview in my cq5 when importing the jar im getting the error com.sun.pdfview -- Cannot be resolved.. I tried all the ways to resolve it. Is the

  • Employee Number Not generated

    Hi All, I have an issue .Please share ur knowledge in it and help me solve it . I am creating employee with api hr_employee_api.create_employee ,then I do all other api calls like address , assignment ,assignment criteria and finally insert salary pr