id="info"

Question

Locked

Convert .wmv or .avi files to .flv file using ASP .NET

By packer.lean ·
I want to convert video files(.wmv and .avi) uploaded on my site to get converted to .flv. Searching the web I found ffmpeg(http://ffmpeg.mplayerhq.hu/) is a command line software which does the required conversion. But i don't know if it can be used with .NET. If it can be used then how..? If not then what is the other solution...?Can anyone help..?

Thanks in advance...

This conversation is currently closed to new comments.

8 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Convert .wmv or .avi files to .flv file using ASP .NET

by packer.lean In reply to Convert .wmv or .avi file ...

Hey its working for me. There are some sites e.g. http://www.mediasoftpro.com/ where they give already built dll which we can easily implement in our project. All such dlls are actually wrapper to the free tool ffmpeg.exe which can convert videos and audios from one format to another. So i thought to use the tool itself instead of the wrapper dll. I have tried very simple example n its working for me so thought to share it it with all.

Download ffmpeg.exe from (http://ffdshow.faireal.net/mirror/ffmpeg/). you will get a dll along with it (pthreadGC2.dll) keep both the exe and this dll together.

FFmpeg Documentation (http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html) will be required for the syntax.

If you run it via command prompt then this is the syntax

ffmpeg -i inputfilename outputfilename

If it is to be executed via .net then Process.Start can be used to execute an executable.Do remember to give write permission to the asp worker process on the folder where the resultant flv file will be saved. If you dont then the program will run without any error or warning but output file will not be produced.

One more thing it do not convert .wmv files to .flv . Is there any way out to it........?

Collapse -

answer..

by kroha_5003 In reply to Convert .wmv or .avi file ...

To convert wmv or avi files to flv I use Video To Flash Converter & havn't any problem with it...

Collapse -

Use Media Manager Pro to Convert .avi to .flv

by rashid0715 In reply to Convert .wmv or .avi file ...

Hey - Yes, FFMPEG can be used in asp.net. You can find a wrapper along with all source code to integrate this wrapper here http://all4dotnet.com/features.aspx

Collapse -

Reponse To Answer

by irfanmcsd In reply to Use Media Manager Pro to ...

It is a cloned version of Media Handler Pro - http://www.mediasoftpro.com/media-handler-pro.html

Collapse -

ASP .NET command line encoder

by albert.baits In reply to Convert .wmv or .avi file ...

Here we will <a href="http://www.flash-video-soft.com/blog/?p=192">guide </a> you to use ASP.net to convert video to flv for creating a video hosting site on Windows 2003 server step by step, and customize a Flash video player for this video sharing site.

Collapse -

Any solution?

by PoonamAgarwal In reply to Convert .wmv or .avi file ...

Hi,

I am having a similar requirement. Can you please let me know if you found a solution?

Collapse -

Good software

by dinadana In reply to Convert .wmv or .avi file ...

I'm using MacVide FlashVideo converter.
Nice soft. Can convert mov to flv or swf.
http://www.macvide.com/Macvide_VideoFlash_Converter/

Back to Hardware Forum
8 total posts (Page 1 of 1)  

Hardware Forums