Tabnine Logo
MediaInfoException.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.netflix.imfutility.mediainfo.MediaInfoException
constructor

Best Java code snippets using com.netflix.imfutility.mediainfo.MediaInfoException.<init> (Showing top 2 results out of 315)

origin: DSRCorporation/imf-conversion

private void checkMediaInfoCommand(MediaInfoCommandOthersTypeMap commandsMap, String commandName) throws MediaInfoException {
  if (!commandsMap.getMap().containsKey(commandName)) {
    throw new MediaInfoException(commandName, String.format(
        "%s command must be set in conversion.xml", commandName));
  }
}
origin: DSRCorporation/imf-conversion

private VirtualTrackInfo getTrackInfo(File outputFile, ContextInfo contextInfo, String essence)
    throws XmlParsingException, MediaInfoException, FileNotFoundException {
  // 1. parse output xml
  FfprobeType mediaInfo = parseOutputFile(outputFile, contextInfo);
  // 2. check that info is available
  if (mediaInfo.getStreams() == null || mediaInfo.getStreams().getStream().isEmpty()) {
    throw new MediaInfoException("No streams output", essence);
  }
  StreamType stream = mediaInfo.getStreams().getStream().get(0);
  // 3. fill info
  return new VirtualTrackInfo(contextInfo.getSequenceType(), stream);
}
com.netflix.imfutility.mediainfoMediaInfoException<init>

Popular methods of MediaInfoException

    Popular in Java

    • Finding current android device location
    • scheduleAtFixedRate (Timer)
    • requestLocationUpdates (LocationManager)
    • getOriginalFilename (MultipartFile)
      Return the original filename in the client's filesystem.This may contain path information depending
    • GridBagLayout (java.awt)
      The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
    • BufferedInputStream (java.io)
      A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
    • PrintWriter (java.io)
      Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
    • ServerSocket (java.net)
      This class represents a server-side socket that waits for incoming client connections. A ServerSocke
    • SocketTimeoutException (java.net)
      This exception is thrown when a timeout expired on a socket read or accept operation.
    • GregorianCalendar (java.util)
      GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
    • Best plugins for Eclipse
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

      FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
    Get Tabnine for your IDE now