JMF vs JavaTV

Hi,
I was hoping somebody out there could help me with a little problem I'm having. I want to be able to simultaneously display multiple images from a TV card (Basically I want to be able to display 4 channels simultaneously), would anybody have any opinions about whether JMF or JavaTV would be preferable and why?? Any ideas greatly appreciated.
Thanks

I would love to know how to change channels with java, ohhh well seems like jni is the way to go.
To ahve 4 channels at the same time you will need a card that has 4 turners, am I right?

Similar Messages

  • JMF Specification Updations

    Hi,
    I would like to know if anyone has any information on whether Sun is planning any updates in the JMF specification. Now that the MHP/OCAP specifications, are using JMF, there are many points which are being clarified in their specification. Does anyone know if SUN is planning to update any gaps in the current specification, based on these changes
    thanks

    bonito_qq wrote:
    Now that the MHP/OCAP specifications, are using JMFAccording to the MHP/OCAP specifies, they "derive" their stuff from the JMF and JavaTV (whatever that is)...
    So, you or I would be using JMF as a library...just link the libraries and use the API.
    They, essentially, are importing the code and treating it as reuse code...so they actually are fixing, updating, extending, reusing the code.
    Sun is doing the same thing, independantly of that. A lot of the code in JMC (which is designed to work hand-in-hand with JavaFX) is going to be reuse code from JMF...
    So yes, Sun is planning on updating the gaps in JMF...they just aren't planning on releasing a new version of JMF. They'll be releasing it all as JMC, and it'll likely have an updated and highly modified API specification.

  • IDE to Develop

    I need some tips about how Ide to use and plugins.
    Someone can help me ?

    You can use any favorite IDE for creating Xlet. First of all you have to find stub MHP libs that have MHP-DVB declarations of classes and functions (jmf.jar, javatv.jar, mhp_stubs.jar). I do not know where to find them. If you say your email then I will send it to you. Just try out google first.
    Then you have to force your java compilator to ganerate bite-code compatible with Java 1.1 I pass the parameter: javac -target 1.1 (I guess your IDE has some edit box to enter such kind of paramerers for compilator) I think that's all. And then download a STB emulator to test your Xlet on PC.
    Good luck

  • Help (JavaTV vs JMF vs MHP?!)

    hi,
    could someone delineate for me the roles of the different APIs mentioned in the title. From what I have read I infer that MHP is a framework which allows sending Xlets with the TV stream which are then executed on the set top box. What API should you use if you want to have a go at writing an application that resides on the computer/STB and gives the user information about scheduling and allows them to change channels, and which might be extended to employ recording of tv programmes? I am a little confused as to whether JavaTV should be used for this or JMF?
    In addition what is the hardware compatibility like for these technologies - I was looking at trying to write a program to use on my PC and receive digitalTV from an ATI or NVIDIA card. Do these APIs support this hardware?
    Many thanks

    MHP is more than an API - it includes a specification for content formats, for network protocols, for security policy, for a graphics model as well as a number of APIs of which JavaTV and JMF are examples.
    JMF is a generic media player API originally designed for streaming media across intranets or perhaps the internet. MHP and JavaTV use parts of JMF version 1.0 but a lot of it is simply not appropriate in TV.
    JavaTV sounds closest to what you want.
    None of these (yet) support recording apart from JMF version 2.0 which is not included in either JavaTV or MHP and probably never will be.
    There is an implementation of MHP available for free for the PC from www.m hp4free.de but this may not support the hardware platform you want to use and the www site is entirely in German. There is also www.openmhp.org but there's not a lot of documentation on their www site without downloading it.

  • Is licence required for implementing JavaTv and JMF.

    Hi,,
    I am trying to develop GEM middleware for my STB,
    The STB has OS20 as RTOS and implemented on an ST chip
    This GEM is DVB MHP minus DVB.
    We have to implement JavaTV package and JMF for that,
    But do we have to pay any royalty to SUN for implementing the JavaTV or JMF packages or can we implement the binary versions of the packages.
    Please letme know how to implement the following packages
    org.havic.*
    org.davic.*
    javax.tv.*
    org.dvb.*
    and JMF?

    Hi Rohit,
    let me also add a few words. In principle the process Sales Order Processing B2B with ERP sales order in CRM Web Channel means that you setup (a) Web shop(s) that use and display the CRM product catalog but create orders directly in SAP ERP without first creating them in SAP CRM. It also allows to use certain E-Marketing features of CRM in the Web shop. The CRM product catalog in this process can only be used if you do use the TREX. There is no way of directly call up the catalog from CRM in the Web shop by bypassing the TREX.
    In the SAP E-Commerce for SAP ERP solution (ECO ERP) we in contrast offer the possibility to use the ERP catalog without the TREX. In this solution you can use the Memory Catalog which is not using the TREX. This solution by this way allows to directly use and display the ERP catalog and create orders directly in SAP ERP.
    For the CRM catalog in contrast we do not have something similar to the Memory Catalog. Instead you DO need to use the TREX to display the CRM catalog in the Web shop.
    The only option you have to "avoid" the TREX i a CRM web shop is what Easwar and Christoph have written about: The usage of an external catalog from a 3rd party catalog engine via the Open Catalog Interface (OCI) in the CRM Web shop. This we do offer for the CRM Web shop. However if you do not have an external catalog engine and want to use the CRM catalog then again you do need to use the TREX. It does not matter if you do not want to use product search nor prices other than fro ERP sales order.
    Greetings
    Torsten Kliesch

  • How to record DVB-S Stream with JavaTV/JMF ?

    Hi,
    i'm starting to program with JavaTV and JMF. Now my Question is, how can i record a DVB-S Stream (DVB-Card: Haupauge Nexus) to my hdd?

    MHP uses JMF 1.0, which does not include recording functionality. If you want to do this in Java then JMF 2.x includes recording support, but I'm not sure whether there is a JMF implementaiton that supports the Hauppage cards.
    Steve.

  • What is the relationship of javatv api,jmf api and mhp api ?

    Whether all these three set of API are required to write digital tv program?

    That depends on what the digital TV program (I assume you mean MHP application) wants to do. Specifically;
    - javax.tv.xlet.Xlet is needed whatever you want to do.
    - Most of the rest of JavaTV is only needed if you want to write an electronic program guide, e.g. to get at service information.
    - If you want to write a program which manipulates the video & audio of the TV signal then you need the JMF API and also a small part of javax.tv.service.selection to get hold of the JMF player for the running TV content.
    - The MHP APIs do many different things, again depending on what your application wants to do.
    - You don't mention them but you also probably need some of the org.havi.ui APIs. In MHP, the top level graphics Container class for applications is an instance of org.havi.ui.HScene. Also the "VK_" constants for some of the remote control codes are only defined in org.havi.ui.HRcEvent.
    See http://www.mhp-interactive.org for examples of how to use many of the MHP APIs.

  • Java tv jmf applet

    Hi,
    I like to create a player which catch tv tunner card channels and it plays video. Can this possible in java. If you have any bit of code or any idea please share with me. Any site or online books or any ref please welcome.
    Thanks and regards,
    Amit Singh

    Hi Will!
    MY QUESTION: What is the basic differences between the Java Media Framework and the Java TV API?JMF is a scalable technology to handle media in Java. JavaTV is a techology for interactive applications in a television.
    A part of JMF is used in JavaTV to control the media in a television.
    Unless this application needs to run in a television you can stop digging into JavaTV, it's interesting but not what you want for this, focus on JMF.
    // b

  • JMF: getting player for current service question

    On interactivetvweb.org I found something like this:
    // Get a reference to the JavaTV ServiceContextFactory
    ServiceContextFactory factory;
    factory = ServiceContextFactory.getInstance();
    // From this, we can get a reference to the parent
    // service context of our Xlet.  To do this, we need a
    // reference to our Xlet context.  It's times like this
    // that show why your application should always keep a
    // reference to its Xlet context
    ServiceContext myContext;
    myContext = factory.getServiceContext(myXletContext);
    // ServiceContentHandler objects are responsible for
    // presenting the different parts of the service.  This
    // includes the media components
    ServiceContentHandler[] handlers;
    handlers = myContext.getServiceContentHandlers();
    for(int i=0; i < handlers.length ; i++) {
      if (handlers[i] instanceof ServiceMediaHandler) {
        // This is a Player for part of the service, since
        // ServiceMediaHandler objects are instances of JMF
        // Player objects
       //   so I guess here i can do something like:
        Player p = (Player) handlers;
    p.start();
    break;
    But do I have to do something like
    myContext.select(s);before getting service content handlers (where s is an instance of Service)? Because I don't quite understand idea of getting player from context.

    Dear stevem,
    Thanks for your apply. It is useful for me. The another question about this issue is, if the number of service context is at least the same as the number of tuner, I suppose that means the ServiceContext.select(new Service) can only select the another service in the same transport stream. Is my assumption is correct?? If so, if the ap want to select the new service in another ts, the ap should call the tunning api, then it can call the select() to select ap's desired service. it's right? ^^ If my assumption is false, could you share me the correct using flow ^^ ? Thx a lot~
    Happy new year! ^^

  • Re: Controlling the video from JavaTV!!!

    How much of the Havi spec or apis have you read yet? You should find your answers in that java doc of havi spec..If you have trouble finding it usually the havi and dvb mhp specs and java api docs are bundled with the specific javaTV/iTV reference emulator that you test on..

    Does the JMF player support VC1 video? Can we handle events like jumping to a particular time in video on VC1 using JMF? Please advise.

  • How to open a remote media file in JavaTV RI with PJee3.1

    Hi, I am working in JavaTV Reference Implementaion with PJee3.1. I have couple of doubts about opening the remote media files or live transport stream in the JavaTV RI.
    1. The spec doesn't talk about the protocols supported by the RI. Do you have any idea about this?
    2. In Service Information Database ( an XML file which simulates the SI Database ) i can specify the location of media file for an Service in the Simulation attribute, but for Network / Transport Stream, how do i specify the URL / Location of media file?
    Please help me to resolve the above specified problems.
    Thanks,
    Cheran

    Okay I think I see your problem..well maybe..
    Remember there are at leat two 'stacks' that can be used to implement this..
    One is HAVi and other is MHP
    in HAVi you wil want to look for stream manager..
    the docs are at
    http://www.havi.org
    As far as opening static media files you will want to refer to the JMF docs..
    JMF is one of the optional extensions to JavaTV..
    I hope this helps..if not fully helpfull..you might want to visit the forum boards at..
    http://www.devicetop.com

  • JMF HELLLP !!!

    Dear all ;
    I'm trying to write a code that plays a video file, sound file and text file(as subtitles)
    all synchronized. Video and audio synchronization problem is solved,
    the text problem did not.
    I used JMF , what I wish to hava is:if the video is backwarded the appropriate text
    line to be displayed as a subtitle>
    please help !!

    Hi,
    The JavaTV platforms MHP/OCAP/OnRamp don't support downloading and playing video from files. The problem is that video files tend to be very large and most STB's don't have enough memory. All you can do is look at the 'live' video as it's streamed to your STB.
    Also : I'm not exactly sure what you mean by backward video!
    Roger

  • Scaling a video played by JMF in MHP

    Hi
    I'm looking for the approach scaling the area where
    a video plays in MHP.
    This video is played by JMF.
    MHP HAVi defines a class "HVideoDevice",
    and it has a member method "getVideoController()"
    which return a java.lang.Object. It seems that
    the returned video controller should be able to
    scale the video area.
    I also check the javaDoc of JavaTV and I found that
    there is an interface "AWTVideoSizeControl"
    which looks exactly what I need.
    Is this how MHP scales a video area?
    Does JavaTV RI 1.1 implement this interface?
    I'm also wondering that if the implementation returns
    a class which implements AWTVideoSizeControl.
    Any reply is appreciated.

    Hi!
    I can give you a code that uses the AWTVideoSizeControl and scales the video.Here is the code:
    Rectangle source = new Rectangle(0, 0, 720, 576);
    Rectangle destination = new Rectangle(360, 0, 720/2, 576/2);
    resize(new AWTVideoSize(source, destination));
    private void resize(AWTVideoSize size) {
              ServiceContextFactory serviceContextFactory = null;
              javax.tv.service.selection.ServiceContext serviceContext = null;
              try {
                   serviceContextFactory = ServiceContextFactory.getInstance();
                   serviceContext = serviceContextFactory.getServiceContext(context);
              }//end try
              catch (Exception ex) {
                   ex.printStackTrace();
              }//end catch
              if (serviceContext != null) {
                   ServiceContentHandler[] serviceContentHandler = serviceContext.getServiceContentHandlers();
                   Player player = null;
                   if (serviceContentHandler.length > 0) {
                        player = (Player) serviceContentHandler[0];
                   }//end if
                   if (player != null) {
                        AWTVideoSizeControl awtVideoSizeControl = (AWTVideoSizeControl) player.getControl("javax.tv.media.AWTVideoSizeControl");
                        awtVideoSizeControl.setSize(size);
                   }//end if
              }//end if
         }//end methodThen you can start the player and play the scaled video.
    I hope it can help you.
    (I'm sorry for my bad english)
    Bye!!

  • JMF video player

    Has somebody an example of an xlet that can play a video (mpeg-2) with jmf player?
    Thanks.

    Hi guys,
    I'm not exactly a MHP-guru :-) but I can point out something you can use as an example of a JMF player:
    you can download the JavaTV Reference Implementation from:
    http://wwws.sun.com/software/communitysource/javatv/download.html
    (follow the instruction for installation)
    there you can find also a few sample xlets.
    This jTV-RI is actually missing the MPEG2 videos (and hence it won't present anything), but they are referenced by the code, so I tried to build a directory-tree corresponding to those ref's. Then I made up this archive with a bunch of padding videos, just to make it show something; you can find the videos (together with a BAT script) at
    http://gfcyb.org/videos_for_JavaTV-RI.zip
    after download, put all (=3) the files in the JavaTV-RI subdirectory:
    samples/tv/
    and run the batch script: if anything is well-done, you can select any channel and view a mpeg2 clip.
    NOTE: this video archive will be available till August 2003 (afterward it could be removed).
    bye
    GF

  • JMF Porting

    I need to port a JMF implementation to a embedded system and I saw on the net that there is kind of a JMF Porting Kit but i didn't find it,,,
    Do anyone know anything about it?! The JMF i need to port JMFLite (JMF 1.0), that belongs to JavaTV Reference Implementation (http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=javatv-1.1_01-src-mrel-oth-JPR&SiteId=JSC&TransactionId=noreg)
    Thanks in advance,
    ~David

    MRK-ThinkBIG wrote:
    I am creating an Android application which uses the JMF (SIP, RTP, JAIN). So i downloaded the JMF source code for some adhoc change to my application. I wouldn't recommend doing that, as JMF is old technology and is never, ever going to be supported again. You'd be better off using J2ME stuff, or waiting until the replacement for JMF is released (the name of which is escaping me right now...) which will be a few days before or after sometime later...
    But to answer your questions...
    1. How will it behave the "native files - C/C++/header" in JMF source files(downloaded)? because android is based on java right now.Per my understanding, the native files in JMF are (1) Wrappers around capture APIs, like VFW or VFL APIs. (2) (de/en)coding libraries.
    As such, I doubt Android will have VFW or VFL, so the native API wrappers = useless.
    If Android is a purely Java OS, then those native files won't be able to do anything anyway. You don't need them, the JMF cross-platform compatibility pack is pure Java and should run on anything with the full JRE.
    2. Is there any complete different way to porting/doing the SIP, RTP working in android? Ummmm, step one would be to throw jmf.jar onto the device along with a tiny little test app (maybe something that plays an AVI encoded with RGB video / linear audio) and see if you can get it to run. If you can, then you should have access to anything listed in the "Cross-platform" column of:
    [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/formats.html]

Maybe you are looking for

  • Setting adapter specific re-schedule time period

    When sending message in asynchronous mode, if it fails, XI will automatically re-schedule it for a few times later, for a certain amount of repeat times.(I believe our current setting, the retry period  is 5 minutes, and for 3 times) The problem: We

  • Logging into oracle server 10g

    Hello, I wanted to log messages to 10g server. There are system logs, domain logs etc. To log the message particulary to a specific log i.e. system log., domain log etc. Need help for the same. thanks in advance.

  • Delete record works too well !

    I've done this before successfully several times but now something strange is happening.  I've stared at this for a couple of hours now and don't see what I'm missing, it must be something blindingly obvious. I created a page showing all records in a

  • EX HD suggestions

    ive had a lacie firewire ex hd for about a year now and so far its been okay till recently..my problem is the hard drive dissapears of the finder screen but systems profiler see its. I cant get it to come back on so im just going to buy another one b

  • View PSKs in wlans of WLC

    Hi all, i want to add a second controller to an existing one. So, i have to build the same wlans with the same ssids and PSKs. How can i view (or copy without having to view them) the PSKs stored in the first WLC in order to use them in the second al