Click here to Skip to main content
15,868,141 members
Please Sign up or sign in to vote.
1.18/5 (3 votes)
how to import ffmpeg functionality in visual studio 2012 in c#?
Posted
Updated 1-Jun-13 3:05am
v2
Comments
[no name] 1-Jun-13 9:20am    
What do you mean "import"? ffmpeg is an exe so you would need to call it from the command line.
Hitesh Rohilla 2-Jun-13 2:24am    
i have read lot of blogs and code master sites like codeproject and stackoverflow. people discussed there about .dll file of ffmpeg. if there exist some dll then functionality can be imported within program as dlls are application extensions. i even have found dlls but don't know how to import them... tried many methods instructed on coding websites found on internet... non worked for me... finally i decided to ask question here in this thread. and got answer to use it as is directly in exe form via command line. it worked for me now...
Sergey Alexandrovich Kryukov 4-Jun-13 0:31am    
Not exactly. It's also a library. However, reportedly hard to build...
—SA

I worked on FFMPEG quite a bit and did try to integrate the code but found it was better just to launch a thread that ran the ffmpeg in a command-line type function. FFMPEG changes so often that it is actually a benefit to just replace the appropriate EXEs and such and not have to change your main program for each revision. The ability to put this long-running function into a thread really helped. Good luck.
 
Share this answer
 
Well after a more search i found a opensource ffmped code sample as well as library of ffmpeg with dll at codeplex website at FFmpeg Wrapper. It has source code from where i comes to know that i have to put 4 files with my project to achieve inbuilt functionality. so i put everything available in ffmped source code in my project/bin/debug folder and compare everything with ffmpeg sample code. it work now... i just wondering if this library is updated or not... i will replace updated resource with current resource ant then it will bake me a batter project...
 
Share this answer
 
Comments
Member 9071603 24-Oct-15 6:25am    
hi Rohilla
thank you for your effort, please could you send me more details about the steps you made to solve the ffmpeg/vs project. I am using vs13. please could you replay ASAP .thank you.

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900