How to extend the jmf by a codec, with streaming ability

hi people, im sitting on a (in my eyes) realy hard challenge..
i have to build in a additional codec into the jmf and stream a file with this new built in codec ..
tryed to combine jmf with gsteamer fmj and many more but most of the time it simply dont work at all or if it works the solution lost its streaming ability.. so playing only..
any one around who could help me with this problem?
thanks in advance
sven
Edited by: InNeedOfHelp on Mar 4, 2009 5:49 AM

T.B.M wrote:
Sorry, I am just a 3rd year engg. student, not much experience ;-) ... you can get much more help in this regard from another experienced and knowledgeable poster *'captfoss'*, wait for him to reply. I'm glad you think of me as being experienced and knowledgeable, but I'm academiclly only about 2 years older than you ;-)
As for the codec...here's the 411 on all of that crap.
To develope a codec, you'll need to look at the following example:
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/FrameAccess.html]
That example is what's known as a "pass-through" codec...it doesn't modify the data, it just passes the input into the output without modification.
A normal codec would take data of a specific format and convert it into a new format (obviously). All of the work to do that should occur in the process function.
You can specify what input formats your codec is able to handle by modifying the "getSupportedInputFormats" function. You can specify what output formats your codec is able to handle by modifying the "getSupportedOutputFormats" function. I'd recommend that you set the input formats to just take in RGB, and the output formats to just be whatever your format is.
Once you have all of the code written to process from RGB to your new format, you can officially use your codec to transcode from RGB to YNF (your new format). You'll actually need to write 3 more codecs at this point...
(1) You need to write one to take YNF and return RGB. (decode it)
(2) You need to write one to take YNF and return YNF_RTP. This could probably just be a pass-through codec, but, I'm not 100% sure as I've never written an RTP codec personally...but it'll need to be something that a Processor would see as a content type of RAW_RTP...
(3) You need to write one to take YNG_RTP and return YNF.
Once you have all of those working, you'll then need to define a custom packetizer/depacketizer for your new RTP format.
[http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/CustomPayload.html]
This doesn't have to do anything more advanced than break the stream into chunks. The example code will probably work fine, with just the modifications necessary to make it work with your RTP format rather than the one the example uses (linear PCM wav files, as I recall)...
To summarize, you need to write the following peices of code to completely add a new format.
Encoding Codec, RTP-Encoding Codec, RTP-Decoding Codec, Decoding Codec, Packetizer, Depacketizer...
Edited by: captfoss on Mar 4, 2009 10:38 AM
Also, as a sidenote, the RTP Encoding and Decoding Codecs might not be necessary. I've never done this, I don't know anyone who has, so this is mostly educated guesswork...
Actually, if your packetizer says it'll take in the non-RTP version and packetize it, then you shouldn't actually
need the RTP codecs ;-)

