我正在编写一个简单的应用程序,用于创建多个视频的缩略图。但问题是图像文件名称是一个名称,因此它只保存文件夹中的最后一个视频缩略图。
enter code here
For Each fi In aryFi
proc.StartInfo.Arguments = " -i " + fi.FullName + " -vframes 1 " & (SPath & "\" & FolderName & "\") & "%d.jpg"
proc.Start()
Next
文件名如1.mov,2.mov,3.mov ..但是如何更改Every imagename。我在vb.net中这样做。
有什么建议吗?
答案 0 :(得分:1)
你可以写野兔的文件名
proc.StartInfo.Arguments = " -i " + fi.FullName + " -vframes 1 " & (SPath & "\" & FolderName & "\") &fi.name &"%d.jpg"