2011年3月5日

extract frame with FFMPEG

摘要: ffmpeg.exe -i sourcefile -r 0.1 -f image2 -s 240*180 foo-%03d.jpg extract 10frames per minute from the sourcefile, with the image size 240*180, and all of the file are saved as f00-%03d.jpg 阅读全文

posted @ 2011-03-05 00:10 xueliangliu 阅读(208) 评论(0) 推荐(0) 编辑

rename multi files with sed

摘要: It is a very useful pipe command that can rename multi files with the same patternrename:ls *old|sed 's/\(.*\)\.old/mv \1.old \1.new/'|sh 阅读全文

posted @ 2011-03-05 00:07 xueliangliu 阅读(156) 评论(0) 推荐(0) 编辑

导航