eldhose777 wrote:please help me soon as possible...
This is redundant. We'll help when we feel like it, and most people inclined to help will help when they read this ( as I did ).
What do you mean by 'not working' ? You seem to be just using ffmpeg.exe to do what you want, instead of writing code to extract a frame. You're obviously doing it on a website, why are your video and filenames hard coded ?
As your code does close to nothing, there's not much to say. You need to tell us what bit does not work. Does ffmpeg run ? It's what does the work, you either are not mapping paths properly, you have a permissions issue, or you're not running ffmpeg with the right parameters.