Re: Can we merge two input streams to one stream using JMF?

Hijo existe un codigo muy util en la pagina de soluciones donde hay un ejemplo de como guardar un archivo desde un datasource... [email protected]

Hi
Thanks for your inputs. Can you please send me the code stuff how we can use ObjectRelationalDescriptor. I tried to do that by doing following steps
1. Crated one class
oracle.InputOfTypeMap poData =
                    new oracle.InputOfTypeMap();
poData.setKay("ddd");
poData.setValue("ddd");
2. oracle.toplink.objectrelational.ObjectRelationalDescriptor descriptor =
     new oracle.toplink.objectrelational.ObjectRelationalDescriptor();          descriptor.setJavaClass(oracle.iam.reconciliation.vo.InputOfTypeMap.class);      
          descriptor.setStructureName("COL_DATA_PAIR");      
          descriptor.addFieldOrdering("column_name");
          descriptor.addFieldOrdering("data");      
          descriptor.addDirectMapping("key", "column_name");
          descriptor.addDirectMapping("value", "data");
3. I was not sure how to use this further StoredProcedureCall
Can you plese help me, how we can do that?

Similar Messages

  • How to merging two audio stream using jmf?

    I have received two rtp audio stream,i want to merging this to one but createMergingDataSource dou work well。please help 。

    You might use an alternative approach: Run exec task and use a external tool to do the encoding.
    You can for example use "The Swiss army knive of Sound" :) SoX: http://sox.sourceforge.net/
    I think from a performance point of view or to handle large files it would be even recommended in using such tools rather then encoding inside your application ... that might be different if you need to do the encoding in real-time ...
    Sebastian

  • HT204053 Can you merge two Apple IDs into one?  It was a common issue caused by the iPhone 4 and has been corrected, but transferring purchases in iTunes is a pain with two IDs.

    For a brief time when iPhone 4, iOS 4 came out, many of us ended up with two Apple IDs.  I want to know if anyone can please provide me with simple step-by-step instructions on merging two Apple IDs into one?  It would make transferring purchases on iTunes much easier and reliable.  I realize i desperately need an iOS update, but i had no laptop for over two years!  I'm posting a cry for help on that in another community.  Thank you all.

    No,
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • Can i merge two apple ids into one

    i have two apple IDs that i need to merge.  money is both accouts, paid apps on both accounts.
    What are my options?
    thanks

    http://appletoolbox.com/2012/10/can-i-merge-two-or-more-apple-ids-using-multiple -apple-ids/
     Cheers, Tom

  • How can I merge two TIFF images in one...?

    I need some help please, I am looking for a way to "resize" black & white single TIFF images.
    The process I need to do is like cutting a small image and paste it over a new blank letter-size image (at 300 dpi), like a template.
    Or better yet, is there a way to do something like this...?
    Open image...
    image.*width* = 2550;
    image.*height* = 3300;
    image.save();Some APIs and topics in the internet do or talk about resizing, but the final images get stretched or shrinked and I need them not to do so at all.
    Also, I do not need to display the images, only to get the TIFF images processed and saved back to a file.
    How can I do this with Java and JAI? Unfortunately I am almost new to this and I don't know how difficult it might be to deal with images.

    If 2550 x 3300 isn't the original aspect ratio of the image, then the image is going to looked streched or shrinked in at least one dimension. There is no way around that. It would be like resizing a 2 pixel by 2 pixel image into a 3 pixel by 6 pixel image. The image would look like it's height shrunk or it's width stretched. Had I resized it to 3 pixels by 3 pixels or 6 pixels by 6 pixels, though, then it wouldn't look shrunken or streched.
    Open image...
    image.*width* = 2550;
    image.*height* = 3300;
    image.save();*1)* To open a TIFF image you can use the javax.swing.ImageIO class. It has these static methods
    read(File input)
    read(ImageInputStream stream)
    read(InputStream input)
    read(URL input) You can use which ever method you want. But first you need to install [JAI-ImageIO|https://jai-imageio.dev.java.net/binary-builds.html]. The default ImageReaders that plug themselves into the ImageIO package are BMP, PNG, GIF, and JPEG. JAI-ImageIO will add TIFF, and a few other formats.
    The downside is that if clients want to you use your program on their machine then they to will need to install JAI-ImageIO to read the tiffs. To get around this, you can go to your Java/jdk1.x.x_xx/jre/lib/ext/ folder and copy the jai_imageio.jar file (after you've installed JAI-ImageIO). You can also obtain this jar from any one of the zip files of the [daily builds|https://jai-imageio.dev.java.net/binary-builds.html#Daily_builds]. If you add this jar to your program's classpath and package it together with your program, then clients won't need to install JAI-ImageIO and you'll still be able to read TIFF's. The downside of simply adding the jar to the classpath is that you won't be able to take advantage of a natively accelerated JPEG reader that comes with installing JAI-ImageIO (instead, ImageIO will use the default one).
    *2)* Once you've installed [JAI-ImageIO|https://jai-imageio.dev.java.net/binary-builds.html] and used ImageIO.read(...), you'll have a BufferedImage. To resize it you can do the following
    BufferedImage newImage = new BufferedImage(2550,3300,BufferedImage.TYPE_BYTE_BINARY);
    Graphics2D g = newImage.createGraphics();
    g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR);
    g.drawImage(oldImage,0,0,2550,3300,null);
    g.dispose();Here, I simply drew the old image (the one returned by ImageIO.read(...)) onto a new BufferedImage object of the appropriate size. Because you said they were black and white TIFF's, I used BufferedImage.TYPE_BYTE_BINARY, which is a black and white image. If you decide to use one the BufferedImage types that support color, then a 2550x3330 image would require at least 25 megabytes to hold into memory. On the other hand, a binary image of that size will only take up about one meg.
    I specified on the graphics object that I wanted Bilinear Interpolation when scaling. The default is Nearest Neighbor interpolation, which while fast, dosen't look very good. Bilinear offers pretty good results scaling both up or down at fast speeds. Bicubic interpolation is the next step up. If you find the resized image to be subpar, then come back and post. There are a couple of other ways to resize an image.
    Note, however, if 2550 x 3300 is not the same aspect ratio as the the TIFF image you loaded, then the resized image will look shrunk or stretched along one dimension. There is absolutely no way around this no matter what resizing technique you use. You'll need an image whose original dimensions are in a 2550/3300 = .772 ratio if you want the resized image to not look like it's streched (you can crop the opened image if you want).
    *3)* Now we save the "newImage" with the same class we read images with: ImageIO . It has these static methods
    write(RenderedImage im, String formatName, File output)
    write(RenderedImage im, String formatName, ImageOutputStream output)
    write(RenderedImage im, String formatName, OutputStream output)You'll suply the resized BufferedImage as the first parameter, "tiff" as the second parameter and an appropriate output for the third parameter. It's pretty much a one line statement to read or write an image. All in all, the whole thing is about 7 lines of code. Not bad of all.
    Now as for the 300 dpi thing, there is a way to set the dpi in the Image's metadata. I'm pretty good at reading an image's metadata, but I've never really tried writing out my own metadata. I know you can set the dpi, and I have a somewhat vague idea how it might be done, but it's not something I've tried before. I think I'll look more into it.

  • HT3819 Can I merge two iTunes accounts into one account for home sharing?

    I now have two children with iTunes accounts. Unbeknownst to me, we should have set up a home sharing network. I need to merge these two accounts to one account so we have only one home sharing account and do not loose any songs and media. Any ideas on how to accomplish this, or is it not possible?

    Sorry to say but these Accounts cannot be merged...
    From Here   http://support.apple.com/kb/HE37
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.

  • Can you merge two still images into one in premiere elements?

    I am working on a slide show for a memorial service and would like to have one still image showing and then have the next one come in without replacing the former- somehow merge the two. Is that possible?

    Depending on what you mean by "merge," you can use PiP (Picture in Picture) to have the second image come in and occupy part of the screen with the original image. There are many ways to display PiP, from say a small image located in the screen to having it occupy one half of the screen.
    Does that sound like what you are hoping to do?
    Besides the rather simple PiP, one can also use Track Matte Keying to bring up the second image and to soften edges, drop it into an image of, say a TV set, or a window.
    The possibilities are endless, or nearly so.
    Let us know if PiP works for you, or if you need a more intricate merging of the images.
    Good luck,
    Hunt

  • Can you merge two pages documents into one in new pages?

    I have a report and a few separate documents which I'd like to merge into one document. I've read that you can do this from thumbnails and copy the thumbnail but I just can't seem to do that either with right click or cmd C. (and the advice seemed to be pre the new pages)  I want to merge them without making them into PDFs (still want them editable).
    I have all the latest updates and system.

    My solution won't work without Pages '09. It is no longer available from Apple, though for about $20 USD one can get it from Amazon, and once installed in Yosemite, it must be updated from an Apple iWork 9.3 updater.
    If you had previously purchased Pages '09 from the OS X App Store, and it resides on an older Mac with OS X Lion or Mountain Lion, you should use the App Store to update it to v4.3. On those machines, the App Store will tell you that newer, incompatible Pages versions exist, and then it will offer to update your Pages '09 to the latest (4.3) version. Once this is done, you can simply copy that /Applications/Pages.app to a USB stick, create a new /Applications/iWork '09 folder on Yosemite, and transfer the Pages.app into that folder. If your Pages '09 was purchased on DVD, you will not be able to transfer it — and must be a new install on Yosemite, followed by the linked updater above. Takes all the joy out of working on a Mac.
    There is no assurance that Pages '09 will continue to work properly after forthcoming OS X updates. The ability to export via the Share menu and automatically open Apple Mail with the export as attachment feature is now broken.
    Pages v5.5.2, which is now available in the OS X App Store Updates — still does not support the solution you would like.

  • Apple TV + Airport Express can you have two separate streams?

    Can you run two separate streams using an AE to a stereo and ATV2 to a separate TV/stereo combo?

    CaptFred,
    Thanks. This is what I just figured out. I can't send two separate streams via remote or direct off the main computer (iMac). However, with the iMac streaming to Computer, AE, & ATV2 . . . I can pull home Home Sharing of the iMac from the MBP. If I select the already active AE speakers, the MBP tries to connect and says they are in use. When I select the AE speakers from the iPhone remote and turn them off (via remote) I can then select them from the MMP and stream different music to the AE (the other iMac originated stream continues uninterrupted).
    Thanks again for kick to go try it .

  • Merge two differents tables in one new structure

    Hello guys,
    How can I merge two differents tables in one new structure (workarea) dynamically?
    For example, merge MARA and MARC in a new structure that contains all fields from MARA and all fields from MARC.
    In this case, it isn't necessary that identical fields be repeated (MATNR).
    Can you help me?
    Thanks!
    Kleber

    Hi,
    Use include structure like:
    data begin of itab occurs 0.
            include structure MARA.
            include structure MARC.
    data end of itab.

  • Can you merge two user accounts on macbook? my wife has created a user on her new macbook , then inadvertently created a second one when using the migration tool. 1st ac has her office 365 install, yet 2nd has her itunes database, docs and contacts.

    Can you merge two user accounts on a macbook? my wife has created a new user on her new macbook air then, inadvertently, created a second one when using the migration tool. 1st a/c has her office 365 install, while 2nd has her itunes database, docs and contacts. What is the best way forward to get everything into the one account? Not sure if the office 365 will allow another installation into the second account, otherwise would just do that and delete the first, if that is possible?

    There is no merge but you can move data from one account to another via the Shared folder. Data is copied from Shared. Watch your free space when copying. These are large files.  Do one at a time if you are on a small drive. After making copy, delete from other users before you start next copy.
    Office365 installs in the main Applications folder and is available for all users on the computer. Activation is tied to the drive not the User.

  • Can you merge two apple ids

    I have two Apple id's. Not sure why. but one is for my iPod that was set up a long time ago and what I use for iTunes. The is for my iPhone. I want to use the itunes cloud storage so i can listen to my music on my iPhone but i'm guessing that won't work if you have two id's. Of couse they'd need to match. Can you merge two id's? I would like to simplify anyway and just have one.
    Thanks.

    No.
    (106976)

  • Can i merge two Apple ID's?

    can i merge two Apple ID's?
    I have one with me.com and one neutral one.
    would love to have just the me.com Apple ID.
    How do I merge??

    You can't merge accounts, nor transfer content from one account to another account - content will remain tied to the account that bought/downloaded it.

  • In Web Dynpro ABAP, Can we merge two cells of a row in a table ?

    In Web Dynpro ABAP, Can we merge two cells of a row in a table ?

    Hallo Jagannatha,
    the new table feature is available in SAP NetWeaver 7.0 EhP2 (SAP ERP 6.0 EhP5, SAP Business Suite 7i2010) named 'TableMultiEditorCell'. See [SAP Online Help|http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9b/46bb0d339b42cc8d30636ca0c9f5b6/frameset.htm] for more details ...
    "This UI element is a table cell variant that enables several UI elements to be placed in one table cell. This type of cell can be used for "one click actions". ...
    Regards, Bertram

  • Can I merge two photos vertically instead of horizontally?

    Can I merge two photos vertically instead of horizontally?

    I don't understand the question. Please provide additional information as to just what you wish to do.
    For example, do you wish to display and print two portrait oriented photos side-by-side?

