17 April 2008

On the fly video thumbnailing with Movie Thumbnailer & Classic Asp


Here is another simple code to get thumbnails of uploaded videos.




You need to;








<%thumbnailpath=Server.Mappath("thumbnails")

Set objExecutor = Server.CreateObject("ASPExec.Execute")

objExecutor.Application = Server.Mappath("thumbnailer/mtn.exe")

objExecutor.TimeOut = 9000

objExecutor.Parameters = "-b 1 -j 100 -o .jpg -c 1 -r 1 -i -t -P -w 0 -O "&thumbnailpath&"\thumbnail.jpg"

objExecutor.ShowWindow = False

Set objExecutor = Nothing

%>



Comments: Post a Comment





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]