I need some help with video embedding in ASP.NET. So I am developing a litle custom blog and I need users to upload Quick Time videos (.mp4,.3gp) but I also need when upload completes to take a snapshot from the uploaded video which should be used as a link
to a page that plays the video, in other words I need to take a frame from this video file... Do you have any idea how this is possible??
My video should play to onether page so I don't need any streaming service here. I just need to take a frame from the movie that user uploads and to create a snaphot for that movie (by storing a new image), when user clicks will redirect to a PlayMovie.aspx
page. But I can't find the appropriate API to do that, any suggestion for that?
My requirement is that I would like to make a thumbnail for a video on the fly. i.e. users will upload videos and the program should be able to make a thumbnail from them. And when they click on those thumbnail the video will play in a different page on
my website.
Now I have managed to make a thumbnail from a picture.
To make a thumbnail from a video I should be able to capture a frame form the vidoe as picture and then convert that picture a s athumbnail. So what I should be now looking for is a code which captures a frame from a video as picture.
AM I CORRECT?
OR IS THERE ANY OTHER WAY TO CREATE A THUMBNAIL FROM A VIDEO.
I am using a windows player and not a flash player like most of the site like youtube, myspace, etc are having. So basicaly I will be converting any video format to windows format. (infact I am looking for that free convertor too). i will be streaming
the vidoes on demand.
Please give your valuable suggestions considering the above situation. If possible can anyone give a complete code for the same.
regards,
Ajeetpal singh
Thumbnailvideo convertervideo thumbnailconvert any video to windows format
www.funbyu.com get Paid for social Networking
www.uradginny.com a Social Ad Network
www.bestebazaar.com Changing the rules of online selling and buying.
p = Process.Start(info);
while (!p.HasExited) { Thread.Sleep(10); }
That use of ffmpef.exe will convert your video file (on my project was a .3gp) into .flv video. The "-ar 44100" is something that I do not remember (see the reference).
I check HasExited property to be sure that the program execution has finished.
Thanks for your help. I am working on it. But I am getting an error....I am using a .3gp file to capture a frame. I am getting an error invalid output format. Also when I run the program it does not show any output in the browser. I want to see the output
in the browser before I use the thumbnail part on that picture just to be sure I am on the right track. also I am not able to find where the picture is getting saved..
help required....
Regds,
www.funbyu.com get Paid for social Networking
www.uradginny.com a Social Ad Network
www.bestebazaar.com Changing the rules of online selling and buying.
Well thre are some things to see on the previous example:
1) The "video_file_name_to_convert" parameter should be something like "c:\inetpub\wwwroot\mysite\videos\video_to_convert.3gp". Ofcourse
this file should exists, so maybe that causes your problem...!!!
2) The new_flv_name parameter should be something like "c:\inetpub\wwwroot\mysite\videos\converted_video.flv".
3) The
your_extracted_image_name parameter should something like "c:\inetpub\wwwroot\mysite\images\your_extracted_image_name" + "%d.jpg". The %d is an
integer that is automatically generated from ffmpeg program.
4)
The path c:\inetpub\wwwroot\mysite\ is probably your root path of your web site to take that dynamically write something like Server.MapPath("~/videos/") or Server.MapPath("~/images/") for storing videos/images
respectively.
Member
172 Points
58 Posts
How to take a snapshot pic from a (.mp4/.3gp) video file ?
Mar 08, 2007 05:15 AM|abiratsis|LINK
Hello there,
I need some help with video embedding in ASP.NET. So I am developing a litle custom blog and I need users to upload Quick Time videos (.mp4,.3gp) but I also need when upload completes to take a snapshot from the uploaded video which should be used as a link to a page that plays the video, in other words I need to take a frame from this video file... Do you have any idea how this is possible??
Thanks in advance
ASP.NET 3GP MP4 SNAPSHOT
Participant
1566 Points
1614 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Mar 08, 2007 11:17 AM|guenavan|LINK
If youк page embeds and plays the video, then you are using streaming server
Usually, streaming servers come with corresponding SDK for manipulating videos
http://www.umediaserver.net/source.html
or google with keywords C# streaming media Server
http://stackexchange.com/users/68767/?tab=accounts
Member
172 Points
58 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Mar 08, 2007 01:45 PM|abiratsis|LINK
Member
172 Points
58 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Mar 29, 2007 09:29 AM|abiratsis|LINK
ffmpeg .mp4 .3gp snapshot asp.net
None
0 Points
10 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Aug 09, 2007 08:37 AM|ajeetpal singh|LINK
Hi,
My requirement is that I would like to make a thumbnail for a video on the fly. i.e. users will upload videos and the program should be able to make a thumbnail from them. And when they click on those thumbnail the video will play in a different page on my website.
Now I have managed to make a thumbnail from a picture.
To make a thumbnail from a video I should be able to capture a frame form the vidoe as picture and then convert that picture a s athumbnail. So what I should be now looking for is a code which captures a frame from a video as picture. AM I CORRECT?
OR IS THERE ANY OTHER WAY TO CREATE A THUMBNAIL FROM A VIDEO.
I am using a windows player and not a flash player like most of the site like youtube, myspace, etc are having. So basicaly I will be converting any video format to windows format. (infact I am looking for that free convertor too). i will be streaming the vidoes on demand.
Please give your valuable suggestions considering the above situation. If possible can anyone give a complete code for the same.
regards,
Ajeetpal singh
Thumbnail video converter video thumbnail convert any video to windows format
www.uradginny.com a Social Ad Network
www.bestebazaar.com Changing the rules of online selling and buying.
Member
172 Points
58 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Aug 09, 2007 10:53 AM|abiratsis|LINK
Well my friend you are very lucky because I have to wait more than two weeks to find the answer.
Everything you need is that:
1) To extract image from video do:
1.-vframes 1 - will extract image from the first frame
2.%d - is a ffmpeg.exe parameter which is usefull for autonumbering of image name (it is the it works)
None
0 Points
10 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Aug 10, 2007 04:43 PM|ajeetpal singh|LINK
Hi!,
Thanks for your help. I am working on it. But I am getting an error....I am using a .3gp file to capture a frame. I am getting an error invalid output format. Also when I run the program it does not show any output in the browser. I want to see the output in the browser before I use the thumbnail part on that picture just to be sure I am on the right track. also I am not able to find where the picture is getting saved..
help required....
Regds,
www.uradginny.com a Social Ad Network
www.bestebazaar.com Changing the rules of online selling and buying.
Member
172 Points
58 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Aug 24, 2007 01:46 PM|abiratsis|LINK
Well thre are some things to see on the previous example:
1) The "video_file_name_to_convert" parameter should be something like "c:\inetpub\wwwroot\mysite\videos\video_to_convert.3gp". Ofcourse this file should exists, so maybe that causes your problem...!!!
2) The new_flv_name parameter should be something like "c:\inetpub\wwwroot\mysite\videos\converted_video.flv".
3) The your_extracted_image_name parameter should something like "c:\inetpub\wwwroot\mysite\images\your_extracted_image_name" + "%d.jpg". The %d is an integer that is automatically generated from ffmpeg program.
4) The path c:\inetpub\wwwroot\mysite\ is probably your root path of your web site to take that dynamically write something like Server.MapPath("~/videos/") or Server.MapPath("~/images/") for storing videos/images respectively.
None
0 Points
1 Post
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Jul 24, 2008 01:28 AM|veens|LINK
Hi
I am using web viedo control in my application but here
iam un able to upload the .mp4 videos
suggest me the control to upload the .mp4 video file
Asp.net using C#
Member
21 Points
57 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Apr 09, 2009 01:58 AM|rashid0715|LINK
you can try http://www.all4dotnet.com/
thumbs convert 3gp convert videos convert mov post watermark watermark videos flv to avi convert avi Convert flv avi to flv convert videos in .net convert mpg video convert video conversion grab thumbnails
Rashid Ansari
Email : rashid0715@gmail.com
----------------------------
Member
87 Points
144 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Feb 21, 2010 10:20 AM|humill_bca|LINK
hi
Its payable..
If you have its free version please send it to me on humill_bca@yahoo.com with subject videp snap.
Thanking you,
Member
87 Points
144 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Feb 25, 2010 05:25 AM|humill_bca|LINK
use ffmpeg its very useful for small and large video conversion.
type ffmpeg in the google. Read it carefully...
None
0 Points
23 Posts
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Apr 28, 2010 09:16 AM|ledo_moon|LINK
check this i found a near subject on this blog hope it will be usefull for u http://blog.waleedmohamed.net/2010/04/convert-avi-video-to-jpg-images-capture.html
None
0 Points
1 Post
Re: How to take a snapshot pic from a (.mp4/.3gp) video file ?
Aug 05, 2010 03:32 AM|jenny_Jude|LINK
U can try using "DVD Decompiler"
It's free & I always use it for taking snap shots from vids & movies.
I once made another movie using the images taken by it :D as i took sequence of screen shots(it has an option which can do it ).
You Can download it here:- http://www.Soundindepth.com