Maybe you are looking for

  • Error message 4000 when trying to burn a cd in itunes

    I am having problems burning a cd in itunes. I am getting the error message the attempt to burn a disc failed. An unknown error occurred  (4000). Can someone tell me how I can fix this problem.  Please note that I have looked up other ways to solve p

  • Is it possible to force the user to login again when using oauth 2 (implicit grant)

    Hi, I'm trying to build an application based on a rest webservice in APEX which is being accessed by a javascript frontend via ORDS. I'm using the "Implicit grant" flow of OAUTH 2. When the user is finished with the application, he/she should be able

  • Pl/sql block returning multiple rows

    Hi, I've created a plsql block which obtains an id from a name and then uses this id in another sql statement. The select statement to get the id works fine and the correct id is placed into the variable awardID. when i try to use this variable in an

  • Why to use a bitmap index

    I've read that it may be usefull to create a bitmap index on low cardinality columns. And this is my doubt. Let's suppose I have a gender column on a table. This certainly has got a very low cardinality 'cause I can only have M or F in it and so it c

  • XML Error on Mac.

    I've tried to google this error, but I am having a hard time finding a solution for this problem. Whenever I load Fireworks 8.0.0.777, on the top left corner of the splash page I get an error messege: "Problem Loading the content XML". Followed by "Y