feedme java project

is free software, licensed under the terms of the GNU General Public License, that feeds/imports media from anywhere to xbox360 media center extenders, ipods, web servers, file servers, etc. using Java.

Please read the license here.

Wednesday, August 1, 2007

Main.java August 1, 2007, 7:00 PM

JAVA SE DEVELOPMENT KIT (JDK) VERSION 6 is released under jdk-6u2-license.txt

JAVA SE RUNTIME ENVIRONMENT (JRE) VERSION 6 is released under jre-6u2-license.txt

Feedme Java Project is released under gpl-3.0.txt

/*
* Main.java
* Created on June 31, 2007, 9:19 PM
*/

package feedme;

import java.io.File;
import java.util.Calendar;
import java.util.Date;

/**
*
* @author john mcloskey
*/
public class Main {

/** Creates a new instance of Main */
public Main() {
}

/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
String curDir = System.getProperty("user.dir");
System.out.println(curDir);
File f = new File("feedme.wip");
System.out.println("It's now " + new Date(Calendar.getInstance().getTimeInMillis()));

// August 1, 2007, 7:00 PM - linux, osx, and HDDVD output formats added.

/**
* remove the "//" below to @import in.avi on osx platform
*/

//Runtime.getRuntime().exec(
//"/Applications/vlc -vvv in.avi --sout-ffmpeg-qscale 1
// TODO code application logic here

/**
* remove the "//" below to @import in.avi on windows platform
*/

//Runtime.getRuntime().exec(
//"C:\Program Files\VideoLAN\VLC\vlc.exe" -vvv in.avi --sout-ffmpeg-qscale 1

/**
* remove the "//" below to @import in.avi on linux platform
*/

//Runtime.getRuntime().exec(
//"/usr/bin/vlc" -vvv ./in.avi --sout-ffmpeg-qscale 1

/**
* remove the "//" below to @export out.dvd.wmv to current directory
* in 720(width) 480(height) native media center DVD format
*/

//:sout=#transcode{vcodec=WMV2,width=720,height=480,acodec=wma,ab=96,channels=2}
//:duplicate{dst=std{access=file,mux=asf,dst=out.dvd.wmv}})


/**
* remove the "//" below to @export out.hd720p.wmv to current directory
* in 1280(width) 720(height) native media center HDDVD 720p format
*/

//:sout=#transcode{vcodec=WMV2,width=1280,height=720,acodec=wma,ab=96,channels=2}
//:duplicate{dst=std{access=file,mux=asf,dst=out.hd720p.wmv}})


/**
* remove the "//" below to @export out.hd1080p.wmv to current directory
* in 1920 (width) x 1080 (height) native media center HDDVD 1080p format
*/

//:sout=#transcode{vcodec=WMV2,width=1920,height=1080,acodec=wma,ab=96,channels=2}
//:duplicate{dst=std{access=file,mux=asf,dst=out.hd1080p.wmv}})
}

}

No comments: