【发布时间】:2014-12-03 00:53:08
【问题描述】:
我正在尝试拍摄视频快照,而不是另存为缩略图。我找到了this question 并照原样做了。但我得到了这个例外:
WIN32Exception was unhandled by User-Code - The system cannot find the file specified
我做错了什么?
我的代码在这里:
FFMPEG f = new FFMPEG();
f.GetThumbnail(Server.MapPath("~/Uploads/" + unique), Server.MapPath("~/Thumbnails/" + unique.Remove(unique.IndexOf(".")) + ".jpg"), "1200x223");
还有我的folder structure。
【问题讨论】:
-
它明确指出找不到文件。
-
Okuma.Scott 你是对的,但为什么呢?我认为它应该找到那个文件
-
此外,如果没有“唯一”的定义,没有人能说出这条路径会是什么样子。请阅读"How to create a Minimal, Complete, and Verifiable example"
标签: c# ffmpeg thumbnails snapshot