I am creating api's using slim framework.My problem is that i am trying to upload video to localserver but the thumbnails of video are not generating. I have tried ffmpeg but it is not working:
Here is my code:
exec('ffmpeg -itsoffset -4 -i C:\xampp\htdocs\givemethatpic\shared_17008.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -ss 620x440 C:\xampp\htdocs\givemethatpic\tdrrsss.jpg');
I used ffmpeg-win32 setup and it installed the ffmpeg to C:\Program Files (x86). I do not know where i am wrong.Please tell why thumbnail is not generating??