Conversion of various files formats to 3gp

Hi,
I am working on acode whic has a requirement to convert files from various formats (mov,mp4,avi,rm,flv) to 3gp and wma, wav, ra to mp3.
1)Will JMF support all these conversion basically want to know about the 3gp support by the JMF framework.
2)The code is supposed to be on the server side.Which would be a better in performance 1)insatlling native convertors like FFMPEG and calling command line calls from Java cod or 2)Using JMF
Thank in Advance
Regards,
Vineeth

See this link:
http://www.jsresources.org/examples/audio_conversion.html

Similar Messages

  • Conversion of various file formats to PDF

    I need to convert files of different file formats like .doc, .pst, .xlx, .txt, gif, jpegs etc. to PDF.
    There are open source JAVA API available to do this eg. iText, and Faceless API. But they do not convert the file more accurately. How is it possible to do this using Java? Is there any other API available to do the same? How is it possible through Adobe Distiller APIs ?
    Some solution which I have found are converting those files first to PostScript and then using PDFWriter converting it to PDF. How good it is?? Can anybody give some idea on it??
    Any Suggestion / solutions will be welcome.
    rgds
    Shailender Rawat

    Hi ,
    I am trying to Print RTF to PDF file and maybe there is a way by first converting RTF to PS and then printing PS using acrobat distiller ... but how do I specify the destination for the PDF file .
    I am trying to set the destination by this code -
    PrintRequestAttributeSet aset =
                   new HashPrintRequestAttributeSet();
                        aset.add(new Copies(1));
              try{
                   aset.add(new Destination(new URI("file:///foo/bar")));
              } catch (java.net.URISyntaxException uri) {
                   System.out.println( " URI exception "+ uri ) ;
    Is this how output is sent to PDF file ???
    Flavor is - DocFlavor flavor = DocFlavor.INPUT_STREAM.POSTSCRIPT;
    /* locate a print service that can handle it */
              PrintService[] pservices =
                   //PrintServiceLookup.lookupPrintServices(flavor, aset);
                        PrintServiceLookup.lookupPrintServices(flavor, aset);
              System.out.println( "what is the service found " +pservices.length );
    and I get the printer - Acrobat distiller and I print using this code -
    if (pservices.length > 0) {
                   System.out.println("selected printer " + pservices[0].getName());
                   /* create a print job for the chosen service */
                   System.out.println(" services found ");
                   DocPrintJob pj = pservices[0].createPrintJob();
                   try {
                        * Create a Doc object to hold the print data.
                        * Since the data is postscript located in a disk file,
                        * an input stream needs to be obtained
                        * BasicDoc is a useful implementation that will if requested
                        * close the stream when printing is completed.
                        System.out.println(" file found") ;
                        FileInputStream fis = new FileInputStream("NavneetTest.ps");
                        System.out.println(" Trying to print doc ") ;
                        Doc doc = new SimpleDoc(fis, flavor, null);
                        /* print the doc as specified */
                        pj.print(doc, aset);
                   } catch (IOException ie) {
                        System.err.println( " Exception is " + ie);
                   } catch (Exception e) {
                        System.err.println(" Exception is " + e);
    and I get error in a windows dialog described below -
    error writing to C:\WINNT\Profiles\All Users\Desktop\*.pdf for Document My Document :-The filename, directory, or volume label syntax is incorrect ..
    Do u wish to retry or cancel the job?
    Retry/Cancel
    .. don't know how to set the uri value in the destination object to point to local hard disk folder if that is the way to print PDF . Can you please share the solution u have found ? I am really stuck !!!
    Regards,
    Navneet

  • Conversion of EDI File format to IDOC format

    We have a file in u201C.ediu201D format. We could not process this file with RSEINB00 ( IDoc inbound processing using file ) program.
    1-) Could we directly do our process with this u201C.ediu201D file ? Or do we have to convert this u201C.ediu201D file to IDOC format?

    If it's EDI format file (Ex: EDIFACT, X12 ...etc), we should convert the file to IDOc file by using mapping in subsystems like Gentran or TLe..etc. Conversion from edi format to idoc format will not be done in SAP.
    Reddy

  • File Adapter content conversion delimited/possitional file format.

    Hi,
    I have the following file to JDBC scenario, but having some issues with the file content conversion due to the file structure.
    Example:
    =======
    000038A020301
    000038A020101=AA1=AC1=AD=AG1=AH1=AI1=AK3049572=BN01 =BOMETLSS_ML_STD_30A7
    000038A020200=AA96=AB001=AC17000.000=AD1200=AF13021537=AE=AG8005992427=AH10
    OLRENDZZZZ
    Example 2:
    ========
    000040A020301
    000040A020101=AA1=AC1=AD=AG1=AH1=AI1=AK3049570=BN01 =BOMETLSS_ML_STD_30A7
    000040A020200=AA96=AB001=AC17000.000=AD1200=AF13021537=AE=AG8005992425=AH10
    000041A020301
    000041A020101=AA1=AC1=AD=AG1=AH1=AI1=AK3049571=BN01 =BOMETLSS_ML_STD_30A7
    000041A020200=AA96=AB001=AC17000.000=AD1200=AF13021537=AE=AG8005992426=AH10
    000042A020301
    000042A020101=AA1=AC1=AD=AG1=AH1=AI1=AK3049572=BN01 =BOMETLSS_ML_STD_30A7
    000042A020200=AA96=AB001=AC17000.000=AD1200=AF13021537=AE=AG8005992427=AH10
    000043A020301
    000043A020104=AA1=AC1=AD200619=AG1=AH1=AI1=AK3049568=BN01
    000043A020200=AA73=AB001=AC3700.000=AD1300=AF13047285=AE200619=AG8005992423=AH10
    000043A020200=AA73=AB002=AC5500.000=AD1300=AF13047285=AE200619=AG8005992423=AH10
    000043A020200=AA73=AB003=AC1800.000=AD1300=AF13047285=AE200619=AG8005992423=AH10
    000043A020200=AA73=AB004=AC5000.000=AD1300=AF13047285=AE200619=AG8005992423=AH10
    000044A020301
    000044A020104=AA1=AC1=AD200619=AG1=AH1=AI1=AK3049569=BN01
    000044A020200=AA73=AB001=AC3700.000=AD1300=AF10008536=AE200619=AG8005992424=AH10
    000044A020200=AA73=AB002=AC5500.000=AD1300=AF10008536=AE200619=AG8005992424=AH10
    000044A020200=AA73=AB003=AC2500.000=AD1300=AF10008536=AE200619=AG8005992424=AH10
    000044A020200=AA73=AB004=AC5000.000=AD1300=AF10008536=AE200619=AG8005992424=AH10
    OLRENDZZZZ
    Example Explained:
    ==============
    Position 1-9 is a "Transactional number".
    Position 10-11 is "Record type".
    Position 12-13 is "Line Item count".
    Four record types exist:
    03 = Location header
    01 = Transactional Header
    02 = Line Item
    OLRENDZZZZ = EoF marker.
    The equal sign "=" is a field separator/delimiter.
    In each delimited field, after the first equal sign in the record, the first two characters represent a field qualifier/field name tag/identifier and there only the data begins until the following delimiter.
    Each record is ended in a "CLRF"/'nl'.
    The file is build up, but not locked and only completed until the EoF marker "OLRENDZZZZ" is inserted by the application on the last record of the file.
    My solution so far:
    =============
    Record Structure: row,*
    Record Sequence: Ascending
    row.fieldNames: field1,field2,field3,ect.......
    row.fieldSeparator: =
    row.endSeparator: 'nl'
    row.keyFieldInStructure: ignore
    ignoreRecordsetName: true
    This brings the file into the integation server as xml as follow:
    ============================================
    <?xml version="1.0" encoding="utf-8"?>
    <ns:SAPtoFuelFACS xmlns:ns="urn:engenoil-com:i_fuel_facs_sap">
         <row>
              <field1>000038A020301</field1>
         </row>
         <row>
              <field1>000038A020101</field1>
              <field2>AA1</field2>
              <field3>AC1</field3>
              <field4>AD</field4>
              <field5>AG1</field5>
              <field6>AH1</field6>
              <field7>AI1</field7>
              <field8>AK3049572</field8>
              <field9>BN01</field9>
              <field10>BOMETLSS_ML_STD_30A7</field10>
              <field11>BP0003049572</field11>
         </row>
         <row>
              <field1>000038A020200</field1>
              <field2>AA96</field2>
              <field3>AB001</field3>
              <field4>AC17000.000</field4>
              <field5>AD1200</field5>
              <field6>AF13021537</field6>
              <field7>AE</field7>
              <field8>AG8005992427</field8>
              <field9>AH10</field9>
         </row>
         <row>
              <field1>OLRENDZZZZ</field1>
         </row>
    </ns:SAPtoFuelFACS>
    So far, so good.
    The problem I am having is that I have to check for the EoF marker "OLRENDZZZZ" to be present before picking up the file, else the file is not completed.
    I have tried a script to rename files in msg pre-processing in the channel, but the problem is the file channel has to be triggered and the original file mask is necessary for this, but then this mask is a valid pickup file mask. So to me it seems the only way is to do this is during the content conversion process as the files not matching the file criteria, where a EoF "OLRENDZZZZ" definition is not present, will not be picked up and be ignored until it is present or totally independent with a batch job.
    If someone has a more elegant way to solve this problem with just using the file channel configuration where every thing is pretty much apparent, I would greatly appreciate it if you could assist.
    Regards
    Willie Hugo

    The problem I am having is that I have to check for the EoF marker "OLRENDZZZZ" to be present before picking up the file, else the file is not completed.
    I suggest a script.
    Say The files are dropped in FolderA. Have a script transfer a file to FolderB only if it finds the EoF marker in a file. Thus FolderB will be what XI will poll and that will always have the complete file.
    Hope this sounds good!!!

  • Saving to various file formats

    I am having trouble sending a cover letter and resume, both in Appleworks. The recipient of these files is unable to open them, and requests that I send them in PDF format, yet I cannot find any PDF option in the save as tab. I saved them as "word" document but that didn't work either. H

    You don't say which OS version is running on your iMac. If it's not a recent OS X version, you may not be able to print to PDF without some additional third-party software.

  • Conversion of .csv file format to .xls format using java api

    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls file with all propertirs running.
    Thanks

    umangjain87 wrote:
    Please help me with the code and the links to jars and libraries of an open source java api to convert the .csv file into .xls fileApache POI and jExcelApi are two libraries that can produce xls files.
    [A simple Google search|http://www.lmgtfy.com/?q=Java+Excel+library] could have told you as much.
    with all propertirs running.What does that mean.

  • File Formats Supported

    Two HP Pavilion laptops, a dv4 and a dv5, Windows 7 Professional, no changes or upgrades other than the normal Windows updates. On both HP laptops, the CD-ROM does not recognize various file formats such as JPEG, JPG, WAV, etc. The dv5 did recognize a CD-ROM with JPEG files yesterday, but it does not read the CD today. It does read new music CDs, but not previously recorded CD with MP3 or JPG formats.

    Its iPod. Not iPot.
    iPod supports the following formats.
    Audio Support: AAC (16 to 320 Kbps), Protected AAC (from iTunes Music Store), MP3 (16 to 320 Kbps), MP3 VBR, Audible (formats 2, 3 and 4), Apple Lossless, WAV, AIFF
    Photos Support: Syncs iPod-viewable photos in JPEG, BMP, GIF, TIFF, PSD (Mac only) and PNG formats
    Video Support: H.264 video: up to 768 Kbps, 320 x 240, 30 frames per sec., Baseline Profile up to Level 1.3 with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats
    MPEG-4 video: up to 2.5 mbps, 480 x 480, 30 frames per sec., Simple Profile with AAC-LC up to 160 Kbps, 48 Khz, stereo audio in .m4v, .mp4 and .mov file formats

  • Bank File and File Formats

    When sending ach file to bank after it gets placed on application server (what is application server transaction code) a direct interface or not? If not what is a direct interface?
    What is flat file and xml file. Please tell the difference with example??
    What are various file formats sap supports for importing ebs in sap? What information should be requested from bank?

    Hi Sheena,
    1. Outbound files - You can create a ACH file in any format you want. SAP support text file, IDOC.
    After you run your payment program - F110 - the last step is to create the payment medium. When you run this payment medium program it creates the file in a specific format as per your configuration. This file can be stored in your hard drive (C:) or in the SAP server based on the path given by you in the variant.
    You can use T-code FDTA to view the file.
    If it gets stored in C: you can just go to the directory and double click the file.
    If it is stored in SAP server you can use transaction AL11 to view the file.
    2. Inbound file  - The electronic bank statements come in various formats. The most common formats are BAI in US, Multicash in Germany, MT940 in Europe. Each format has been defined separately, you can go to Googe and search for details about these format.
    SAP has standard program which read these formats and post them to your General Ledger.
    If you have more questions, please post them and I would try to answer.

  • Will I-POD (Video, 60GB, Fifth Generation) support 3GP file format ?

    My ipod is Video ipod ( 60GB, Fifth Generation ). Will it support for 3GP file format?

    Nope.
    http://docs.info.apple.com/article.html?artnum=304784
    Of course, you might wish to try a conversion:
    http://docs.info.apple.com/article.html?artnum=302892

  • File format conversion of Target file using FTP adapter

    Hi All,
    I am using FTP adapter to create the file on the Target side. But file needs to below format : How do i conver the XML File fomat( Default generate by XI ) to be generat to below file format;
    000000000000154162,
    CWC1A,,,,
    CWC1B,,,,
    CWC2A,,,,
    CWC2B,,,,
    Please provide your suggestion;
    thanks;
    MK

    Hi Mohan,
       I have a collection of Blogs (links) which Specify the File content conversion parameters.
    File content conversion, I am Not sure as which Link will Match Your Requirement exactly...
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    Please see the below links for file content conversion..
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    File Content Conversion for Unequal Number of Columns
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    Content Conversion (Pattern/Random content in input file)
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    Regards,
    Sainath chutke

  • Error: Conversion of complete file content of 'filename here' to XML format

    "Error: Conversion of complete file content of 'filename here' to XML format failed"
    We process inbound files every hour, we now got this message we have never seen. But every hour, for three hours, one in many files that are processed get this error. But the file ends with success, and after spot checking the file looks like it made it into SAP.
    What is happening? Anybody know?
    Thank-You.

    hey
    did u see any adapter with red button?
    i m pretty sure there will some sender adapter with red button(meaning error)
    also whatever message failed,can u copy that payload from sxmb_moni and test the message mapping under test tab in IR
    thanx
    ahmad

  • SCOT error "File format conversion error"

    Dear All,
    When a PDF file is sent as a FAX, the SCOT throws the following error with message XS 812:
    No delivery to <fax_number>
    Message no. XS812
    Diagnosis
    The message could not be delivered to recipient <fax_number>. The node gave the following reason (in the language of the node):
    File format conversion error
    Can anybody suggest what could be the problem?
    Note that the normal PCL and RAW data are being sent to the same FAX number without any problem.
    Thanks
    Sagar

    Hello,
    You need to specify the correct formats:
    Check this link:
    http://help.sap.com/saphelp_nw70/helpdata/EN/b0/f8ef3aabdfb20de10000000a11402f/frameset.htm
    Regards,
    Siddhesh

  • SWF files directly to 3GP format

    Hi!!
    Is there anyway to convert flash swf file directly to 3GP
    video format using flash or should we use only 3rd party
    softwares...
    Kind Regards,
    Anthony.

    It seems you have to use 3rd party software, you can google
    one video phrase "swf to 3pg converter"

  • Conversion of DME file to GFF format

    Hi,
    We have a Requirement like , we need to convert DME file format to GFF file format. Is anyone worked on this.
    Any help would be very useful .
    Regards
    Vinid.

    Hi ,
    I hope you have already used DME control.
    could u pls guide me how to create files according to bank standards.
    Looking forward to ur reply
    asad

  • Conversion of internal table into excel file format &put it on app server

    Hi,
    My requirement is to convert the internal table into excel file format and I have to store it on application server so that administrator can send the file thr e-mail attachment.
    So, please let me know how to convert the records of internal table and store it on application server in Excel file format.
    TIA,
    Nitin

    Hi,
      Use FM GUI_DOWNLOAD to download the data from inernal table to excel sheet.
    Then Using tcode CG3Z u can transfer file to application server.
    *&      Form  sub_download
          text
    -->  p1        text
    <--  p2        text
    FORM sub_download.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
        BIN_FILESIZE                    =
          filename                        = p_path
         filetype                        = 'ASC'
        APPEND                          = ' '
         write_field_separator           = 'X'
        HEADER                          = '00'
        TRUNC_TRAILING_BLANKS           = ' '
        WRITE_LF                        = 'X'
        COL_SELECT                      = ' '
        COL_SELECT_MASK                 = ' '
        DAT_MODE                        = ' '
        CONFIRM_OVERWRITE               = ' '
        NO_AUTH_CHECK                   = ' '
        CODEPAGE                        = ' '
        IGNORE_CERR                     = ABAP_TRUE
        REPLACEMENT                     = '#'
        WRITE_BOM                       = ' '
        TRUNC_TRAILING_BLANKS_EOL       = 'X'
        WK1_N_FORMAT                    = ' '
        WK1_N_SIZE                      = ' '
        WK1_T_FORMAT                    = ' '
        WK1_T_SIZE                      = ' '
      IMPORTING
        FILELENGTH                      =
        TABLES
          data_tab                        = it_final
        FIELDNAMES                      =
      EXCEPTIONS
        FILE_WRITE_ERROR                = 1
        NO_BATCH                        = 2
        GUI_REFUSE_FILETRANSFER         = 3
        INVALID_TYPE                    = 4
        NO_AUTHORITY                    = 5
        UNKNOWN_ERROR                   = 6
        HEADER_NOT_ALLOWED              = 7
        SEPARATOR_NOT_ALLOWED           = 8
        FILESIZE_NOT_ALLOWED            = 9
        HEADER_TOO_LONG                 = 10
        DP_ERROR_CREATE                 = 11
        DP_ERROR_SEND                   = 12
        DP_ERROR_WRITE                  = 13
        UNKNOWN_DP_ERROR                = 14
        ACCESS_DENIED                   = 15
        DP_OUT_OF_MEMORY                = 16
        DISK_FULL                       = 17
        DP_TIMEOUT                      = 18
        FILE_NOT_FOUND                  = 19
        DATAPROVIDER_EXCEPTION          = 20
        CONTROL_FLUSH_ERROR             = 21
        OTHERS                          = 22
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " sub_download
    Otherwise use OPEN DATASET and TRANSFER statement to download data from internal table to direct application server
    Regards,
    Prashant

Maybe you are looking for

  • How can I rotate a shape around a centre point in Illustrator?

    Hi all, I'm trying to make a pattern in Illustrator and I need to repeat a shape around a centre point, a bit like placing petals around the stigma of a flower. I can do it in Photoshop by moving the centre point of the bounding box to where I want t

  • Control Strip in OS 9 won't start

    I recently bought a 867 TiBook because I needed a faster notebook which would also boot into OS 9 for kids games. When booted into 9, the control strip will not start. I've replaced both the control panel and extension but with no success. My next st

  • Embed SharePoint Calendar to External Web Page

    I would like to embed a SharePoint Calendar to an external public web page. This is very easy to do with google calendars and I have been struggling trying to find a solution in SharePoint.

  • Can I Retrieve Files From Time Capsule?

    I had a MacBook Pro that was fully backed up to a Time Capsule. The laptop was stolen last week. I have some files (photos I wanted to use for holiday cards) I wanted to retrieve while I save up some money to buy a new MacBook. I have two powerbooks

  • Griffin iMic and Edirol PCR-A30 conflict

    Garageband band gives me the following error and I must then force quit: Garageband detected a possible conflict between one or more third party midi or audio drivers Be sure to install the latest for all audio or midi equipment connected to your com