954,593 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

video thumbnail

Hi, anybody could help me how to create video thumbnail in asp.net,c#?

plastick
Newbie Poster
3 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

Use FFMEPG EXE for extracting the first frame of video or video thumbnail
Download FFMPEG and using Shell command in ASP.NET you can get the video thumbnail using following command

ffmpeg -i [source path] -s [resolution of video] -vframes [no of video frames] -f [image lib]
-vcodec [video codec] [destination path]

e.g.
ffmpeg -i d:\share\01.wmv -s 108*80 -vframes 1 -f image2 -vcodec mjpeg d:\wmv\halo.jpg

this command will save jpeg image with name halo.jpg

mahendrabhatt
Newbie Poster
5 posts since Dec 2007
Reputation Points: 10
Solved Threads: 0
 

Could you explain more detail in c#, for example i create class, i use VS2005
//Using library
//Using......

Class VideoThumbnail{
//source to create thumbnail
}

thx b4

plastick
Newbie Poster
3 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

Do you know how to use the Shell command in C#?

This member has provided you an awesome response. It's not his job to write your code for you. Check this out:

http://www.codeguru.com/forum/archive/index.php/t-181653.html

you can use this, and replace the actual filenames as provided in mahendrabatt's explanation with variables. From there you should be able to write your own code.

We're here to provide help, not full-blown coding solutions.

alc6379
Cookie... That's it
Team Colleague
2,820 posts since Dec 2003
Reputation Points: 186
Solved Threads: 147
 

Do you like create videos like youtube? Want know how to play videos and convert the videos in ASP.Net, Here is your solution...

http://ramcrishna.blogspot.com/2008/09/playing-videos-like-youtube-and.html

ramcrishna
Newbie Poster
2 posts since Sep 2008
Reputation Points: 10
Solved Threads: 0
 

I want to create the thumbnail of a video file using 4.0 framework. How can i do this.
Did any one knows the way of doing this?

Puneet Shinde
Newbie Poster
1 post since Feb 2012
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You