[Ffmpeg-devel] c#

Bolo Michelin bolo
Mon Nov 7 12:09:02 CET 2005


Thank you very much for the sample.
Do you put ffmpeg.exe in same folder that the sample ?

Bolo
praveen cheruku wrote:

>Hey Bolo,
>
>Just assume it as an external process and call it.
>Make sure you have the ffmpeg.exe file in the
>executable directory.
>
>I have attached a sample code. (wav2mp3.txt).
>
>Thanks,
>Praveen.
>
>--- Bolo Michelin <bolo at independza.com> wrote:
>
>  
>
>>Hello parven,
>>
>>How can you install FFMPEG ? Can you show me a lil
>>your code ?
>>
>>Bolo
>>praveen cheruku wrote:
>>
>>    
>>
>>>I have used this library in a c# application. I
>>>      
>>>
>>have
>>    
>>
>>>called it as an extrernal process to accomplish my
>>>task.
>>>
>>>--Praveen.
>>>
>>>--- Independza <contact at independza.com> wrote:
>>>
>>> 
>>>
>>>      
>>>
>>>>Hello,
>>>>
>>>>i would like to use this librairy with c#. SomeOne
>>>>do you know how use 
>>>>this library with dotNet ?
>>>>
>>>>Bolo
>>>>-- 
>>>>
>>>>   * *Team Independza*
>>>>   * Bolo Michelin
>>>>   * Flash Designer - Developer ( AS2 POO)
>>>>   * French west Indies
>>>>   * MSN : malavoib at hotmail.com
>>>>   * E-mail :bolo at independza.com
>>>>   * Skype : ti_bolo
>>>>   * *www.independza.com*
>>>>
>>>>_______________________________________________
>>>>ffmpeg-devel mailing list
>>>>ffmpeg-devel at mplayerhq.hu
>>>>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>>>
>>>>   
>>>>
>>>>        
>>>>
>>>
>>>		
>>>__________________________________ 
>>>Yahoo! FareChase: Search multiple travel sites in
>>>      
>>>
>>one click.
>>    
>>
>>>http://farechase.yahoo.com
>>>
>>>_______________________________________________
>>>ffmpeg-devel mailing list
>>>ffmpeg-devel at mplayerhq.hu
>>>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>>
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>ffmpeg-devel mailing list
>>ffmpeg-devel at mplayerhq.hu
>>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>>
>>    
>>
>
>
>		
>__________________________________ 
>Yahoo! FareChase: Search multiple travel sites in one click.
>http://farechase.yahoo.com
>
>------------------------------------------------------------------------
>
>//This sample calls the ffmpeg.exe to convert a .wav file to .mp3.
>
>public static void wav2mp3(string file_path)
>{
>	try
>	{
>		string fileargs = "-i" + " " +file_path + " " + "-y" + " " + "output.mp3";
>		Process wav2mp3 = new Process();
>		//Call ffmpeg.exe
>		wav2mp3.StartInfo.FileName = "ffmpeg.exe";
>		wav2mp3.StartInfo.Arguments = fileargs;
>		wav2mp3.StartInfo.UseShellExecute = false;
>		wav2mp3.StartInfo.CreateNoWindow = true;
>		wav2mp3.StartInfo.RedirectStandardOutput = true;
>		wav2mp3.Start();
>		wav2mp3.WaitForExit();
>		wav2mp3.Close();	
>	}
>	catch
>	{
>	}
>}
>
>------------------------------------------------------------------------
>
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>  
>





More information about the ffmpeg-devel mailing list