|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjmencode.VideoTitle
public class VideoTitle
This class stores all the static variables for the current input video. This data is taken by parsing the Mplayer console output using the -identify switch when the file is opened.
| Nested Class Summary | |
|---|---|
(package private) static class |
VideoTitle.Audiotrack
|
(package private) static class |
VideoTitle.Subtrack
|
| Field Summary | |
|---|---|
static double |
actualaspectratio
|
static java.util.Vector |
audtracks
|
static boolean |
cropdetectable
|
static int |
croph
|
static int |
cropw
|
static int |
cropx
|
static int |
cropy
|
static double |
error
|
static float |
fps
|
(package private) static int |
id
|
static double |
inputDAR
|
static int |
inputh
|
static int |
inputw
|
static int |
notitles
|
(package private) static int |
numaud
|
(package private) static int |
numsub
|
static java.util.Vector |
subtracks
|
static double |
targetaspectratio
|
static java.lang.String |
type
|
static int |
videolength
|
static java.lang.String |
vidformat
|
| Constructor Summary | |
|---|---|
VideoTitle()
Creates a new instance |
|
| Method Summary | |
|---|---|
static void |
addAudioTrack(int aid,
java.lang.String aul,
java.lang.String auf)
Add a new track at index i |
void |
addAudioTrack(VideoTitle.Audiotrack a)
|
static void |
findAspectRatio()
Try to estimate the target aspect ratio from the crop values and original video aspect ratio and also the input DAR |
static int |
getAid(int i)
Gets the audio track aid value at index i |
static java.lang.String |
getaudFormat(int i)
Gets the audio track format value at index i |
VideoTitle.Audiotrack |
getAudioTrack(int i)
Gets the audio track at index i |
static void |
getscaleError()
Get error between target aspect ratio and mod 16 value in percent |
static void |
main(java.lang.String[] args)
|
static java.lang.String |
print()
|
static void |
resetInfo()
|
static double |
round(double a,
int b)
rounds a double down to the specified number of decimal places |
void |
setAudioTrack(int i,
int aid,
java.lang.String aul,
java.lang.String auf)
Add a new track at index i |
void |
setAudioTrack(int i,
VideoTitle.Audiotrack a)
Set new data for the audio track at index i |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
static int id
static int numaud
static int numsub
public static int notitles
public static java.lang.String type
public static java.lang.String vidformat
public static double inputDAR
public static double targetaspectratio
public static double actualaspectratio
public static double error
public static int inputw
public static int inputh
public static int cropw
public static int croph
public static int cropx
public static int cropy
public static int videolength
public static float fps
public static boolean cropdetectable
public static java.util.Vector audtracks
public static java.util.Vector subtracks
| Constructor Detail |
|---|
public VideoTitle()
| Method Detail |
|---|
public void addAudioTrack(VideoTitle.Audiotrack a)
public static void addAudioTrack(int aid,
java.lang.String aul,
java.lang.String auf)
public void setAudioTrack(int i,
VideoTitle.Audiotrack a)
public void setAudioTrack(int i,
int aid,
java.lang.String aul,
java.lang.String auf)
public VideoTitle.Audiotrack getAudioTrack(int i)
public static int getAid(int i)
public static java.lang.String getaudFormat(int i)
public static java.lang.String print()
public static void getscaleError()
public static void resetInfo()
public static void findAspectRatio()
public static double round(double a,
int b)
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||