How to compress the frame/buffer . Encoder ???

I have get the frame/buffer by using codec. (FrameAccess.java)
I found the buffer is too large,so I want to compress them .
How can I do it ?? could you guys give me a solution ??
Thanks

coutinue
After compressing the frame/buffer, I wrap them (aout 1 second) as a package, and then transfer the package by UDP.
SO, I have to compress the frame/buffer.

Similar Messages

  • I can't get the h264 compressed video frame buffer

    hello everybody, i tried to develop video streaming App on iPhone 4. But i can't get the h264 compressed video frame buffer before streaming these frames to network. Could anybody please tell me how to do this, thanks!!!

    Look to see if you still have A.Pack installed on your computer; it should be in the Applications folder on your boot drive.  That's what was used for AC3 encoding prior to Compressor 3.   In the meantime, you could lower the bit rate of the video in order to use the AIF audio file on your DVD.
    -DH

  • How to change the default save encoding of the dvm files when create dvm???

    When I creating a DVM(domain-value mapping) in Chinese on the ESB control and confirm it, then restarted the SOA service, the DVM that I created in Chinese disappeared from ESB control. All the maps(both English and Chinese ) are in DVM Repository.
    After I updated the encoding from ‘UTF-8’ to ‘GB2312’ in the three files below, and restarted the SOA service, the DVM in Chinese appeared on ESB control.
    But when I adding the second row in Chinese and save it, then restart the SOA service, the DVM in Chinese disappeared from ESB Control once again. Because the encoding in the three files below is updated from ‘GB2312’ to ‘UTF-8’ .
    Files:
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\metadata\files\dvm\Chinese.xml.def.xml
    C:\product\10.1.3.1\OracleAS_1\integration\esb\oraesb\artifacts\store\content\files\dvm\Chinese.xml_1.0
    How to change the default save encoding of the dvm files when create dvm in ESB control ???

    I have the same problem.  When I updated to Mavericks now the bookmarks bar font is huge.  I liked it the way it was before.  I liked the smaller font.  Also wish I could change the color of the sidebar and font/folders too.
    I tried to see in preferences if there was anyway to change it, but I don't see anything there.

  • How to set the frame size?

    Hi,
    Can some one show me how to set the frame size in this program? History: I have created a window and added a button but its to small. So I want to increase the size of the frame to at least 600X400 pixel.
    private static void showGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame("ButtonDemo");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Main newContentPane = new Main();
            newContentPane.setOpaque(true); //content panes must be opaque
            frame.setContentPane(newContentPane);
            //Display the window.
            frame.pack();
            frame.setVisible(true);
        }It would be nice if you could show me how to do it.
    Thank you very much for reading this.

    Challenger wrote:
    Simply adding
    frame.setSize(new Dimension(600,400));to the end of your code should work perfectly.Or, if you want to do it correctly, .setPreferredSize() on your frame before you .pack() it. The default layout manager for JFrame is BorderLayout, which uses the preferredSize of each component to calculate sizes during the .pack() call.

  • How to Find the Frame by Fillcolor

    Hi All,
    How to find the Frame by its fillcolor?
    I tried the following method but it doesn't work.
    app.findTextPreferences.fillColor = app.swatches.item("Red");
    And
    app.findTextPreferences.fillColor = app.activeDocument.swatches.item("Red");
    Thanks in advance
    Ramkumar

    Sorry.
    i used findObjectPreferences but i wrote it wrong.
    Regards,
    Ramkumar

  • How to change the Content-Transfer-Encoding for the fmddataa.fmd from base

    Dear all,
       When I using this SO_DOCUMENT_REPOSITORY_MANAGERto send email,I find the fmddata.fmd  file have been changed  to binary file attachment. I don't hope so.any one have good idea to avoid this case occur?
      Can you tell me how to change the Content-Transfer-Encoding for the fmddata.fmd from base64 to quoted-printable.  The quoted-printable is the Content-Transfer-Encoding for text file with extension .txt
    Best Regards,
    Merry

    Thank you

  • I need to know how to "compress" the Folder Tree.  The File folders are moving to the right and out of sight in Lightroom 5.

    I need to know how to "compress" the Folder Tree.  The File folders are moving to the right and out of sight in Lightroom 5.

    A couple of suggestions that may help:
    - Make sure you've made the left-hand column as wide as possible by grabbing the divider between the column and the Library grid view.
    - You can hide a parent folder from the display by right-clicking it and selecting Hide This Parent. This will shift all the child folders to the left.

  • How's compress the edge file?

    how's compress the edge file?

    You can't.
    The best you can do is pre-plan your project.
    - use compressed images;
    - use less dependency on local font or script references and use CDN or available web services instead;
    Just a few thoughts
    hth
    Darrell

  • 2 weeks trying to find out how to use the media live encoder in multi stream. And  I can not find an

    2 weeks trying to find out how to use the media live encoder 3.2 in multi
    stream. And  I can not find any clear instructions guide. Please from
    my soul, taught me clearly, how  I can stream to 2 different site
    using live media encoder. what I do with ftml values and the other
    one , wich everyone site give me, where should I put them, in what
    order ... everything I tried, I got an error. I realy please you,
    please !!!! thanks in advance !!

    [Moved to Flash Media Live Encoder forum.]

  • How i disable the frame window??

    how i disable the frame window??
    i had used frame.disable(); function but its not work...
    disable function works only on components its not work on frame..

    hi!
    1) which one you are using? Frame/JFrame ?
    2) exactly what do you want to disable?
    a) entire frame including titlebar buttons
    b) just all the child components, menus, toolbar buttons
    c) what should be the behavior of taskbar at the time of disabled frame object?
    i think for a proper and to the point solution these are thing one need to know.
    regards
    Aniruddha

  • How to get the frame rate of my application

    Hi again...
    How can I get the frame rate of my application?
    I also want the frame rate value to be the title of the frame, updated every second. How do I do that?
    thanks in advance...

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

  • How to get the frame number of a label in a different scene.

    I am completely stumped on this.
    I have my project setup as the gameplay in one scene, and another scene for the outcome.
    The outcome scene, say called, GameDone, has 2 frames. The first frame for win, labeled it WON, the second frame for lost, labeled LOST.
    I could do the very simple thing and just gotoAndStop("GameDone", 1); but thats a bad practice, I believe.
    Ive gone through google and found the closest thing needing a MovieClip. I could not figure out what to give it? A random MovieClip? a new one? one from the next scene? one from the current scene?
    import flash.display.Scene; 
    for (var i:uint = 0; i < mc1.scenes.length; i++) {
         var scene:Scene = mc1.scenes[i];
         trace("scene " + scene.name + ": " + scene.numFrames + " frames");
    That was an adobe sample.
    So how could I, in the gameplay scene, the frame number for either WON or LOST in the "GameDone" scene?
    Thanks.

    Try doing the simple thing that you think is a bad practice.  I don't know why you think it is.  The only problem with it is that you appear to have it backwards for AS3... in AS3 it is gotoAndStop(frame,scene);
    Why don't you use the frame labels instead of frame numbers?  gotoAndStop("Won", "GameDone");

  • How to get the Frame size in H.263 by JMF ?

    Dear all,
    How to get the individual frame size in H.263 format if the H.263 file is a format of InputStream ???

    VideoFormat.getSize() returns a Dimension of a frame. H263Format is a subclass of VideoFormat. Guess you could get that object from getFormat() in your stream if it's a PullBufferStream. Or, with a Processor, you could do getTrackControls() and iterate through the TrackControl.getFormat()s until you find the VideoFormat.
    Suppose you could also get a FrameGrabbingControl, grab a frame and get the Dimension from him.
    --invalidname

  • How to get the identity claim encoding types of windows and forms authentication providers using API?

    Hi,
    We have to get all the claims providers associated with a web application and its identity claim encoding type using API.
    For example:
    If the identity claim of windows authentication is user name and the user name is a string, then we should get
    "i:0#.w".
    If the identity claim of forms authentication is
    email and the provider name is "fba" , then we should get "i:0!.f|fba|".
    The below link shows us to get all claims providers associated with a web application, but how do we get the identity claim encoding type of each provider?
    http://msdn.microsoft.com/en-us/library/gg650432(v=office.14).aspx#SP_WCP_Tip3
    using (SPSite theSite = new SPSite("http://someContosoUrl"))
    // Get the web application.
        SPWebApplication wa = theSite.WebApplication;
        // Get the zone for the site.
        SPUrlZone theZone = theSite.Zone;
        // Get the settings that are associated with the zone.
        SPIisSettings theSettings = wa.GetIisSettingsWithFallback(theZone);
        // Get the list of authentication providers that are associated with the zone.
        foreach (SPAuthenticationProvider prov in
            theSettings.ClaimsAuthenticationProviders)
        {   // Need to get the identity claims encoding type using the SPAuthenticationProvider
    Is windows authentication's identity claim encoding type always i.0#.w or the identity claim is always the user name?
    Thanks & Regards,
    Kalai.

    If the requirement is to be able to convert claim identities to windows identities that can be used with other LOB/legacy application that still relies on NTLM/Windows Auth, then I would recommend to explore C2WTS.
    Here are some references:
    http://msdn.microsoft.com/en-us/library/office/ee539739(v=office.14).aspx
    http://blah.winsmarts.com/2013-11-Use_C2WTS_to_get_a_classic_windows_identity_from_a_claims_identity.aspx
    http://henrymcclain.blogspot.in/2013/05/claims-to-windows-token-service-c2wts.html
    http://blogs.msdn.com/b/rodneyviana/archive/2011/02/20/claims-to-windows-token-service-c2wts-may-not-start-automatically-when-you-reboot-your-server-don-t-blame-sharepoint-for-that.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/05/27/understanding-sharepoint-2010-claims-authentication.aspx
    Thanks!
    These postings are provided "AS IS" with no warranties, and confers no rights.

  • How to make the frame of the inputfield colored?

    Hi everyone,
      I have a problem here: I have a table on the screen, there are two columns which are inputfield,when user type something and press the "Enter" button,  my program will check whether the value is correct or not. And when the input is wrong I want to point out the specific cell which is wrong by make the frame of the cell red, green or something else.
      How can I achieve this?
    Thanks in advance.

    hi,
    check out this thread :
    Re: Can we Change the backround color of an Input field in Webdynpro for ABAP.
    Thanx.

Maybe you are looking for

  • GarageBand stalls when trying to update loops

    Opened the new version of GarageBand (10.0.2) on my iMac late 2009, it downloaded the new sounds and loops, asked for my Apple ID, and then it stalled. The progress bar does not move, and GarageBand won't respond otherwise. Any ideas to get it to fin

  • (I can't compile it .I don't know how to write constructor in Initial Class

    All class and main program is OK except the inital class. Author Class class Author { private String authorName; private Initials inits; private int numTitles = 0; // PRE True POST Prompts user for details // and RETURNS new Author constructed from d

  • Changes to Drop Ship Orders with configurations/star items

    Hi, Can someone in this group clarify a few things with respect to changes to drop ship orders that has configured/star items. The CTO guide says that we cannot do configuration changes on the sales order, if the related PO is 'Approved'. There is a

  • Peoplesoft HRMS 9.1 installation

    Hi, Any body please suggest me the best configuration for peoplesoft HRMS 9.1, list of all things need to be download for oracle linux 6.1

  • How to alert Folio updated with Single Edition

    Hy everybody. No Push Notification exist in Single Edition process. So, if I modified one page (for example) in a Folio already published in App Store, I have to uploaded a new .zip of my App to Apple. How the customers which had already charged the