Click here to Skip to main content
14,240,836 members
Rate this:
Please Sign up or sign in to vote.
See more:
I want to convert a any video file format to convert into avi video file using C# code. Is there any way to convert the video file like this, Please help me. Thank you..
Updated 22-Mar-17 6:15am
Steve44 15-Mar-13 3:11am
Take a look at the AForge.NET ( framework, this should contain everything for the video converter.

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

the simple answer is no. you need specific "converter" for each format (and it must be properly installed and licenced and so on). this is no easy task. however, the easy way is to execute a commandline tool like vlc (which is capable of doing so) e.g.:
"C:\Program Files (x86)\VideoLAN\VLC\vlc" -I dummy -vvv %1 --sout=#transcode{vcodec="h264",vb="512",fps="23.97",scale="1",acodec="mpga",ab="128","channels=2",samplerate="44100"}:standard{access="file",mux="dummy",dst="%_commanm%.mp4"} vlc://quit


to do so. regards.
ssyuvaraja 15-Mar-13 6:34am
Thank you. Where i have to specify the input an output file names.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100