OSDN Git Service

c37ebab30f3f4601969121be166d0ebda0fdddd0
[rec10/rec10-git.git] / jTsSplitter / trunk / src / jtssplitter / Main.java
1 /*
2  * To change this template, choose Tools | Templates
3  * and open the template in the editor.
4  */
5
6 package jtssplitter;
7
8 /**
9  *
10  * @author Administrator
11  */
12 public class Main {
13
14     /**
15      * @param args the command line arguments
16      */
17     public static boolean debug_mode=false;
18     public static void main(String[] args) {
19         // TODO code application logic here
20         String inf,outf;
21         int ch=0;
22         if (args.length>1){
23             inf=args[0];
24             outf=args[1];
25             if (args.length>2){
26                 ch=Integer.parseInt(args[2].trim(),10);
27             }
28         }
29         Tsfile t1=new Tsfile();
30         //t1.readTs("D:\\jTssplitter\\test-sp.ts");
31         inf="/home/ftpusr/ftp-tmp/tester/testcs30.tsmix";
32         outf="/home/ftpusr/ftp-tmp/tester/test.tssp.ts";
33         t1.splitTS(inf,outf,0);
34     }
35
36 }