RTP for non media format?

Hi,
I wasn't sure if this is the right forum to ask.. But I guess it's worth a try.
I am looking into streaming a data file over the network using JMF-RTP. I've looked into the page on "Transmitting and Receiving custom RTP Payloads" from:
http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/CustomPayload.html
Correct me if I'm wrong. According to my understanding, this custom payload has to be one of the supported files for the audio or video from java.media. Is there any way to stream a utf8 data file using rtp?
Thanks for the guidance in advance.

tjazz wrote:
I wasn't sure if this is the right forum to ask.. But I guess it's worth a try.This is an appropriate forum...
I am looking into streaming a data file over the network using JMF-RTP. That is a HORRIBLE idea.
Correct me if I'm wrong. According to my understanding, this custom payload has to be one of the supported files for the audio or video from java.media. Is there any way to stream a utf8 data file using rtp?Okay, I want to explain a little bit about what RTP does... RTP breaks a recording (audio or visual) into small, independantly-playable chunks...wraps them in a packet and timestamps them, and sends them out over the network.
On the other side, the receiver gets an independantly-playable chunk of data, and it plays it...but if the timestamps arrive out of order, the packets that arrive out of order get dropped and if they arrive after too long of a delta, the packets get dropped and once a packet is gone, it's gone forever.
In audio/video data, losing a small chunk of the video is acceptable if the goal is to see video in real time, which is the goal of RTP. I don't want to get behind a web cam feed by a few microseconds everytime packets travel different routes on the internet, because before long, I'd be behind 5 minutes...and that's especially useless for something like a video conferencing application.
The two major problems with streaming a data file is, you probably can't do anything with the file until you get all of it anyway, but more importantly, data files cannot handle dropped packets. They just can't. Even if you're just sending a simple UTF8 text file, if you drop a packet, you've lost part of the file...you're dropping words and characters randomly, and RTP not only doesn't have a mechanism for retrieving these peices you dropped, it's designed to drop them.
So, to answer your question...sure, you could totally use RTP to send a data file, but that would be stupid for 99% of applications...

