BLOB to gif or similar format conversion

How can I convert from a BLOB object to gif or jpg or, etc.?
Thanks in advance!!

please don't crosspost.

Similar Messages

  • RE: Oracle DATE data format conversion..

    <C.M> Motta's question about dates and oracle>
    Dealing with dates and Oracle is somewhat of a nuisance. Oracle is very
    particular about how date strings are formatted, and if you get it wrong,
    you get the (unhelpful) message that C.M. Motta showed us. However, if
    you pass a DateTimeData to Oracle, Forte' does the right formatting for you.
    If you do need to format the date prior to interacting with Oracle, use the
    following format:
    dd-mmm-yy <time component>
    You can change the default format, but it is not easy.
    If you customise Express generated code that interacts with an Oracle
    database, again, make sure that you pass a DateTimeData, and not the
    .TextValue.
    Good luck!
    Richard Kirk

    Date: Wed, 06 Nov 1996 08:18:37 -0500
    To: "C. M. Motta" <[email protected]>
    From: Jim Milbery <[email protected]>
    Subject: Re: Oracle DATE data format conversion..
    Cc: [email protected]
    Cheers:
    Most likely what is happening is that you are using the default date
    format of Oracle, and you are sending a four-character year. As follows:
    SQL> insert into jimbo values ('01-dec-1997')
    2 /
    insert into jimbo values ('01-dec-1997')
    ERROR at line 1:
    ORA-01830: date format picture ends before converting entire inputstring
    >
    Oracle defaults to a format of 'dd-MON-yy'
    You can either truncate the year, or manipulate the date to match the standard
    database as follows:
    insert into jimbo values (to_Date('01-jan-1997', 'DD-MON-YYYY'))
    \jimbo
    At 09:21 AM 11/6/96 -0200, you wrote:
    Forte Users,
    First, Id like to thank all those who answered my question on
    droplist & SQL. I got just what I was looking for: its up and runnunig
    now.
    I have another question: Im trying to insert a DATE into an Oracle
    database. The source date is:
    data : DateTimeData = new;
    data.SetCurrent();
    So, when I try to insert data.Value or data.textvalue into DB, I
    get the following exception:
    ORA-01830: date format picture ends before converting entire
    input string.
    Are there any suggestions?
    Thanks for your help,
    C.M. Motta
    ====================================================================
    Jim Milbery
    Milbery Consulting Group
    132 N. West St., Allentown, PA 18102
    O: 610 - 432 - 5350 F: 610 - 432 - 5380
    E-Mail : [email protected]
    ====================================================================

  • Advanced Format Conversion - PAL - NTSC question

    I need to convert from DV PAL (@ 25fps) to DV NTSC (@ 23.98fps).
    My first test conversion resulted in a DV file running at 29.97 fps.
    Also, I seem unable to modify the speed settings in order to re-time from PAL to NTSC, which should run approximately 4% longer.
    Can somebody guide me through how to achieve this?
    G5, dual 2.7   Mac OS X (10.4.9)   Final Cut Studio 2.0

    Marc:
    AFAIK standard DV NTSC is 23.97 fps, why do you need 23.98?
    The best free way I found is with Compressor Advanced format conversion, using the settings you'll find in this thread posted by Andynick:
    http://discussions.apple.com/thread.jspa?messageID=3055477&#3055477
    Export your timeline as Quicktime Movie, same settings (self contained if you have space) and use that in Compressor.
    Hope that helps !
      Alberto

  • Regarding Date Format Conversion

    Hi,
    In my project i am picking the date from the date picker which is a javascript program . Then i am displaying it on a jsp page .It is coming in mm/dd/yyyy format .I have to change it to dd/mm/yyyy format .
    I have the code for date formatting conversion .
    What my doubt is whether  the code should be written inside the jsp page or in the javascript .
    Thanks .

    Hi
    <%@page language="java" import="java.sql.*,java.util.*,java.text.*" %>
    <%SimpleDateFormat sdf= new SimpleDateFormat(dd/mm/yyyy );%>
    <% java.util.Date temp_date = sdf.parse(PassYourDateHere); %>
    use this with your jsp
    Regards
    Abhijith YS

  • FM for OTF to TIFF format conversion?

    Hi,
    Any function module for OTF to TIFF(image file ) format conversion or anything to do it.
    Thanks
    Vaibhav

    hi,
    please check this link.. this contain some function moule to convert OTF -> other formats .. Not sure of TIFF
    [http://help.sap.com/saphelp_45b/helpdata/EN/08/e043c4c18711d2a27b00a0c943858e/content.htm]
    safel

  • 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

  • I have proubleam with string to date conversion, i out put date fromat is 2012-04-30T23:48:55.727-07:00 . so please help me the format conversion

    i have proubleam with string to date conversion, i out put date fromat is 2012-04-30T23:48:55.727-07:00 . so please help me the format conversion.
    i wrote the method but it not workig
    My method is
    -(NSDate *)dateformstr:(NSString *)str
    NSString *date = [str stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
        NSDateFormatter *dateFormate = [[NSDateFormatter alloc] init];
      [dateFormate setDateFormat:@"yyyy-MM-dd'T'HH:mm:sssZZZZ"]
    // NSDate *formatterDate = [dateFormate  dateFromString:str];
        return formatterDate;
    but i did not the value and if i try othere formate i is working but my requiremet format is 2012-04-30T23:48:55.727-07:00.
    can any help it out in this senario.

    Sorry Butterbean, but I'm interested in the answer to your question myself.
    I've spent a few hours transfering my library from one computer to another and then find out that my ratings didn't transfer. Like you, I've spent many hours rating my 2000+ songs. I'm sure you have more, nevertheless, I want to find out how to get those ratings. They still show in my iTunes on my laptop but, when I go to the iTunes folder and display the details of at song, no rating is there. If you find out how to get them to display there in the iTunes folder, it seems that would be the key.
    Hope you get your answer soon.

  • Format Conversion : Transcoding

    Hi,
    I am working on an application for format conversion of files, be it audio or video files. I tried the code Transcode.java (attached below) given in JMF, but I could only succeed in converting .wav files to .mp3 files. I have till date been unable to convert any video files from one format to another. I might be missing out on certain assumptions as to which files can be converted to the required format or not. Kindly give some sample code if anyody has any and also any suggestions please so that I can fulfill the requirement.
    Also kindly suggest a possible algorithm for the problem.
    Thanks,
    Amit
    import java.awt.*;
    import java.util.Vector;
    import java.io.File;
    import javax.media.*;
    import javax.media.control.TrackControl;
    import javax.media.control.QualityControl;
    import javax.media.Format;
    import javax.media.format.*;
    import javax.media.datasink.*;
    import javax.media.protocol.*;
    import javax.media.protocol.DataSource;
    import java.io.IOException;
    import com.sun.media.format.WavAudioFormat;
    * A sample program to transcode an input source to an output location
    * with different data formats.
    public class Transcode implements ControllerListener, DataSinkListener {
          * Given a source media locator, destination media locator and
          * an array of formats, this method will transcode the source to
          * the dest into the specified formats.
         public boolean doIt(MediaLocator inML, MediaLocator outML, Format fmts[],
                   int start, int end) {
              Processor p;
              try {
                   System.err.println("- create processor for: " + inML);
                   p = Manager.createProcessor(inML);
              } catch (Exception e) {
                   System.err.println("Yikes!  Cannot create a processor from the given url: " + e);
                   return false;
              p.addControllerListener(this);
               *     Put the Processor into configured state.
              p.configure();
              if (!waitForState(p, p.Configured)) {
                   System.err.println("Failed to configure the processor.");
                   return false;
               *     Set the output content descriptor based on the media locator.
              setContentDescriptor(p, outML);
               *     Program the tracks to the given output formats.
              if (!setTrackFormats(p, fmts))
                   return false;
               * We are done with programming the processor.  Let's just
               * realize the it.
              p.realize();
              if (!waitForState(p, p.Realized)) {
                   System.err.println("Failed to realize the processor.");
                   return false;
               *  Set the JPEG quality to .5.
              setJPEGQuality(p, 0.5f);
               *  Now, we'll need to create a DataSink.
              DataSink dsink;
              if ((dsink = createDataSink(p, outML)) == null) {
                   System.err.println("Failed to create a DataSink for the given output MediaLocator: " + outML);
                   return false;
              dsink.addDataSinkListener(this);
              fileDone = false;
               *   Set the start time if there's one set.
              if (start > 0)
                   p.setMediaTime(new Time((double)start));
               *  Set the stop time if there's one set.
              if (end > 0)
                   p.setStopTime(new Time((double)end));
              System.err.println("start transcoding...");
               *   OK, we can now start the actual transcoding.
              try {
                   p.start();
                   dsink.start();
              } catch (IOException e) {
                   System.err.println("IO error during transcoding");
                   return false;
               *  Wait for EndOfStream event.
              waitForFileDone();
               * Cleanup.
              try {
                   dsink.close();
              } catch (Exception e) {}
              p.removeControllerListener(this);
              System.err.println("...done transcoding.");
              return true;
          * Set the content descriptor based on the given output MediaLocator.
         void setContentDescriptor(Processor p, MediaLocator outML) {
              ContentDescriptor cd;
               *  If the output file maps to a content type, we'll try to set it on the processor.
              if ((cd = fileExtToCD(outML.getRemainder())) != null) {
                   System.err.println("- set content descriptor to: " + cd);
                   if ((p.setContentDescriptor(cd)) == null) {
                         * The processor does not support the output content type.  But we can set the content type to RAW and
                         * see if any DataSink supports it.
                        p.setContentDescriptor(new ContentDescriptor(ContentDescriptor.RAW));
          * Set the target transcode format on the processor.
         boolean setTrackFormats(Processor p, Format fmts[]) {
              if (fmts.length == 0)
                   return true;
              TrackControl tcs[];
              if ((tcs = p.getTrackControls()) == null) {
                    *      The processor does not support any track control.
                   System.err.println("The Processor cannot transcode the tracks to the given formats");
                   return false;
              for (int i = 0; i < fmts.length; i++) {     
                   System.err.println("- set track format to: " + fmts);
                   if (!setEachTrackFormat(p, tcs, fmts[i])) {
                        System.err.println("Cannot transcode any track to: " + fmts[i]);
                        return false;
              return true;
         * We'll loop through the tracks and try to find a track
         * that can be converted to the given format.
         boolean setEachTrackFormat(Processor p, TrackControl tcs[], Format fmt) {
              Format supported[];
              Format f;
              for (int i = 0; i < tcs.length; i++) {
                   supported = tcs[i].getSupportedFormats();
                   if (supported == null)
                        continue;
                   for (int j = 0; j < supported.length; j++) {
                        if (fmt.matches(supported[j]) &&
                                  (f = fmt.intersects(supported[j])) != null &&
                                  tcs[i].setFormat(f) != null) {
                             * Success.
                             return true;
              return false;
         * Setting the encoding quality to the specified value on the JPEG encoder.
         * 0.5 is a good default.
         void setJPEGQuality(Player p, float val) {
              Control cs[] = p.getControls();
              QualityControl qc = null;
              VideoFormat jpegFmt = new VideoFormat(VideoFormat.JPEG);
              * Loop through the controls to find the Quality control for the JPEG encoder.
              for (int i = 0; i < cs.length; i++) {
                   if (cs[i] instanceof QualityControl &&
                             cs[i] instanceof Owned) {
                        Object owner = ((Owned)cs[i]).getOwner();
                        * Check to see if the owner is a Codec. Then check for the output format.     
                        if (owner instanceof Codec) {
                             Format fmts[] = ((Codec)owner).getSupportedOutputFormats(null);
                             for (int j = 0; j < fmts.length; j++) {
                                  if (fmts[j].matches(jpegFmt)) {
                                       qc = (QualityControl)cs[i];
                                       qc.setQuality(val);
                                       System.err.println("- Set quality to " +
                                                 val + " on " + qc);
                                       break;
                        if (qc != null)
                             break;
         * Create the DataSink.
         DataSink createDataSink(Processor p, MediaLocator outML) {
              DataSource ds;
              if ((ds = p.getDataOutput()) == null) {
                   System.err.println("Something is really wrong: the processor does not have an output DataSource");
                   return null;
              DataSink dsink;
              try {
                   System.err.println("- create DataSink for: " + outML);
                   dsink = Manager.createDataSink(ds, outML);
                   dsink.open();
              } catch (Exception e) {
                   System.err.println("Cannot create the DataSink: " + e);
                   return null;
              return dsink;
         Object waitSync = new Object();
         boolean stateTransitionOK = true;
         * Block until the processor has transitioned to the given state.
         * Return false if the transition failed.
         boolean waitForState(Processor p, int state) {
              synchronized (waitSync) {
                   try {
                        while (p.getState() < state && stateTransitionOK)
                             waitSync.wait();
                   } catch (Exception e) {
                        System.out.println("Exception 1 : " + e.getMessage());
              return stateTransitionOK;
         * Controller Listener.
         public void controllerUpdate(ControllerEvent evt) {
              if (evt instanceof ConfigureCompleteEvent ||
                        evt instanceof RealizeCompleteEvent ||
                        evt instanceof PrefetchCompleteEvent) {
                   synchronized (waitSync) {
                        stateTransitionOK = true;
                        waitSync.notifyAll();
              } else if (evt instanceof ResourceUnavailableEvent) {
                   synchronized (waitSync) {
                        stateTransitionOK = false;
                        waitSync.notifyAll();
              } else if (evt instanceof EndOfMediaEvent) {
                   evt.getSourceController().close();
              } else if (evt instanceof MediaTimeSetEvent) {
                   System.err.println("- mediaTime set: " +
                             ((MediaTimeSetEvent)evt).getMediaTime().getSeconds());
              } else if (evt instanceof StopAtTimeEvent) {
                   System.err.println("- stop at time: " +
                             ((StopAtTimeEvent)evt).getMediaTime().getSeconds());
                   evt.getSourceController().close();
         Object waitFileSync = new Object();
         boolean fileDone = false;
         boolean fileSuccess = true;
         * Block until file writing is done.
         boolean waitForFileDone() {
              System.err.print(" ");
              synchronized (waitFileSync) {
                   try {
                        while (!fileDone) {
                             waitFileSync.wait(1000);
                             System.err.print(".");
                   } catch (Exception e) {
                        System.out.println("Exception 2 : " + e.getMessage());
              System.err.println("");
              return fileSuccess;
         * Event handler for the file writer.
         public void dataSinkUpdate(DataSinkEvent evt) {
              if (evt instanceof EndOfStreamEvent) {
                   synchronized (waitFileSync) {
                        fileDone = true;
                        waitFileSync.notifyAll();
              } else if (evt instanceof DataSinkErrorEvent) {
                   synchronized (waitFileSync) {
                        fileDone = true;
                        fileSuccess = false;
                        waitFileSync.notifyAll();
         * Convert a file name to a content type. The extension is parsed
         * to determine the content type.
         ContentDescriptor fileExtToCD(String name) {
              String ext;
              int p;
              * Extract the file extension.
              if ((p = name.lastIndexOf('.')) < 0)
                   return null;
              ext = (name.substring(p + 1)).toLowerCase();
              String type;
              * Use the MimeManager to get the mime type from the file extension.
              if ( ext.equals("mp3")) {
                   type = FileTypeDescriptor.MPEG_AUDIO;
              } else {
                   if ((type = com.sun.media.MimeManager.getMimeType(ext)) == null)
                        return null;
                   type = ContentDescriptor.mimeTypeToPackageName(type);
              return new FileTypeDescriptor(type);
         * Main program
         public static void main(String [] args) {
              String inputURL = null, outputURL = null;
              int mediaStart = -1, mediaEnd = -1;
              Vector audFmt = new Vector(), vidFmt = new Vector();
              if (args.length == 0)
                   prUsage();
              * Parse the arguments.
              int i = 0;
              while (i < args.length) {
                   if (args[i].equals("-v")) {
                        i++;
                        if (i >= args.length)
                             prUsage();
                        vidFmt.addElement(args[i]);
                   } else if (args[i].equals("-a")) {
                        i++;
                        if (i >= args.length)
                             prUsage();
                        audFmt.addElement(args[i]);
                   } else if (args[i].equals("-o")) {
                        i++;
                        if (i >= args.length)
                             prUsage();
                        outputURL = args[i];
                   } else if (args[i].equals("-s")) {
                        i++;
                        if (i >= args.length)
                             prUsage();
                        Integer integer = Integer.valueOf(args[i]);
                        if (integer != null)
                             mediaStart = integer.intValue();
                   } else if (args[i].equals("-e")) {
                        i++;
                        if (i >= args.length)
                             prUsage();
                        Integer integer = Integer.valueOf(args[i]);
                        if (integer != null)
                             mediaEnd = integer.intValue();
                   } else {
                        inputURL = args[i];
                   i++;
              if (inputURL == null) {
                   System.err.println("No input url is specified");
                   prUsage();
              if (outputURL == null) {
                   System.err.println("No output url is specified");
                   prUsage();
              int j = 0;
              Format fmts[] = new Format[audFmt.size() + vidFmt.size()];
              Format fmt;
              * Parse the audio format spec. into real AudioFormat's.
              for (i = 0; i < audFmt.size(); i++) {
                   if ((fmt = parseAudioFormat((String)audFmt.elementAt(i))) == null) {
                        System.err.println("Invalid audio format specification: " +
                                  (String)audFmt.elementAt(i));
                        prUsage();
                   fmts[j++] = fmt;
              * Parse the video format spec. into real VideoFormat's.
              for (i = 0; i < vidFmt.size(); i++) {
                   if ((fmt = parseVideoFormat((String)vidFmt.elementAt(i))) == null) {
                        System.err.println("Invalid video format specification: " +
                                  (String)vidFmt.elementAt(i));
                        prUsage();
                   fmts[j++] = fmt;
              * Generate the input and output media locators.
              MediaLocator iml, oml;
              if ((iml = createMediaLocator(inputURL)) == null) {
                   System.err.println("Cannot build media locator from: " + inputURL);
                   System.exit(0);
              if ((oml = createMediaLocator(outputURL)) == null) {
                   System.err.println("Cannot build media locator from: " + outputURL);
                   System.exit(0);
              * Transcode with the specified parameters.
              Transcode transcode = new Transcode();
              if (!transcode.doIt(iml, oml, fmts, mediaStart, mediaEnd)) {
                   System.err.println("Transcoding failed");
              System.exit(0);
         * Create a media locator from the given string.
         static MediaLocator createMediaLocator(String url) {
              MediaLocator ml;
              if (url.indexOf(":") > 0 && (ml = new MediaLocator(url)) != null)
                   return ml;
              if (url.startsWith(File.separator)) {
                   if ((ml = new MediaLocator("file:" + url)) != null)
                        return ml;
              } else {
                   String file = "file:" + System.getProperty("user.dir") + File.separator + url;
                   if ((ml = new MediaLocator(file)) != null)
                        return ml;
              return null;
         * Parse the audio format specifier and generate an AudioFormat.
         * A valid audio format specifier is of the form:
         * [encoding]:[rate]:[sizeInBits]:[channels]:big:signed
         static Format parseAudioFormat(String fmtStr) {
              int rate, bits, channels, endian, signed;
              String encodeStr = null, rateStr = null,
              bitsStr = null, channelsStr = null,
              endianStr = null, signedStr = null;
              * Parser the media locator to extract the requested format.
              if (fmtStr != null && fmtStr.length() > 0) {
                   while (fmtStr.length() > 1 && fmtStr.charAt(0) == ':')
                        fmtStr = fmtStr.substring(1);
                   * Now see if there's a encode rate specified.
                   int off = fmtStr.indexOf(':');
                   if (off == -1) {
                        if (!fmtStr.equals(""))
                             encodeStr = fmtStr;
                   } else {
                        encodeStr = fmtStr.substring(0, off);
                        fmtStr = fmtStr.substring(off + 1);
                        * Now see if there's a sample rate specified
                        off = fmtStr.indexOf(':');
                        if (off == -1) {
                             if (!fmtStr.equals(""))
                                  rateStr = fmtStr;
                        } else {
                             rateStr = fmtStr.substring(0, off);
                             fmtStr = fmtStr.substring(off + 1);
                             * Now see if there's a size specified
                             off = fmtStr.indexOf(':');
                             if (off == -1) {
                                  if (!fmtStr.equals(""))
                                       bitsStr = fmtStr;
                             } else {
                                  bitsStr = fmtStr.substring(0, off);
                                  fmtStr = fmtStr.substring(off + 1);
                                  * Now see if there's channels specified.
                                  off = fmtStr.indexOf(':');
                                  if (off == -1) {
                                       if (!fmtStr.equals(""))
                                            channelsStr = fmtStr;
                                  } else {
                                       channelsStr = fmtStr.substring(0, off);
                                       fmtStr = fmtStr.substring(off + 1);
                                       * Now see if there's endian specified.
                                       off = fmtStr.indexOf(':');
                                       if (off == -1) {
                                            if (!fmtStr.equals(""))
                                                 endianStr = fmtStr.substring(off + 1);
                                       } else {
                                            endianStr = fmtStr.substring(0, off);
                                            if (!fmtStr.equals(""))
                                                 signedStr = fmtStr.substring(off + 1);
              * Sample Rate
              rate = AudioFormat.NOT_SPECIFIED;
              if (rateStr != null) {
                   try {
                        Integer integer = Integer.valueOf(rateStr);
                        if (integer != null)
                             rate = integer.intValue();
                   } catch (Throwable t) {
                        System.out.println("Exception 3 ");
              * Sample Size
              bits = AudioFormat.NOT_SPECIFIED;
              if (bitsStr != null) {
                   try {
                        Integer integer = Integer.valueOf(bitsStr);
                        if (integer != null)
                             bits = integer.intValue();
                   } catch (Throwable t) {
                        System.out.println("Exception :4 " );
              * # of channels
              channels = AudioFormat.NOT_SPECIFIED;
              if (channelsStr != null) {
                   try {
                        Integer integer = Integer.valueOf(channelsStr);
                        if (integer != null)
                             channels = integer.intValue();
                   } catch (Throwable t) {
                        System.out.println("Exception : 5 ");
              * Endian
              endian = AudioFormat.NOT_SPECIFIED;
              if (endianStr != null) {
                   if (endianStr.equalsIgnoreCase("big"))
                        endian = AudioFormat.BIG_ENDIAN;
                   else if (endianStr.equalsIgnoreCase("little"))
                        endian = AudioFormat.LITTLE_ENDIAN;
              * Signed
              signed = AudioFormat.NOT_SPECIFIED;
              if (signedStr != null) {
                   if (signedStr.equalsIgnoreCase("signed"))
                        signed = AudioFormat.SIGNED;
                   else if (signedStr.equalsIgnoreCase("unsigned"))
                        signed = AudioFormat.UNSIGNED;
              return new AudioFormat(encodeStr, rate, bits, channels, endian, signed);
         * Parse the video format specifier and generate an VideoFormat.
         * A valid video format specifier is of the form:
         * [encoding]:[widthXheight]
         static Format parseVideoFormat(String fmtStr) {
              String encodeStr = null, sizeStr = null;
              * Parser the media locator to extract the requested format.
              if (fmtStr != null && fmtStr.length() > 0) {
                   while (fmtStr.length() > 1 && fmtStr.charAt(0) == ':')     
                        fmtStr = fmtStr.substring(1);
                   * Now see if there's a encode rate specified.
                   int off = fmtStr.indexOf(':');
                   if (off == -1) {
                        if (!fmtStr.equals(""))
                             encodeStr = fmtStr;
                   } else {
                        encodeStr = fmtStr.substring(0, off);
                        sizeStr = fmtStr.substring(off + 1);
              if (encodeStr == null || encodeStr.equals(""))
                   prUsage();
              if (sizeStr == null)
                   return new VideoFormat(encodeStr);
              int width = 320, height = 240;
              int off = sizeStr.indexOf('X');
              if (off == -1)
                   off = sizeStr.indexOf('x');
              if (off == -1) {
                   System.err.println("Video dimension is not correctly specified: " + sizeStr);
                   prUsage();
              } else {
                   String widthStr = sizeStr.substring(0, off);
                   String heightStr = sizeStr.substring(off + 1);
                   try {
                        Integer integer = Integer.valueOf(widthStr);
                        if (integer != null)
                             width = integer.intValue();
                        integer = Integer.valueOf(heightStr);
                        if (integer != null)
                             height = integer.intValue();
                   } catch (Throwable t) {
                        System.out.println("Exception : 6");
                        prUsage();
                   return new VideoFormat(encodeStr,
                             new Dimension(width, height),
                             VideoFormat.NOT_SPECIFIED, // maxDataLen
                             null,                // data class
                             VideoFormat.NOT_SPECIFIED // FrameRate
              return null;
         static void prUsage() {
              System.err.println("Usage: java Transcode -o <output> -a <audio format> -v <video format> -s <start time> -e <end time> <input>");
              System.err.println(" <output>: input URL or file name");
              System.err.println(" <input>: output URL or file name");
              System.err.println(" <audio format>: [encoding]:[rate]:[sizeInBits]:[channels]:big:signed");
              System.err.println(" <video format>: [encoding]:[widthXheight]");
              System.err.println(" <start time>: start time in seconds");
              System.err.println(" <end time>: end time in seconds");
              System.exit(0);

    Actually, it's XDcam Ex in a .mov wrapper.
    +An out-of-the-box GY-HM700 can record to inexpensive SDHC cards (class 6 or faster) as Quicktime .MOV using the XDCAM EX codec at selectable bitrates of 19, 25 or 35Mbps. The Mpeg-2 encoder is JVC’s, the XDCAM EX codec is licensed from Sony, and the Quicktime wrapper is licensed from Apple.+
    http://www.dvinfo.net/articles/jvcprohd/hm700firstlook.php

  • Failed. Format conversion is not supported

    Hello again, this error happened when I was playing around with Creative Audio Converter
    Failed. Format conversion is not supported
    This error happened when I was converting a song from WMA Pro, 128 Kbps, 44khz, 2 Channel 24-Bit to WMA Pro, 128 Kbps, 44khz, 5.1 Channel 24-Bit
    Why is this error happening? And if the conversion is not supported, then why did Creative bother to put this format on their sound cards? Or is this another of Microsoft's problem?
    Thank You.

    Thank you very much for answering my query about that, at this moment i am very interested on 5.1 channel conversion. I have written to other ppl on other forums about 5.1 channel conversion. One person told me that there are a lot of ways to do it, depending on what kind of 5.1 upmixing do you want to perform. What kinds of upmixing do you use for 5.1 channel conversion? What do you recomend?
    Thank You very much

  • Batch format conversion and export

    There are dozens of archived (unanswered) threads on that simple topic: How can you batch convert and export audio files from *Folder A* to *Folder B* in Soundtrack Pro (or Logic Pro etc.)?
    I read about saving actions "as Apple Script..", but this doesn't seem to apply to format conversions.

    first of all are you trying to do this with the Multitrack or the audio file project modes?
    Quite frankly I use other software to do this, not STP.

  • Audio Converter in MediaSource-Format Conversion is not support

    Just bought a ZEN Micro and I have a question about the Audio Converter in MediaSource. Everytime I try to convert a file I am getting this error: Format Conversion is Not supported.Fo example I just tried to convert a 92kbps MP3 to a 28kbps MP3. I also tried to convert the same file to a 28 WMA. Both times I got the Format Conversion is Not Supported Error. I have tried a few different files with no success.Please HELP!
    I emailed customer service and they told me to just reinstall MediaSource..Seems like thats the standard answer to everything...Any other suggestions would be helpful!
    Thanks

    Faztang,
    Reinstalling MediaSource can often resolve problems like this because they may be caused by a file that was not copied over correctly during install. This is usually a good first suggestion but it certainly isn't the only suggestion they will offer.
    What if you use the standalone version of the file converter, does it give you the same errors? Also if you haven't yet uninstalled and reinstalled you might try installing into a different directory as that can help with this also.
    Jeremy

  • How can i write the image in gif or jpeg format??

    how can i write the image in gif or jpeg format??

    thx someone else help me in another topic

  • Compressor vs Algolith for format conversion

    Has anyone done any testing in terms of frame rate and format conversion of Compressor vs the Algolith plugins for Shake?
    Cheers
    Al

    Hi,
    Compressor is REALLY slow if you use the highest quality settings.
    Algolith is always slow (check here):
    http://www.algolith.com/index.php?id=algotools_benchmarks
    Here is what they recommended to speed up the process:
    "To speed up the PAL to NTSC conversion, do it in 2 passes to avoid the content adaptive scaler which doesn’t do much when downscaling 720x576 to 720x480. My recommendation is MAADI double frame rate, AE scaling to 720x480 -> intermediate result. Intermediate result -> FC 50 frame per sec to 60 field per second."
    Their Noise Reduction Software is great. If that is any indication their format conversion is probably really good quality.
    If you try it let us know.
    Best Wishes!
    Mitch

  • Date format conversion in BEX query level

    Hi ,
          We had a date field in the numeric format like 735.020 in the cube level, but when we execute the query the values for thsi date field is changed in to date format like 31.05.2013.
    we are not having any conversion routines and the date fields are used directly in the query .

    Hi,
    Try the below class file or may be create a method in your controller. It will resolve your problem.
    package com.XXX.DateFormatForSAP;
    import java.util.Date;
    import java.text.SimpleDateFormat;
    public class FormatSAPDate {
    public static String changeDateFormat(Date sapDate) {
    String formattedDate = null;
    SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
    formattedDate = dateFormat.format(sapDate);
    return formattedDate;
    Try this code and let me know.
    Regards
    Mukesh

  • CS4 - Getting error when opening a .gif file - file-format module cannot parse the file.

    I am getting this popup error when trying to open a .gif file:
    "Could not complete your request because the file-format module cannot parse the file."
    This comes up every time I try to open a .gif file.  Even if I make a .gif file (like the image included in this post), save it and then try to open it again, I get the same error.  I tried reinstalling CS4, but the error is still there.  I have also done the reset on start-up and nothing.  Some have suggested that I open it in (Windows XP Pro) MS Paint and then save it again.  Did it and this does NOT work for me, either. 
    I know it's a Photoshop problem because I can see this file everywhere, except Photoshop.  It will open here, there and everywhere, except for Photoshop.
    I've searched the Adobe Commmunity and it looks like no one has come up with a fix for this.  I'm just currious after 5 years with this problem, has there been a solution?
    Scott

    One of the files that has the error is in my first post.
    Adobe Photoshop Version: 11.0
    Operating System: Windows XP 32-bit
    Version: 5.1 Service Pack 3
    System architecture: AMD CPU Family:15, Model:10, Stepping:0 with MMX, SSE Integer, SSE FP, SSE2
    Physical processor count: 6
    Processor speed: 3210 MHz
    Video Card: NVIDIA GeForce GTX 460
    Video Mode: 1280 x 1024 x 4294967296 colors
    Video Card Driver: nv4_disp.dll
    Driver Version: 6.14.13.0623
    Built-in memory: 3289 MB
    Free memory: 257 MB
    Memory available to Photoshop: 1677 MB
    Memory used by Photoshop: 69 %
    Image cache levels: 4
    Serial number: xxxxxxxxxxxxxxx
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS4\
    Temporary file path: C:\DOCUME~1\xxxxxx\LOCALS~1\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      F:\, 233.7G, 145.7G free
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS4\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       ACE.dll   ACE 2008/08/27-18:10:41     
       AdobeLinguistic.dll   Adobe Linguisitc Library   4.0.0  
       AdobeLM.dll   AdobeLM   3.0.11.10077    53.352460
       AdobeLM_libFNP.dll   FLEXnet Publisher (32 bit)   11.5.0.1 build 57427  
       AdobeOwl.dll   Adobe Owl
       AdobeOwlCanvas.dll   Adobe Owl Canvas  
       AdobePDFL.dll   PDFL 2008/08/20-20:15:08  
       AdobeUpdater.dll   Adobe Updater Library   
       AdobeXMP.dll   Adobe XMP Core 
       AdobeXMPFiles.dll   Adobe XMP Files   4.2.2   53.352624
       AdobeXMPScript.dll   Adobe XMP Script   4.2.2   53.352624
       adobe_caps.dll   Adobe CAPS   2,0,99,0   2.135373
       adobe_epic.dll   Adobe EPIC   3.0.1.10077    53.352460
       adobe_eula.dll   Adobe EPIC EULA   3.0.1.10077
       AFlamingo.dll   AFlamingo
       AGM.dll   AGM      
       ahclient.dll    AdobeHelp Dynamic Link Library   1, 3, 12, 0  
       aif_core.dll   AIF   1.0 
       aif_ogl.dll   AIF   1.0  
       amtlib.dll   AMTLib   2.0.1.10077    53.352460
       amtservices.dll   AMTServices   2.0.1.10077    53.352460
       ARE.dll   ARE 2008/08/27-18:10:41     
       asneu.dll    AsnEndUser Dynamic Link Library   1, 6, 0, 8  
       authplay.dll        
       AXE8SharedExpat.dll   AXE8SharedExpat
       AXEDOMCore.dll   AXEDOMCore
       Bib.dll   BIB      
       BIBUtils.dll   BIBUtils      
       cg.dll   NVIDIA Cg Runtime   2.0.0015  
       cgGL.dll   NVIDIA Cg Runtime   2.0.0015  
       CoolType.dll   CoolType 2008/08/27-18:10:41     
       data_flow.dll   AIF   1.0   53.352475
       ExtendScript.dll   ExtendScript      
       FileInfo.dll   Adobe XMP FileInfo   4.2.2  
       FNP_Act_Installer.dll   FLEXnet Publisher (32 bit)     
       icucnv36.dll 
       icudt36.dll     
       image_flow.dll   AIF   1.0   53.352475
       image_runtime.dll   AIF   1.0   53.352475
       JP2KLib.dll   JP2KLib 2008/06/11-20:19:53   53.100857   53.100857
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       MPS.dll   MPS 2008/07/07-10:33:04   53.350311   53.350311
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS4   CS4  
       Plugin.dll   Adobe Photoshop CS4   CS4  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   1.0.0.73  
       PSArt.dll   Adobe Photoshop CS4   CS4  
       PSViews.dll   Adobe Photoshop CS4   CS4  
       registration.dll   Registration   
       SCCore.dll   ScCore      
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System     
       WRServices.dll   WRServices
    Installed plug-ins:
       3D Studio 11.0
       ADM 3.11x01
       Accented Edges 11.0
       Angled Strokes 11.0
       Average 11.0
       BMP 11.0
       Bas Relief 11.0
       Camera Raw 5.0
       Chalk & Charcoal 11.0
       Charcoal 11.0
       Chrome 11.0
       Cineon 11.0   
       Clouds 11.0
       Collada 11.0
       Color Halftone 11.0
       Colored Pencil 11.0
       CompuServe GIF 11.0
       Conté Crayon 11.0
       Craquelure 11.0
       Crop and Straighten Photos 11.0
       Crop and Straighten Photos Filter 11.0
       Crosshatch 11.0
       Crystallize 11.0
       Cutout 11.0
       Dark Strokes 11.0
       De-Interlace 11.0
       Dicom 11.0
       Difference Clouds 11.0
       Diffuse Glow 11.0
       Displace 11.0
       Dry Brush 11.0
       Embed Watermark 3.0
       Entropy 11.0
       Extrude 11.0
       FXG 11.0
       FastCore Routines 11.0
       Fibers 11.0
       Film Grain 11.0
       Filmstrip 11.0
       Filter Gallery 11.0
       Fresco 11.0
       Glass 11.0
       Glowing Edges 11.0
       Google Earth 4 11.0
       Grain 11.0
       Graphic Pen 11.0
       HDRMergeUI 11.0
       Halftone Pattern 11.0
       IFF Format 11.0
       Ink Outlines 11.0
       Kurtosis 11.0
       Lens Blur 11.0
       Lens Correction 11.0
       Lens Flare 11.0
       Lighting Effects 11.0
       Liquify 11.0
       MMXCore Routines 11.0
       Matlab Operation 11.0
       Maximum 11.0
       Mean 11.0
       Measurement Core 11.0
       Median 11.0
       Mezzotint 11.0
       Minimum 11.0
       Mosaic Tiles 11.0
       Multiprocessor Support 11.0
       NTSC Colors 11.0
       Neon Glow 11.0
       Note Paper 11.0
       Ocean Ripple 11.0
       OpenEXR 11.0
       PCX 11.0
       PNG 11.0
       Paint Daubs 11.0
       Palette Knife 11.0
       Patchwork 11.0
       Paths to Illustrator 11.0
       Photocopy 11.0
       Photoshop 3D Engine 11.0
       Picture Package Filter 11.0
       Pinch 11.0
       Pixar 11.0
       Plaster 11.0
       Plastic Wrap 11.0
       Pointillize 11.0
       Polar Coordinates 11.0
       Portable Bit Map 11.0
       Poster Edges 11.0
       Radial Blur 11.0
       Radiance 11.0
       Range 11.0
       Read Watermark 3.0
       Reticulation 11.0
       Ripple 11.0
       Rough Pastels 11.0
       Save for Web & Devices 11.0
       ScriptingSupport 11.0
       Send Video Preview to Device 11.0
       Shear 11.0
       Skewness 11.0
       Smart Blur 11.0
       Smudge Stick 11.0
       Solarize 11.0
       Spatter 11.0
       Spherize 11.0
       Sponge 11.0
       Sprayed Strokes 11.0
       Stained Glass 11.0
       Stamp 11.0
       Standard Deviation 11.0
       Sumi-e 11.0
       Summation 11.0
       Targa 11.0
       Texturizer 11.0
       Tiles 11.0
       Torn Edges 11.0
       Twain Acquire 11.0
       Twain Select 11.0
       Twirl 11.0
       U3D 11.0
       Underpainting 11.0
       Vanishing Point 11.0
       Variance 11.0
       Variations 11.0 (11.0x001)
       Video Preview 11.0
       WIA Support 11.0
       Water Paper 11.0
       Watercolor 11.0
       Wave 11.0
       Wavefront|OBJ 11.0
       Wind 11.0
       Wireless Bitmap 11.0
       ZigZag 11.0
    Plug-ins that failed to load: NONE
    Flash:
       Connections
       Kuler
    Installed TWAIN devices:
       WIA-hp officejet 6100 series
       hp officejet 6100 series TWAIN

Maybe you are looking for

  • ADVM/ACFS is not supported on oraclelinux-release-6Server-3.0.2.i686

    Hi I am trying to install grid infrastructure (latest release available on OTN) on 2 nodes running oracle linux 6.3 and getting the following/subject error: ------Error------ LOCAL ADD MODE Creating OCR keys for user 'root', privgrp 'root'.. Operatio

  • Change MySite URL at Web Application level

    Howdy, I'm having a tough time finding a post about this and I know someone has already asked it.  I have 2 web applications plus a mysite host. App 1: http://SPCollab/ App 2: http://SPCollab2/ The MySite Host URL is http://my.SPCollab/ Now, what I'm

  • CC Nómina por usuario

    Hola! Requiero limitar los diferentes CC Nóminas implementados en mi organización para que sólo ciertos usuarios puedan ejecutarlos. No esoy seguro si a través de objetos de autorización se pueda lograr esta delimitación. Me podrían ayudar por favor?

  • Satellite 2400: How to boot from PCMCIA-CD ROM?

    Dear All, I try boot from PCMCIA-CD ROM because my DVD ROM is not working. After press the power and press F12, I choose PCMCIA but nothing happen. should I change something in the BIOS first? My laptop is Satellite 2400. thank you...

  • Configure WTK With Platform details (Processor,memory,clock frequency,etc.)

    Hi All, For our Midp Application, we are using Sun WTK 2.3 beta version & j2sdk1.4.2_13 which is running on three different Desktop PC's with different processors speed & RAM. we are also using IBM Rational Test RealTime tool for profiling the result