Thursday, 1 November 2012

Convert Video File to FLV using ASP.Net(C#)

Convert Video File to FLV using ASP.Net(C#)

The method to convert video to .flv is too easy. You can download following files from .net:

1)ffmpeg.exe
2) ffplay.exe
3) pthreadGC2.dll

After downloading all the files

Follow the steps wrtitren:-

1)Make a new .net web site or windows application.
2)Copy and paste all the 3 above written files to root location
3)Copy and Paste code written below
4)Put an upload to page and rename to “ fileuploadImageVideo”
5)put and button and rename to btn_Submit
6)Make 3 folders OriginalVideo, ConvertVideo, Thumbs
7)Import Class “using System.IO;”

2 comments:

thanks for the usefull post.but i have an error.wheni select some video files with .mp4 extensions everything is good but some of them i receive the connection was reset page when i click on submit button for upload the video file.what is the reason?

About Me

Hello Guys,My Name is Vishal Ranjan.. I am from India. My hometown is a small town named Katihar in North-East Bihar.I am an engineering graduate in the field of Information Technology. I am a Hard-Core C#.Net Programmer and a great fan of Microsoft Technologies. I am also the founder and Editor-In-Chief of www.dotnetvishal.com.. Currently Working for Bosch,Bangalore.

Flag Counter

Online User

World Map

Online Visitor Count

Google Page Rank

Daniweb

Total Pageviews

Disclaimer

The owner of this blog does not share personal information with third-parties nor does the owner store information is collected about your visit for use other than to analyze content performance through the use of cookies, which you can turn off at anytime by modifying your Internet browser’s settings. The owner is not responsible for the republishing of the content found on this blog on other Web sites or media without permission.

Blog Comments

The owner of this blog reserves the right to edit or delete any comments submitted to this blog without notice due to;

1. Comments deemed to be spam or questionable spam2. Comments including profanity3. Comments containing language or concepts that could be deemed offensive4. Comments that attack a person individually

Terms and Conditions

All content provided on this blog is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.

This is a personal weblog. The opinions expressed here represent my own and not those of my employer My employer do not endorse any tools, applications, books, or concepts mentioned on the blog. I have documented my personal experience on this blog.

Please Do Not Copy The Content of this Website without the Proper Consent and Approval of the Owner of this Website. Any One Found Guilty of Copying the Content of this Website without the Consent of the Owner would be liable for Legal Proceedings against him or her and would even lead to DMCA Take-down of his or her Website/Blog without Prior Notice.

Note: If anyone find any material which is under any copyright license or anything objectionable. Please notify me @ my email Id: vishalranjan2k11@gmail.com. I assure you that appropriate action will be taken against the concerned material .