【问题标题】:Take snapshot of video拍摄视频快照
【发布时间】: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

【问题讨论】:

标签: c# ffmpeg thumbnails snapshot


【解决方案1】:

你有错误的路径

ffmpeg.exe

ffmpeg.StartInfo.FileName = HttpContext.Current.Server.MapPath("~/ffmpeg.exe");

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-10-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-14
    相关资源
    最近更新 更多