Similar Messages

  • How to extend the WebUI product search results with customer attributes

    Hello,
    We are using CRM 7.0. We want to extend the WebUI product (Object) searches with customer attributes and to display customer attributes in the search results. We found the note 1026956 that explains how to extend the WebUI product (Object) searches with customer attributes. We want to know if there is also some note that explains how to display customer attributes in the search results for products/Objects.
    Thanks in advance,
    Sergey Kozyrev

    Sergey,
    I doubt whether there exists such note. The note 1026956 which you mentioned is for enhancing the Search for Custom attributes. For Enhancing the Result list you need to do custom development.
    Regards,
    Harshit

  • Hi. Does anyone know how to extend the airport express and extreme with Cisco Router DPC3925. I have upgrade my wireless to 50Mbps. Thank you

    Hi,
    Can someone help.
    I have a Cisco router DPC3925 provided by the ISP and I cannot extend my wireless with Airport Express.
    Also I intend to extend it with Airport Extreme.
    Please help.
    Thank you.

    Sorry, but your post is not clear. The topic of this thread is how to extend an AirPort Express or AirPort Extreme with a Cisco router.
    This would mean that the main router was an AirPort device and the Cisco would be extending the existing network provided by the AirPort.
    Is that really what you want to do?
    If not, then it sounds like your Cisco ISP provided wireless router is your "main" router and you will be using the Time Capsule to extend the network.
    Please start another post to tell us exactly.......
    What device will be the main router providing your Internet connection and wireless network
    What device will extend the network
    What operating system that you have on your Mac or PC

  • Hi i would like to know how to extend the range of my time capsule wifi network(500G 802.11n) using an airport express. i have a double storey home and would like to extend range to my upstairs bedrooms.i have a time capsules network setup via a netgear a

    hi i would like to know how to extend the range of my time capsule wifi network(500G 802.11n) using an airport express. i have a double storey home and would like to extend range to my upstairs bedrooms.i have a time capsules network setup via a netgear adsl.i have a second imac upstairs which connects to time capsule wifi network (it is within range as it is directly abobe on 1st floor)
    could you tell me how best to set airport express up to extend my wifi range?

    Greetings,
    This is called an "Extended wireless network".
    Read this article for details and steps on how to extend your TimeCapsule's network:
    http://support.apple.com/kb/HT4259
    Cheers.

  • How to extend the range with a second Airport Express? Do I need a DSL cable?

    How to extend the range with a second Airport Express? Do I need a DSL cable?

    Thanks, now we need a bit more information, please, in order to provide you with the correct information that you need.
    I assume that you already have one AirPort Express.....either a model A1264 or A1392.....set up and operating OK, is that correct?
    If yes, you can extend the network either by using wireless or an Ethernet cable with a second AirPort Express.....either the A1264 or A1392 model. A wired connection is the way to go, if possible, since it provides better performance.  But, wireless might work OK for you if you want to try that.
    Let us know "how" you want to extend......wireless or wired?

  • Hi! Anyone know how to extend the intro of the music I want to use in a video in imovie?

    Hi! Anyone know how to extend the intro of the music I want to use in a video in imovie?

    Hi trineram,
    Welcome to the Support Communities!
    The article below may be able to help you understand the parameters for adding music to an iMovie for iOS project.
    iMovie for iOS (iPad): Add background music
    http://support.apple.com/kb/PH3192
    Cheers,
    - Judy

  • How to extend the time line for the premiere on mac pro mavericks

    how to extend the time line for the premiere on mac pro mavericks

    Wrong place.
    Try the Adobe Premiere forum.
    http://forums.adobe.com/community/premiere
    Good luck,
    x

  • How to extend the costing view for a material

    How to extend the costing view for a material

    Use MM01 Trxn code and Select Material and Select Costing Views and Maintain, Save it.
    Else Use MM50 and Select Material and Mainenance Status as G Costing and Execute, Maintain & Save.

  • How to extend the size of a layer?

    Hi all,
    Hopefully this is an easy one, but I think I'm just thinking about it wrong.  I'm animating the movement of one part of a photo.  I duped the photo layer, masked out the subject I want on the copy layer and have animated its position over time.  Pretty straight forward.  The problem is that as the item moves its edges are seen.  I wanted to just use the clone stamp to add a little more to the image but obviously you can't paint or stamp past the edge of the layer.  So I was trying to figure out how to 'extend' the bounds of the layer a little so that I can fill in the missing area.
    Thanks for any input.
    -Chris

    Hi Todd,
    Thanks for the reply.  Unfortunately, I'm not having any success with this method.  Here's what I have:
    Original photo of kids with ball at playground.  Ball is at lower left but partially cut off. Photo is on layer 1.
    I duplicate layer 1.
    Rename layer 2 to 'ball' and layer 1 to 'bg'
    On ball layer I mask out the ball and then animate its position over the length of the clip.
    When I precompose the ball layer (I tried both moving the attributes and leaving them as is) I get the new composition 'ball comp 1'.  I open up ball comp 1 and change the composition settings to make the width taller.
    So far, so good.  Now I'm trying to follow your suggestion to then paint on the precomposition layer.  Do you mean to go back to the original composition where the new pre-comp layer is and try to paint on it?  If so, that doesn't work.  If I select the Clone tool and try to paint the layer actually gets moved rather than painted on.  If I open the new 'ball comp 1' composition and try to paint there it doesn't work either. And if I open up the layer in that comp that has the ball in it and try to paint there, the edges are still the original edges. 
    Any idea where I went wrong?
    THanks,
    Chris

  • How to extend the range of my Airport Extreme network by adding an Airport Express

    How to extend the range of my Airport Extreme network by adding an Airport Express?

    You have to make sure that the AirPort Express is in Factory Default Settings. If it is straight out of the box, it is ready to be configured.
    The instructions that I will provide are for using AirPort Utility 6.0, which you have.
    Locate the Express in the same room as the AirPort Extreme for the configuration. Power it up and allow a full minute for the Express to display a blinking amber light.
    Make sure that the wireless is turned on your Mac
    Open AirPort Utility 6.0 and look at the small rectangle in the upper left hand corner of the display. It should now read something like "Other AirPort Base Stations (1)"
    Click on the rectangle, and then click on the AirPort Express xxxxxx listing
    AirPort Utility will take a minute or two to analyze the settings on your network and then suggest that  the Express be configured to "Extend" your wireless network.
    Edit the Base Station name to your liking, then click Next in the lower right hand corner
    Allow a full minute or two let AirPort Utility do its work
    When you see Setup Complete, click Done at the lower right of the window.
    Now move the AirPort Express to a location that is approximately half way between the AirPort Extreme and the area that needs more wireless coverage.
    You should be in business.

  • How to Extend the count of item code in IC_ITEM_MST table

    Hi Friends.
    Recently we used 10 count of IC_ITEM_MST table . But we want to extend the count 15. How to define pls help me.
    Regards
    Babu.J

    Duplicate post -- How to Extend the count of item code in IC_ITEM_MST table

  • Hi gurus how to extend the idoc

    hi gurus how to extend the idoc

    HI vasu,
    in order to extend an IDOC goto WE30 tcode.
    1) Give you basic IDOC type at the object name
    2) select the Extension radio button
    3) click on create button
    4) it asks for 3 types of extension . so give the basic IDOC type over there
    5) give description and click on continue button.
    6) so at which segment level you want to add your segment, select that particular segment and click on create segment button and place your already created segment.
    7) save and go back.
    this the procedure of extending an IDOC.
    Reward points if useful....
    thanks,
    satheesh.

  • How to extend the number of rings before phone goes to answering machine?

    On 5S, How to extend the number of rings before the message machine turns on?

    Check with your carrier. It is not an iPhone controllable setting.

  • How to extend the validity of a validation set to the past?

    By t.code GS01 I've created a a set for Valitation rules (OB28).
    Then, I've verified that the set isn't valid for the past.
    How to extend the validity of the set to the past?
    Thanks
    Gandalf

    Hi,
    I think we can not maintain validity dates for Validation.
    Just go to T. Code OB28 set your Co Code, Call Point and set activation Level as 1 to activate your validation.
    Regards,
    JA

  • How to extend the IDoc ORDERS05 and populate values?

    Hi,
    My requirement is to add few fields to the standard IDoc ORDERS05 and populate values to the newly added fields.
    Please let me know how to extend the standard IDoc ORDERS05.
    Regards,
    Balaji. R

    Hi balaji,
    you can try to google for SAP R/3 IDoc Cookbook for EDI and Interfaces by Axel Angeli et.al.
    Although Axel refers primarily to MATMAS Idoc the technique of extending IDOCs is explained very well.
    Also very good is the search function here on SCN, I just found
    [Some Experience on IDoc Enhancement|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3414900%29ID0711317150DB10743789739220747754End?blog=/pub/wlg/8285]
    Blogs and Wikis here are the best source for general questions like yours, usually of much more value than forum answers
    Regards,
    Clemens

Maybe you are looking for

  • At the time of MIRO against STO full qty for invoice is showing.

    We have created STO for lumsum qty and then created OBD with PGI and GRN for breackup  qty,but at the time of MIRO against STO full qty for invoice is showing ,and we want respective breakup qty in respect to OBD or GRN no. as reference.

  • Install Acrobat Portfolio SDK and plugins in your Flash Builder programming environment

    Hello, Experts     how would I go about introducing Acrobat Portfolio SDK and plugins to the Flash Builder programming environment ? -Alex

  • Maximum Dialog Processes for BEx Analyzer

    Dear all, Does anybody happen to know if it possible to restrict the number of dialog processes for one BEx Session and if so where it can be maintained. We currently have the problem that one user executing a workbook almost uses all dialog processe

  • One message type different IDoc Types

    Hi All, Can we use one message type and different data types based on the requirement in PI mapping.Basically  I want to select mappings based on IDoc ...My requirement is to use different IDoc types for one message type in mapping ...will it work ?

  • Shipment cost in collective shipment

    Hi, Collective Shipment Includes: 1.Several Point of departure 2.Several Destinations One Mode of Transport. I have to configure above two scenarios. Can shipment from manufacturing plant to depot and from depot to retailer come under collective ship