|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.luniks.jtvd.backend.TitleMenuCommands
Class with some static methods returning command lines used for creating the title menu
| Field Summary | |
static int |
ASPECT_16TO9
|
static int |
ASPECT_4TO3
|
static int |
NORM_NTSC
|
static int |
NORM_PALSECAM
|
| Constructor Summary | |
TitleMenuCommands()
|
|
| Method Summary | |
static java.lang.String[] |
createBlankMP2(java.io.File mp2File,
float length)
Returns the command to create a blank MP2 file |
static java.lang.String[] |
createMPEG2Video(java.io.File backgroundFile,
java.io.File mpeg2File,
float length,
int aspect,
int norm)
Returns the command to create an MPEG2 video from a PNG image |
static java.lang.String[] |
encWAVtoMP2(java.io.File wavFile,
java.io.File mp2File)
Returns the command to encode a WAV file to MP2 |
static java.lang.String[] |
mplex(java.io.File mpeg2File,
java.io.File videoFile,
java.io.File audioFile)
Returns the command to multiplex an MPEG2 stream and an audio stream |
static java.lang.String[] |
spumux(java.io.File mpeg2File,
java.io.File menuFile,
java.io.File spuconfFile)
Returns the command to add subtitles to an MPEG2 stream to create a menu |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int ASPECT_4TO3
public static final int ASPECT_16TO9
public static final int NORM_PALSECAM
public static final int NORM_NTSC
| Constructor Detail |
public TitleMenuCommands()
| Method Detail |
public static java.lang.String[] createBlankMP2(java.io.File mp2File,
float length)
throws BackendException,
JTVDException
mp2File - the resulting MP2 filelength - the length the MP2 file should have in seconds
BackendException
JTVDException
public static java.lang.String[] encWAVtoMP2(java.io.File wavFile,
java.io.File mp2File)
throws BackendException,
JTVDException
wavFile - the WAV file to be encodedmp2File - the resulting MP2 file
BackendException
JTVDException
public static java.lang.String[] createMPEG2Video(java.io.File backgroundFile,
java.io.File mpeg2File,
float length,
int aspect,
int norm)
throws BackendException,
JTVDException
backgroundFile - the PNG image used as sourcempeg2File - the resulting MPEG2 filelength - the length the video should have in secondsaspect - the aspect ratio the video should havenorm - the video norm the video should have
BackendException
JTVDException
public static java.lang.String[] mplex(java.io.File mpeg2File,
java.io.File videoFile,
java.io.File audioFile)
throws BackendException,
JTVDException
mpeg2File - the resulting MPEG2 program streamvideoFile - the MPEG2 video streamaudioFile - the audio stream
BackendException
JTVDException
public static java.lang.String[] spumux(java.io.File mpeg2File,
java.io.File menuFile,
java.io.File spuconfFile)
throws BackendException,
JTVDException
mpeg2File - the MPEG2 program streammenuFile - the menu, video with subtitlesspuconfFile - spumux's config file
BackendException
JTVDException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||