2 * jTsSplitter - java based mpeg2ts splitter.
3 * Copyright (C) 2009-2010 Yukikaze
12 * @author Administrator
17 * @param args the command line arguments
20 public static void main(String[] args) {
21 // TODO code application logic here
27 for (int i = 0; i < args.length; i++) {
28 System.out.println(((Integer)i).toString()+":"+args[i]);
30 if (args.length > 1) {
33 if (args.length > 2) {
34 ch = Integer.parseInt(args[2].trim(), 10);
36 if (args[0].trim().toUpperCase().equals("-ch".toUpperCase())){
37 Chlist chl=new Chlist();
38 chl.writeCHList(args[1], args[2]);
42 Tsfile t1 = new Tsfile();
44 if (f.length()>1000*1000){
45 t1.splitTS_byte(inf, outf, ch);