Similar Messages

  • Criteria in smart collection relevant for non-photo formats?

    How does one set criteria when creating smart collection that are relevant for non-photo files (or, better yet, extend it to the full range of metadata in the file info panels).

    A collection is just an address of the image.  So if the item has a file location would think you can use it.  Of course metadata has no address.

  • XMP files for non RAW files **PLEASE!!**

    This is useless if I cannot write the image adjustments that I make out to matching XMP files.
    How can I move files/folders between machines???
    So PLEASE add XMP sidecar file support for non RAW formats.
    OR give us the ability to "export" a folder or files.. like in Aperture.

    Lee Jay,
    Thanks for that info!
    Since I did not see the XMP files I assumed...
    I just did a test and sure enough, the XMP data is written into the JPG file!
    On my mac I copied the file to another name, imported it and the changes were there as well as the ability to modify the changes.
    Further, for the geeks like me, I did a
    "strings file.jpg | more"
    command and was able to see the XMP data.
    Thanks!
    Edit to add: This is even better than Aperture projects and even separate XMP files!

  • Formatted Search - Calculate GP Base Price for Non Inventory Items

    Hi Experts,
    On one of our customer's 8.8 PL 15 installation, requirement was to calculate GP for Non Inventory Items (on SO screen). Since SAP does not automatically calculates it we proposed and implemented following solution.
    1. Have all Non Inventory Items to be costed at Standard cost so that you can manually enter the cost in the Item Master.
    2. Write following formatted search on GP Base Price field so as to calculate the GP Base Price for the Non Inventory Items only. The formatted search must not make any changes to Inventory Items as we want system to calculate the GP automatically (just in case cost changes from SO to Delivery or Invoice).
    DECLARE @II AS nVarchar(1)
    DECLARE @COST AS Numeric(19,2)
    SET @II = (SELECT OITM.InvntItem FROM OITM WHERE OITM.ItemCode = $[RDR1.ItemCode])
    SET @COST = (SELECT     (OITW.AVGPrice * $[RDR1.NumPerMsr]) FROM     OITW WHERE     OITW.ItemCode = $[RDR1.ItemCode] AND
         OITW.WhsCode = $[RDR1.WhsCode])
    IF (@II = 'N')
    BEGIN
    SELECT @COST
    END
    3. Formatted search achieves what was originally required however if a user overwrites the Item Code (Inventory Item) in the SO then above formatted search clears the GP Base Price field and sets the GP basis for the item as "Manual". By obverwrite means user first selected item A0001 on line 1 and then entered A0002 on same line i.e. Line 1.
    My question here is what is wrong in the formatted search that is resulting in this behaviour.
    Any questions please let me know.
    Thanks in advance.
    Regards
    Devinder

    Hi Gordon,
    Thanks for taking out time to help me however Key requirement here is
    Write formatted search on GP Base Price field so as to calculate the GP Base Price for the Non Inventory Items only.
    Your query sets the base price for GP Base Price for Inventory Item to ZERO and Base Price By to Manual.
    Note that my Formatted search has a problem only when an Inventory Item line is overwritten. I am not sure if this is a problem with SAP itself rather than my query.
    Any other ideas please?
    Regards
    Devinder

  • What is the method for folder-browsing and selecting a non media file type in Android? [Air+AS3]

    Dear Gurus,
    Being a newbie, I have been searching hi & low for the method to browse and select non-media related file type in android.
    Besides the following these which I have reference from the AS3 Documentation (http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7fe4.html#WS5b3cc c516d4fbf351e63e3d118676a4c56-7ff0)
    var fileToOpen = File.documentsDirectory.resolvePath("");
                                  selectFile(fileToOpen);
                                  function selectFile(root:File):void
                                                 //var txtFilter:FileFilter = new FileFilter ("3D Model File", "*.obj; *.3ds;*.awd");
                                                 root.browseForOpen("Open",null);
                                                 root.addEventListener(Event.SELECT, selectedFile);
                                  function selectedFile(e:Event):void
                                                 trace(fileToOpen.nativePath + " file selected");
    I have went through the following threads yet find no clear workable solution to it.  The closest reference is written in Flex MXML, and I have no luck for converting it to AS3 as there are several properties which I can't get it right.
    http://forums.adobe.com/thread/943887 | http://forums.adobe.com/message/4107990#4107990 | http://forums.adobe.com/message/4548154
    Someone did mention some possible solutions through ANE but it is just too far beyond.  Even, the closest on-the-shelf solution of ANE by http://myappsnippet.com/file-browser-air-extension/ only work best to an extent and not truely "native" as the UI is not default from Android.  It has workable I/O but poor usability; you can't skin it.
    Is there any other workaround solution to this general I/O question?  I would love to hear from everyone here.

    The short answer to my knowledge is there is nothing you can invoke from AIR to open an OS-level dialog to browse/select a file. All implementations typically are people writing their own browser. They crawl the folders/files recursively and write their own display for the files. You can see a few on SO:
    http://stackoverflow.com/questions/12255418/as3-air-browse-for-file-on-sd-card
    http://stackoverflow.com/questions/12257626/as3-get-zip-file-on-phone-from-app-file-path-t hen-unzip
    It's not to terribly hard to code something like this (especially with that starter code). Otherwise, like you found, an on-the-shelf ANE is the only way I believe you can invoke the Android Intent for a file dialog. At that point skinning won't really be terribly easy given the nature of Android users who are completely allowed to customize their UI top to bottom.
    The safest bet is just let that posted code recurse and find the files you tell it to while displaying the list to the user. You can use some pre-written GPU-level lists that you can skin yourself using FeathersUI:
    http://www.feathersui.com (uses Starling)
    Or you can use one of the Flash Pro List components which will be quite a bit slower being they're not GPU optimized like some Flex Spark components.

  • Which OS, Version, Best Setup on like-new 2008 MBP for non-HD archival DV?

    MacBook Pro 15"
    (Early 2008)
    2.4 GHz Core 2 Duo
    4GB RAM
    720GB 7200rpm Hard Drive (original 360GB 5400rpm drive also available)
    OS 10.6.8
    (6GB RAM possible but additional $100+ for 4GB module needed now for software upgrades)
        I first and last used Final Cut Pro 2-3 in film school on a Titanium PowerBook (500MHz!) during the OS9/X transition.  Next, was an Aluminum PowerBook (1.67Ghz) but because of life changes, I did little editing other than occasionally in iMovie.  Then as an early adopter of iPhone/Pad, I rarely used my AlPB other than for back up, writing, and occasional simple editing.
        Now I'm finally entering the early MacIntel age with a pristine "early 2008" MacBook Pro bought for $250 from an elderly original-owner couple who used it only at home for email and iPhoto.  Though at the end of its supported life, it's practically new with a known history of light graphics usage (no video or gaming rendering ever) delivered in the original box with original battery (only 46 cycles!), discs, manual, like-new charger, and no sign of wear.  The original internal wrapper was even saved and put back on the device!  Furthermore, because the wife was a photo enthusiast, the Apple Store swapped out her internal hard drive for a Western Digital 720GB 7200rpm drive and the husband just gave me the original 360GB drive!
        I want to do several things with this "new" device.  I've done a lot of research but the world has changed since FCP 3 and the G4 processor and I'm overwhelmed with all the possibilities.  I need guidance and have always appreciated the wisdom and generosity of the gurus here. I thank you all in advance!
    iCloud integration: I'd like it since I'm an iPhone/Pad user.  I could upgrade to Mountain Lion but Mavericks, under the best of conditions, is doable on my device and may give me improved CPU and battery performance.  I realize this is best left for the OSX forums.  HOWEVER...
    Final Cut Pro: I want to also return to editing in FCP an unfinished documentary using primarily archival film and video converted to non-HD DV.  This may greatly impact how I set up my drives and the decision as to which OS is best.  So, this should probably be my initial decision.
    Hard Drive:  First and foremost, I should probably swap the drives and place the 7200rpm drive into an enclosure (Firewire or is that stone-age?) for FCP media, correct?
    OS:  With Mavericks, I must use FCPX which is beyond my current non-HD needs and will most likely strain my system resources.  However, the new simplified interface is appealing and I've read some users are running it on "early 2008" MBPs.  If an earlier OS is better suited, then which one?  And also...
    FCP Version:  Which is most stable given my model?  And which is best for non-HD needs?  What about FCExpress?  I want to explore more possibilities than what's available in iMovie and would appreciate the simpler interface found in FCE and FCPX, especially since I haven't used any Final Cut since FCP 3 but will gladly embrace what's best.  I want to relearn the program and hope to continue using it for other projects.
    Partitioned drive:  Finally, what about partitioning my drive, one for daily life running Mavericks or other OS, the other solely dedicated to an optimized OS/FCP for non-HD editing?  Even at 360 GB it should be doable if I keep it lean and the bulk of storage externally (I ran FCP 3 adequately on a partitioned 40GB drive back in the day).  How much space should I dedicate to an FCP partition?
        Finances are tight and I'll need to upgrade Office, other apps (I know there's Rosetta in Snow Leopard but must weigh that with iCloud integration; decsions, decisions!) and probably locate an older copy of FCP on EBay or elsewhere which could be expensive.  I must wait a bit before swapping in a 4GB RAM module and possibly upgrading to an SSD.  Meanwhile, I'd like to experience this like-new MacBook Pro now, both as it was during its heyday and with what's still possible today.  It seems doable and I appreciate any and all suggestions.
    Thank you all and have a great day!
    Evalyn
    PS: I realize my FCP3 files are probably useless and plan to reimport everything into a new project.  And sorry for the lack of paragraph spacing.  Can't get it formatted right on the iPad!

    CyberFinch wrote:
    FCP Version:  Which is most stable given my model?  And which is best for non-HD needs?  What about FCExpress?  I want to explore more possibilities than what's available in iMovie and would appreciate the simpler interface found in FCE and FCPX, especially since I haven't used any Final Cut since FCP 3 but will gladly embrace what's best.  I want to relearn the program and hope to continue using it for other projects.
    Just to note that there is much more commonality between FCP3 and FCP7 and/or FCE than with the early version and FCP X. IMO, learning FCP X is worth the effort, but it will require some effort since it is so different than traditional NLE's. You could "get by" with FCE for many types of projects and you should be able to find a copy on eBay or Amazon  for a few hundred dollars. However, you will not be able to open a FCP project of any version with it.  Also, I don;t think I would agree that  its UI is simple; it's essentially the same as FCP.
    As for partitioning, some people advise against editing from drives that have been partitioned. I use a partition on one machine and I've not had any problems, so I think it is an option.
    As you can see from the replies you've received so far, you have  reasonable choices. Good luck.
    Russ

  • HT3775 This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a QuickTime component for this audio format in order to hear the soundtrack of this file.

    This message appeared and does this just mean I need to upgrade Quick time player? This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a QuickTime™ component for this audio format in order to hear the soundtrack of this file.

    Luckily, there are DOZENS of video/media players and extensions avaliable for the Mac. Many of them are FREE, some of the better FREE ones are...
    PERIAN (quicktime extension)
    http://perian.org/
    QUICKTIME 7.6.6
    http://support.apple.com/kb/DL923
    VLC media player
    http://www.videolan.org/vlc/
    NICEPLAYER
    https://code.google.com/p/niceplayer/
    And if none of those work, there is a possibility that those video files may be corrupted.

  • Problems realted to changing the language for non-Unicode programs from one into anther.

    Hi,
    Hi everyone!
    Product Name: HP Pavilion dv6-6093ex
    Product Number : LM610EA#A2N.
    My Windows 7(464Bit) Ultimate,  and its base language, and display language is English.
    The Languages(English, French and Arabic) built-in (came re-downloaded and re-installed by the person who made the Windows disc installation). Thus, while installing Windows 7, those three lanauge listed for me to choose one of them to be the base language
    and display language, I have chosen 'English'. In the End of installation, there are three pre-packaged languages(English and French and Arabic) can be used as a display language.
    I would like anyone kindly to confirm for me why I have been facing these problems when changing  language for non-Unicode programs from English into Arabic.
    First: After I have installed the  AMD High-Definition Graphics Driver (sp55092) 8.882.2.3000 on my laptop. The contents of the of Intel Graphics and Media Control Panel are partially shown in Arabic while language for non-Unicode programs
    is Arabic, however, they are completely shown in English while language for non-Unicode programs is English.
    A: I found that contents of the of Intel Graphics and Media Control Panel are partially shown in Arabic (second screen shot below, however,
    when click on any options, for example 'Graphics properties' shown in Arabic in, the second window is shown in English) while language for non-Unicode programs is
    Arabic, and it doesn't matter what format or location is.
    B- when I changed language for non-Unicode programs into 
    English.
    I found that contents of the Intel Graphics and Media Control Panel are completely shown in English .
    Second:
    A- Only All Arabic contents will be displayed encryptely while language for non-Unicode programs is English
    B-  All the Arabic contents are displayed properly   while language for non-Unicode programs is  Arabic.
    Third: an error extracting drivers and software downloaded from official HP website while language for non-Unicode programs is English.
    A-  I noticed an error extracting all kinds of comprised files(drivers and software) downloaded from HP website while language for non-Unicode programs is English and whatever location and format are:
    B- However  while language for non-Unicode programs is Arabic, there is no error extracting files.
    In conclusion, Is it normal
    for all of you the contents of the of Intel Graphics and Media Control Panel are partially shown in your native while  language  used
    for non-Unicode programs is your native lanague, however, they are completely shown in English while language for non-Unicode programs is English?.  IF so I would be saying that if I have wanted the  contents of documents written in my language
    Arabic to be shown properly, then then I
    must let the language for non-Unicode programs be Arabic.
    Is this happens with you as well?
    Also, if I need extracting all kinds of comprised files(drivers and software) downloaded from HP website, then language for non-Unicode programs
    must be in my Arabic lanague English and whatever location and format are.
    Is this happened with you as well?
    I would highly appreciate any clarification from you.
    A man should convert his anger and sadness into strength to continue living in this life.

    Hi,
    I am confused about your issue.
    when you changed language for non-Unicode programs into  English, it show English.
    while language for non-Unicode programs is Arabic, it show Arabic, If it's none-Unicode.
    This is correct. Why you think it's an issue?
    About your second scenario description, I was not clear what you said. Could you give us a explanation?
    Note: System display language is not the un-Unicode program language.
    You can just choose one language to display the system at same time.
    This article might be helpful to you:
    Install or change a display language
    http://windows.microsoft.com/en-in/windows7/install-or-change-a-display-language
    Change the system locale
    http://windows.microsoft.com/en-in/windows/change-system-locale#1TC=windows-7
    Karen Hu
    TechNet Community Support

  • Problems realted to changing the language for non-Unicode programs

    Hi everyone!
    Product Name: HP Pavilion dv6-6093ex
    Product Number : LM610EA#A2N.
    My Windows 7(464Bit) Ultimate,  and its base language, and display language is English.
    The Languages(English, French and Arabic) built-in (came re-downloaded and re-installed by the person who made the Windows disc installation). Thus, while installing Windows 7, those three lanauge listed for me to choose one of them to be the base language and display language, I have chosen 'English'. In the End of installation, there are three pre-packaged languages(English and French and Arabic) can be used as a display language.
    I would like anyone kindly to confirm for me why I have been facing these problems when changing  language for non-Unicode programs from English into Arabic.
    First: After I have installed the  AMD High-Definition Graphics Driver (sp55092) 8.882.2.3000 on my laptop. The contents of the of Intel Graphics and Media Control Panel are partially shown in Arabic while language for non-Unicode programs is Arabic, however, they are completely shown in English while language for non-Unicode programs is English.
    A: I found that contents of the of Intel Graphics and Media Control Panel are partially shown in Arabic (second screen shot below, however, when click on any options, for example 'Graphics properties' shown in Arabic in, the second window is shown in English) while language for non-Unicode programs is Arabic, and it doesn't matter what format or location is.
    B- when I changed language for non-Unicode programs into  English.
    I found that contents of the Intel Graphics and Media Control Panel are completely shown in English .
    Second:
    A- Only All Arabic contents will be displayed encryptely while language for non-Unicode programs is English
    B-  All the Arabic contents are displayed properly   while language for non-Unicode programs is  Arabic.
    Third: an error extracting drivers and software downloaded from official HP website while language for non-Unicode programs is English.
    A-  I noticed an error extracting all kinds of comprised files(drivers and software) downloaded from HP website while language for non-Unicode programs is English and whatever location and format are:
    B- However  while language for non-Unicode programs is Arabic, there is no error extracting files.
    In conclusion, Is it normal for all of you the contents of the of Intel Graphics and Media Control Panel are partially shown in your native while  langauge  used for non-Unicode programs is your native lanague, however, they are completely shown in English while language for non-Unicode programs is English?.  IF so I would be saying that if I have wanted the  contents of documents written in my language Arabic to be shown properly, then then I must let the language for non-Unicode programs be Arabic. Is this happens with you as well?
    Also, if I need extracting all kinds of comprised files(drivers and software) downloaded from HP website, then language for non-Unicode programs must be in my Arabic lanague English and whatever location and format are. Is this happened with you as well?
    I would highly appreciate any clarification from you.
    This question was solved.
    View Solution.

    Hi cooperator,
    I saw your post regarding the language questions and I will be happy to help. What are you are experiencing with the languages is normal. The base operating system is in English and while you can change the display language the core kernal of the operating system would be in English.
    The reason that the Intel Graphic and Media Control Panel is in English and the rest in Arabic is because the driver would have been designed in English and is hard coded as into the driver but the display language is set to Arabic. So when the language is set to English everything will be in English.
    The reason you having issues extracting drivers when you English set at the language is because the HP website will determine where in the world you and when you download the driver it will be the appropriate language for the country you are from. So when it extracts it will look for the proper extraction path using Arabic but everything is English. It work no problem when you are on Arabic because the driver can read the path properly.
    Thank you,
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • What can i do to fix the following : You may need an additional audio decoder to play the soundtrack of this file. This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format i

    You may need an additional audio decoder to play the soundtrack of this file.
    This file contains a track in the Dolby AC3 Audio (code "8192") format. You may need to install a DirectShow decoder for this audio format in order to hear the soundtrack of this file.

    Luckily, there are DOZENS of video/media players and extensions avaliable for the Mac. Many of them are FREE, some of the better FREE ones are...
    PERIAN (quicktime extension)
    http://perian.org/
    QUICKTIME 7.6.6
    http://support.apple.com/kb/DL923
    VLC media player
    http://www.videolan.org/vlc/
    NICEPLAYER
    https://code.google.com/p/niceplayer/
    And if none of those work, there is a possibility that those video files may be corrupted.

  • RTP for Cisco IP Phones

    Hello friends!
    I'm developing an application for Cisco IP Phones that whorks with JMF. Since there are some programmers in this forum that knows Cisco IP phones, I send my question here.
    I was send succefully the XML message to phone (CiscoIPPhoneExecute), I was customized the paket's size to 160, etc. All works aparently. But audio stream does not reach to phone. Can anyone tell me why??
    Below I write my source code.
    Tanks!
    Max.
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import org.apache.xerces.impl.dv.util.Base64;
    import javax.media.*;
    import javax.media.control.*;
    import javax.media.format.*;
    import javax.media.protocol.*;
    * @author  Administrator
    public class MMHTTPPost {
        /** Creates a new instance of MMHTTPPost */
        public MMHTTPPost() {
            try {
                 * Envia el CiscoIPPhoneExecute al telefono
                String xml = new String("<CiscoIPPhoneExecute>"+
                                            "<ExecuteItem Priority=\"0\" URL=\"RTPRx:Stop\"/>"+"<ExecuteItem Priority=\"1\" URL=\"RTPRx:10.1.15.10:23480\"/>"+
                                            "</CiscoIPPhoneExecute>");
                String  userId      = "Max",
                        password    = "12345",           
                        basicAuth   = "Basic ",           
                        params      = "XML=" + URLEncoder.encode(xml, "ISO-8859-1" );    
                byte[]  bytes       = params.getBytes();
                // Create a URL pointing to the servlet or CGI script and open an HttpURLConnection on that URL       
                URL url = new URL( "http://10.1.15.56/CGI/Execute" );       
                HttpURLConnection con = ( HttpURLConnection ) url.openConnection();       
                // Indicate that you will be doing input and output, that the method is POST, and that the content       
                // length is the length of the byte array       
                con.setDoOutput( true );       
                con.setDoInput( true );       
                con.setRequestMethod( "POST" );       
                con.setRequestProperty( "Content-length", String.valueOf( bytes.length ) );
                // Create the Basic Auth Header       
                Base64 encoder = new Base64();
                basicAuth = (String)encoder.encode( ((String)(userId + ":" + password)).getBytes() );
                System.out.println("Codificado: " + basicAuth);
                con.setRequestProperty( "Authorization", "Basic " + basicAuth.trim() );
                // Write the parameters to the URL output stream       
                OutputStream output = con.getOutputStream();       
                output.write( bytes );       
                output.flush();       
                // Read the response       
                BufferedReader input = new BufferedReader( new InputStreamReader( con.getInputStream() ) );       
                while ( true ) {           
                    String line = input.readLine();           
                    if ( line == null )                
                        break;           
                    System.out.println( line );       
                input.close();       
                output.close();       
                con.disconnect();
                 * Aca empieza la parte RTP/JMF
                // Create a Processor for the selected file. Exit if the       
                // Processor cannot be created.       
                Processor processor = null;       
                try {           
                    String mediaUrl = "file:\\C:\\pruebas execute\\spacemusic.au";
                    processor = Manager.createProcessor( new MediaLocator(mediaUrl));       
                } catch (IOException e){           
                    System.out.println("Exception occured (1a): " + e);       
                } catch (NoProcessorException e){           
                    System.out.println("Exception occured (1b): " + e);       
                // configure the processor       
                //processor.configure();       
                //Espera el estado Processor.Configured
                boolean result = waitForState(processor, Processor.Configured);
                if (result == false)
                    System.out.println("No se pudo configurar el procesador...");
                // Block until the Processor has been configured       
                TrackControl track[] = processor.getTrackControls();       
                boolean encodingOk = false;       
                // Go through the tracks and try to program one of them to       
                // output ulaw data.       
                for (int i = 0; i < track.length; i++)        
                    if (!encodingOk && track[i] instanceof FormatControl)            
                        if (((FormatControl)track).setFormat( new AudioFormat(AudioFormat.ULAW_RTP,8000,8,1)) == null)
    track[i].setEnabled(false);
    else
    encodingOk = true;
    else
    // we could not set this track to ulaw, so disable it
    track[i].setEnabled(false);
    *Aqu? se cambia el tama?o del paquete a 160
    if (((TrackControl)track[i]).isEnabled()) {
    try {
    System.out.println("Cambiando la lista de codecs...");
    Codec codec[] = new Codec[3];
    codec[0] = new com.ibm.media.codec.audio.rc.RCModule();
    codec[1] = new com.ibm.media.codec.audio.ulaw.JavaEncoder();
    //codec[2] = new com.ibm.media.codec.audio.ulaw.Packetizer();
    codec[2] = new com.sun.media.codec.audio.ulaw.Packetizer();
    ((com.sun.media.codec.audio.ulaw.Packetizer)codec[2]).setPacketSize(160);
    ((TrackControl)track[i]).setCodecChain(codec);
    catch (Exception e){
    System.out.println("Error al cambiar el tamano del paquete: " + e);
    System.out.println("Encoding ok?: " + encodingOk );
    // At this point, we have determined where we can send out
    // ulaw data or not.
    // realize the processor
    if (encodingOk)
    //processor.realize();
    // block until realized.
    // get the output datasource of the processor and exit
    // if we fail
    //Espera el estado Processor.Realized
    result = waitForState(processor, Processor.Realized);
    if (result == false)
    System.out.println("No se pudo realizar el procesador...");
    DataSource ds = null;
    try
    ds = processor.getDataOutput();
    catch (NotRealizedError e)
    System.out.println("Exception occured(2): "+e);
    // hand this datasource to manager for creating an RTP
    // datasink.
    // our RTP datasink will multicast the audio
    try
    String mediaUrl= "rtp://10.1.15.56:23480/audio/1";
    MediaLocator m = new MediaLocator(mediaUrl);
    DataSink d = Manager.createDataSink(ds, m);
    d.open();
    d.start();
    catch (Exception e)
    System.out.println("Exception occured(3): "+e);
    catch ( MalformedURLException murlex )
    System.out.println( murlex );
    catch ( IOException ioex )
    System.out.println( ioex );
    * @param args the command line arguments
    public static void main(String[] args) {
    new MMHTTPPost();
    * Convenience methods to handle processor's state changes.
    private Integer stateLock = new Integer(0);
    private boolean failed = false;
    Integer getStateLock() {
         return stateLock;
    void setFailed() {
         failed = true;
    private synchronized boolean waitForState(Processor p, int state) {
         p.addControllerListener(new StateListener());
         failed = false;
         // Call the required method on the processor
         if (state == Processor.Configured) {
         p.configure();
         } else if (state == Processor.Realized) {
         p.realize();
         // Wait until we get an event that confirms the
         // success of the method, or a failure event.
         // See StateListener inner class
         while (p.getState() < state && !failed) {
         synchronized (getStateLock()) {
              try {
              getStateLock().wait();
              } catch (InterruptedException ie) {
              return false;
         if (failed)
         return false;
         else
         return true;
    * Inner Classes
    class StateListener implements ControllerListener {
         public void controllerUpdate(ControllerEvent ce) {
         // If there was an error during configure or
         // realize, the processor will be closed
         if (ce instanceof ControllerClosedEvent)
              setFailed();
         // All controller events, send a notification
         // to the waiting thread in waitForState method.
         if (ce instanceof ControllerEvent) {
              synchronized (getStateLock()) {
              getStateLock().notifyAll();

    ignore my last post.. I didn't properly read the source code.
    Anyway, I got g.711 streaming to work. I started out using the AVTransmit2 sample, but set the audio output format to what is used in the source code posted here. I've also applied the same codec chain described above, and that was it.
    I could never get streaming to work using the first RTP streaming method described in the JMF Programmers guide (and this is the method used in the source posted above), but using the RTPManager, things work just fine.

  • Are there any recovery tools for optical media?

    I've had a couple of DVD's  turned in to coasters recently and I was hoping that Linux could come to my rescue with some awesome 'raw-read' / recovery tools for optical media?
    I burnt the discs in Windows 7 using InfraRecorder on a brand new Plextor drive (a 'PX-891SA') and these are my first attempts to burn discs with it so I'm a bit worried it could be a hardware fault!
    I started off trying to back up some files to clear some space on my hard-drive, burning them to a dual-layer dvd, but the software kept failing to even start the burn process -- that was until I realised that I needed to run the program "as Administrator" (in Windows). It did then manage to burn the disc (I was using "Session-at-Once" mode) however when it came to the end of the burn process / the start of the 'verify data' phase it threw an error saying the write process had failed! Windows couldn't access the disc / data and (I think) still thought the disk was empty. So I restarted the burning application and used a function to just 'close' the whole disc. This seemed to work because Windows was then able to recognise the disc and read the data, although accessing the disc was slow and sounded 'stutter' ish.
    I then tried to write a single layer dvd to finish off the last couple of gig I had to back up, but again the software completed the burn phase only to report a 'fail' error right at the end (I'm assuming) before finalising the disc. Although this time I'd tried to create a multi-session disc by using the '2XXA' (or something) 'Multi-Session' iso9660 format. The result was that Windows couldn't read the disc and still thought it was empty, even after trying a forced 'close disc' operation! -- Linux however could read the disc and see that the data had in fact been burnt to the disc (although I've not yet tried copying it in Linux!).
    Finally I needed to burn a load of archives to a couple of discs (totaling ~9GiB) -- starting with a dual-layer dvd first everything seemed to be working fine, the burn process started okay and the write buffer was full etc., until at what I assume was the layer change-over it all came to a grinding halt and threw another 'write operation failed' error, only this time I can't even mount the disk in Linux....see 'dmesg | tail' output below:
    [ 5758.353005] ISO 9660 Extensions: Microsoft Joliet Level 3
    [ 5758.353015] ISOFS: Interleaved files not (yet) supported.
    [ 5758.353016] ISOFS: File unit size != 0 for ISO file (1472).
    [ 5758.353019] ISOFS: changing to secondary root
    [ 5758.353035] ISOFS: Interleaved files not (yet) supported.
    [ 5758.353036] ISOFS: File unit size != 0 for ISO file (1536).
    [ 5758.353037] isofs_fill_super: root inode is not a directory. Corrupted media?
    Does anyone have any thought or suggestions that might help?
    - Is it likely to be a hardware fault? (I bought a Plextor because I thought they were one of the best!)
    Maybe even if I could just close the session all would not be lost?
    -- Thanks in advance --
    >>>> UPDATE >>>>
    I tried to use ddrescue....it was fine until it got to the end of the disk and then it sounded like the drive was chewing on a bag of pork scratchings
    $ sudo ddrescue -v /dev/sr0 /mnt/odd/ddr.file ~/ddr.log
    GNU ddrescue 1.16
    About to copy 4029 MBytes from /dev/sr0 to /mnt/odd/ddr.file
    Starting positions: infile = 0 B, outfile = 0 B
    Copy block size: 128 sectors Initial skip size: 128 sectors
    Sector size: 512 Bytes
    Press Ctrl-C to interrupt
    rescued: 4028 MB, errsize: 983 kB, current rate: 0 B/s
    ipos: 4028 MB, errors: 1, average rate: 3310 kB/s
    opos: 4028 MB, time since last successful read: 10.8 m
    Splitting failed blocks...
    Interrupted by user
    ...it was taking forever and getting nowhere so I just pressed 'ctrl+c'.....here's the log file:
    # Rescue Logfile. Created by GNU ddrescue version 1.16
    # Command line: ddrescue -v /dev/sr0 /mnt/odd/ddr.file /home/shodan/ddr.log
    # current_pos current_status
    0xF0213000 /
    # pos size status
    0x00000000 0xF0208000 +
    0xF0208000 0x0000B000 -
    0xF0213000 0x0000D000 /
    0xF0220000 0x00000400 -
    0xF0220400 0x0001FE00 /
    0xF0240200 0x00000400 -
    0xF0240600 0x0003FE00 /
    0xF0280400 0x00000400 -
    0xF0280800 0x00077600 /
    0xF02F7E00 0x00000200 -
    When I tried to mount the output file using $ sudo mount -ro loop /mnt/odd/ddr.file /mnt/vodd I got the same error as with the actual disc (natch)...
    mount: wrong fs type, bad option, bad superblock on /dev/loop0,
    missing codepage or helper program, or other error
    In some cases useful info is found in syslog - try
    dmesg | tail or so
    Last edited by wwgfd (2012-12-14 13:18:41)

    @chris_l -- yeah I was worried that might be the case, still I'm not sure if that explains why it keeps failing the burn process part way through?
    I've tried this and that in Linux but without much luck. I'm still quite a noob with a lot of Linux things and this is the first time I'm trying anything to do with optical disks/drives etc. so I'm learning as I go...
    The disk that failed in Windows but was 'readable' in Linux did just pass a run through ddrescue -- i.e. it created an output file okay and did not report any errors in the process.
    However when I mounted the resulting image and tried to copy the files across the first folder reported an "input/ouput error" (just using gui copy+paste in Thunar file manager)
    ...the other folders did copy okay though!
    It seems as though it's the lead-in / lead-out and disc finalizing process that are the main fail points with the burn operation. I don't know if InfraRecorder is any good or likely to be the problem? Anyway the drive cam with Nero (inc. Linux version) so might give either or both of these a go too, if they don't work either then at least I wont be short of something to rest a mug o' tea on
    @ chris_l (again) -- the Plextor drives do have a "Vari-Rec" feature which allows a user to 'tweak' the laser power / output level so I might try this too.
    @alphaniner -- thanks I've not seen this package before, I'm guessing it's a bit like cdparanoia but for dvds?!
    Thanks for the help!
    (pre-post) UPDATE >>> I've just mounted my Windows partition  in Linux so I'll have a crack at burning the files using cdrtools before I resort to throwing the dvd drive out of the window and chasing it around the yard with a lump hammer

  • Service desk for non-sap (please - any inputs are welcome)

    hi all,,
    I know how to setup service desk for SAP use. Can some one provide me some tips on using solution manager - service desk for non-sap as well? eg: the company wants to use service desk for normal activities as well, as laptop not working, server down, other system issues etc.
    The questions I have are -
    1) Any specific structure to be created for the non-sap? The way we use in SAP specific environment is to use "SAP Components" while creating tickets. How can we create tickets for non-sap components? What will be the "responsibility" selection?
    2) How about the Ibase? For SAP, the ibase already have the data from SMSY. How can I get data for non-sap systems? Anything is SAP to keep the Asset management data (like entries of laptops, servers etc)
    Thanks for all the suggestions !!
    JZKALH

    Hi
    You need to go for service desk XT which is the extension of service desk to manage non sap or IT incidents
    Check below link
    https://websmp110.sap-ag.de/_solutionmanager
    Heterogeous system environments are a challenge for IT-service management in any company. The associated complex structures and varying forms of media often make it difficult to realize efficient service processes. With SAP Solution Manager Service Desk - Extended Usage (Service Desk XT), SAP offers a centralized support tool as a single point of access - for service requests and problem tickets related to SAP and non-SAP software.
    The Single Point of Access for Support
    SAP Solution Manager, which is a standard part of every SAP solution and therefore can be used by all SAP customers, supports users in SAP relevant service requests. The standard function of the service desk is restricted to service requests.
    With Service Desk XT, SAP provides an extended support tool, which can be also used for general service requests, for example regarding IT or telecommunication equipment.
    This priced add-on does not require additional interfaces to third-party products - the same service requests are used for SAP and non-SAP applications. This simplification is a benefit for your employees.
    This solution has been created with IT service providers in mind, especially those which work within a company and currently do not have an IT-service desk application in place or would like to replace an existing system.
    Also,
    check this link
    pg(46)
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000147532009E
    Pg 52 onwards
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000059742008E
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000548652007E
    Hope it helps
    Regards
    Prakhar

  • I have been a customer of ITunes and Apple since 2007. Movies, Apps, Music and books  Itunes has been my only source for my media needs.

    I have been a customer of ITunes and Apple since 2007. Movies, Apps, Music and books  Itunes has been my only source for my media needs. 397 Apps 759 Songs over 100 Videos 13 books 3 IPhones 2 IPods So here is my problem with ITunes I purchased an App and it is identical to one I have already brought. The App description did not say anything that it would not do what I was trying to do. I wrote sup[port and asked if they could issue a credit. Mari at support wrote back and said he checked with his supervisor and they could not issue a credit.  I told them what a good loyal customer I have been to Itunes and Apple and they still refused.  Granted the App did not cost a lot of money (3.99) but it’s the principle. With customers having options to shop anywhere I would think a business would do whatever it takes to retain the loyal customers they do have Occasionally I rush to buy an App without fully understanding if it meets my needs. According to ITunes support that has occurred nine times. Here is the last reply that I received Roger, I know how frustrating it can be when things don't work the way they should be  and I do apologize for the inconvenience that this may have caused you. I am sorry but we could not be able to grant your request as we have made 9 exceptions on you. For more information on Apple's requirements for using the iTunes Store, please refer to the iTunes Store Terms and Conditions:http://www.apple.com/legal/itunes/us/terms.html Again, I am hoping for your kind understanding regarding this matter. Sincerely Mari iTunes Store/Mac App Store Advisor

    "The App description did not say anything that it would not do what I was trying to do."
    You've already had 9 refunds? You understand that apps are sold on a non-return policy, presumably. You bought an app that didn't claim to do something that you wanted from it, and now that you've found that it doesn't, you want your money back.
    Perhaps you've failed to explain your point properly but I can't see why you expect any sympathy from users here, not that it would make any difference. Only the store staff can issue refunds if they think appropriate. Chalk it up to experience. You could even contact the developer in advance of a purchase if you want to be certain an app does what you want. Then if it really fails to live up to the promise you would at least have a better argument for a refund.
    tt2

  • I miss spoke quick time works but does not play certain videos and directs me  to media formats supported by quick time,but i can't access them.

      I am directed  The document “Video.MOV” could not be opened. The movie's file format isn't recognized
    QuickTime Movie (.mov)
    MPEG-4 (.mp4, .m4v)
    MPEG-2 (OS X Lion or later)
    MPEG-1
    3GPP
    3GPP2
    AVCHD (OS X Mountain Lion only)
    AVI
    DV
    MPEG-2 (OS X Lion or later)
    MPEG-4 (Part 2)
    H.264
    H.263
    H.261
    Apple ProRes
    Apple Pixlet
    Animation
    Cinepak
    Component Video
    DV
    DVC Pro 50
    Graphics
    Motion JPEG
    Photo JPEG
    Sorenson Video 2
    Sorenson Video 3
    Am so confused the above our media formats supported
    I have MacBook Pro with operating system X Mountain lion 10.8.2 is there another app that I can use? Thank you, Mary

    It could be you're not adding the files the right way. In more seldom cases:
    [Topic : MP3 Scan+Repair - an ID3 tag evaluator for the Mac|http://discussions.apple.com/thread.jspa?threadID=2020936]
    MP3 Scan+Repair (including sources): [http://triq.net/mac/mp3-validator-mac-os-x]

Maybe you are looking for

  • Text not appearing in footer?

    On my site www.helenmarino.com the footer at the end of all the pages says: This site and all contents are ©2012 Helen Marino Helen Marino - Property Finder | London UK For some reason though (even though it is in the HTML) it is not appearing for my

  • Photo transfer to my ipad

    I can´t get my mac photos into my new ipad2 I checked all the tutorials about that but no solution....... It tells me that a configuration problem of them cant make them go into the ipad, but the thing it´s that 2 of them get transfered..... No clue

  • TS2446 My Apple ID has been Disabled - i reset my password, but still disabled

    Apple ID has been Disabled, I reset my password, but still disabled.

  • Earser on traced image

    Hi, I got an Illustrator Trial to see how well it works for inking scanned drawings. I watched a few online lessons and already stumbled into a problem that I can't seem to solve, so any help would be appreciated. I'm using a non-english version so I

  • Can't watch my music videos on my iPod...help!!!

    I just bought some music videos to put on my video iPod, but when i go to play them on the iPod, it won't play the video, just the music with a picture like a regular song. HELP!!!!!!!! -Karen