jmencode
Class MplayerParser

java.lang.Object
  extended by jmencode.MplayerParser

public class MplayerParser
extends java.lang.Object


Constructor Summary
MplayerParser()
          Creates a new instance of MplayerParser
 
Method Summary
static void parseCropOutput(java.lang.String line)
          parse the stdout line from mplayer crop to get w,h,x and y values
static double parseDARInfo(java.lang.String line)
           
static int parseEncoderProgress(java.lang.String line)
          parse the stdout line from the encoder that indicates progress, to get percentage done
static void parseVideoInfo(java.lang.String line)
          Parse 'mplayer -identify' output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MplayerParser

public MplayerParser()
Creates a new instance of MplayerParser

Method Detail

parseEncoderProgress

public static int parseEncoderProgress(java.lang.String line)
parse the stdout line from the encoder that indicates progress, to get percentage done


parseVideoInfo

public static void parseVideoInfo(java.lang.String line)
Parse 'mplayer -identify' output. This will result in the creation of dvd title objects within the VideoTitle class if needed. There may be a better way to get the video info, but the only way at the moment is to parse the mplayer output.


parseCropOutput

public static void parseCropOutput(java.lang.String line)
parse the stdout line from mplayer crop to get w,h,x and y values


parseDARInfo

public static double parseDARInfo(java.lang.String line)