ffmpeg 输出文件无须参数,直接写 d:\path\filename.mp4。
ffmpeg -i c:\input\k.mp4 -c copy d:\path\filename.mp4。
在windows下,路径中出现空格或其他空白符时,则需要用双引号把路径包括起来。
比如 "d:\path\my file.mp4"
int index = 1
string.Format("sample_{0:000}.jpg", index);
index = index + 1
批处理:
ffmpeg -i E:\RevolutionOS.rmvb D:\{xxxxxx}sample.jpg -ss 00:00:05 -r 1 -vframes 1 -an -vcodec mjpeg