定位视频logo位置
ffplay -i G:\迅雷下载\视频任务组_20171011_1334\[一树桃花开]第02集_bd.mp4 -vf delogo=x=900:y=15:w=105:h=40:show=1
生成去水印文件
ffmpeg -i G:\迅雷下载\视频任务组_20171011_1334\[一树桃花开]第02集_bd.mp4 -vf delogo=x=900:y=15:w=105:h=40 G:\迅雷下载\视频任务组_20171011_1334\[一树桃花开]第02集_bd_copy.mp4
裁剪和切割视频
ffmpeg -i C:\Users\Desktop\a.mkv -r 23 -aspect 16:9 -ss 00:01:00 -to 00:03:00 -vf crop=iw:ih*0.7 -y C:\Users\Desktop\e.mkv
最终执行语句
ffmpeg -i C:\Users\Desktop\a.mkv -r 23 -s 1280*720 -aspect 16:9 -ss 00:10:00 -to 00:13:00 -vf crop=iw:ih*0.7 -y C:\Users\Desktop\e.mkv
一条龙服务
1:视频截取 ffmpeg -i C:\Users\Desktop\a.mkv -r 23 -s 1280*720 -aspect 16:9 -ss 00:10:00 -to 00:13:00 -vf crop=iw:ih*0.7 -y C:\Users\Desktop\e.mkv
2:提取字幕 ffmpeg -i C:\Users\Desktop\b.mkv -map 0:s:0 C:\Users\Desktop\sub1.srt
3:转为MP4 ffmpeg -i C:\Users\Desktop\video\4\4_3.mkv C:\Users\Desktop\video\4\4_3.mp4
size="18" color="#1C86EE"
4:格式工厂转化MP4时添加字幕