09 2011 档案
在新线程中使用NSTimer
摘要:方法一:-(void) viewDidLoad{[self performSelectorInBackground:@selector(call1) withObject:nil]; }-(void) call1{timer1 = [NSTimer scheduledTimerWithTimeInterval:3.0 target:self selector:@selector(doSomething) userInfo:nil repeats:NO]; [[NSRunLoop currentRunLoop] addTimer:timer1 forMode:NSRunLoopCommonMod 阅读全文
posted @ 2011-09-14 11:26 wwwkhd
使用ffmpeg转换视频编码的命令
摘要:ffmpeg -i input.mkv -vcodec libx264 -qmin 10 -qmax 51 -qdiff 4 -me_range 16 -keyint_min 25 -qcomp 0.6-b 400K new2.mp4 阅读全文
posted @ 2011-09-08 15:24 wwwkhd