c# - Take snapshot of video -
c# - Take snapshot of video -
i'm trying take snapshot of video , save thumbnail. have found this question , have done it's there. exception:
win32exception unhandled user-code - scheme cannot find file specified
what have done wrong?
my code here:
ffmpeg f = new ffmpeg(); f.getthumbnail(server.mappath("~/uploads/" + unique), server.mappath("~/thumbnails/" + unique.remove(unique.indexof(".")) + ".jpg"), "1200x223");
and there's folder structure.
you have wrong path of
ffmpeg.exe
ffmpeg.startinfo.filename = httpcontext.current.server.mappath("~/ffmpeg.exe");
c# ffmpeg thumbnails snapshot
Comments
Post a Comment