I have already answered for this same question just look at that answer,you will know what n=mistake you done.
For Video Thumbnail creation we use ffmpeg.
In Linux Systems(centos 6.x) Ffmpeg installation process and Php example:-
This process is done in my centos 6 and created thumbnails using php.
Just click on this link Ffmpeg for video thumbnail creation