Package net.pms.dlna

Examples of net.pms.dlna.InputFile


        "-noskip",
        "-of", "rawvideo",
        "-o", ffVideoPipe.getInputPipe()
      };

      InputFile newInput = new InputFile();
      newInput.setFilename(filename);
      newInput.setPush(params.stdin);

      /**
       * Note: This logic is weird; on one hand we check if the renderer requires videos to be Level 4.1 or below, but then
       * the other function allows the video to exceed those limits.
       * In reality this won't cause problems since renderers typically don't support above 4.1 anyway - nor are many
View Full Code Here


            transcodeOptions.add("ac3");
          }
        }
      }

      InputFile newInput = null;
      if (filename != null) {
        newInput = new InputFile();
        newInput.setFilename(filename);
        newInput.setPush(params.stdin);
      }

      // Output video codec
      if (renderer.isTranscodeToH264()) {
        transcodeOptions.add("-c:v");
View Full Code Here

    DLNAResource dlna,
    DLNAMediaInfo media,
    OutputParams params
  ) throws IOException {
    final String filename = dlna.getSystemName();
    InputFile newInput = new InputFile();
    newInput.setFilename(filename);
    newInput.setPush(params.stdin);

    /*
     * Check if the video track and the container report different aspect ratios
     */
    boolean aspectRatiosMatch = true;
View Full Code Here

      } else {
        externalSubtitlesFileName = ProcessUtil.getShortFileNameIfWideChars(params.sid.getExternalFile().getAbsolutePath());
      }
    }

    InputFile newInput = new InputFile();
    newInput.setFilename(filename);
    newInput.setPush(params.stdin);

    dvd = false;

    if (media != null && media.getDvdtrack() > 0) {
      dvd = true;
View Full Code Here

      } else {
        options.add("-c:a");
        options.add("ac3");
      }

      InputFile newInput = null;
      if (filename != null) {
        newInput = new InputFile();
        newInput.setFilename(filename);
        newInput.setPush(params.stdin);
      }

      // Output video codec
      if (media.isMediaparsed()
          && params.sid == null
View Full Code Here

TOP

Related Classes of net.pms.dlna.InputFile

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.