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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -