Package javax.media.protocol

Examples of javax.media.protocol.ContentDescriptor


      System.err.println("Failed to configure the processor.");
      return false;
    }

    // Set the output content descriptor to QuickTime.
    p.setContentDescriptor(new ContentDescriptor(
        FileTypeDescriptor.QUICKTIME));

    // Query for the processor for supported formats.
    // Then set it on the processor.
    TrackControl tcs[] = p.getTrackControls();
View Full Code Here


    public Format getFormat() {
      return format;
    }

    public ContentDescriptor getContentDescriptor() {
      return new ContentDescriptor(ContentDescriptor.RAW);
    }
View Full Code Here

      processor.configure();
      if (!waitForState(processor, Processor.Configured)) {
        throw new IOException("JMFMovieEncoder error: Failed to configure processor");
      }

      processor.setContentDescriptor(new ContentDescriptor(FileTypeDescriptor.QUICKTIME));

      TrackControl tcs[] = processor.getTrackControls();

      // Take the first supported format
      Format f[] = tcs[0].getSupportedFormats();
View Full Code Here

  public Format getFormat() {
    return format;
  }

  public ContentDescriptor getContentDescriptor() {
    return new ContentDescriptor(ContentDescriptor.RAW);
  }
View Full Code Here

TOP

Related Classes of javax.media.protocol.ContentDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.