简体   繁体   English

如何在vb.net中设置ffmpeg输出的路径

[英]how can i set Path of ffmpeg output in vb.net

I am Writing a code in vb.net to Create thumbnails of Video . 我在vb.net中编写代码以创建Video的缩略图。 But I want to set the output path or the storage path of the thumbnails 但是我想设置缩略图的输出路径或存储路径

enter code here

  TextBox2.Text = InputBox("Enter your Desired Name")
  Dim fileName As String = TextBox1.Text
  Dim result As String = Path.GetFileName(fileName)
  proc.StartInfo.Arguments = "  -i  " + result + " -r  1 " + TextBox2.Text + "%4d.jpg  "
  proc.Start()

When i run this The output is stored elsewhere. 当我运行此输出存储在其他位置。 So i want to store the output manually 所以我想手动存储输出

只需设置文件的完整路径>

proc.StartInfo.Arguments = "  -i  " + result + " -r  1 D:\\folder\\" + TextBox2.Text + "%4d.jpg  "

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM