Click here to Skip to main content
13,004,094 members (109,817 online)
Rate this:
Please Sign up or sign in to vote.
how to import ffmpeg functionality in visual studio 2012 in c#?
Posted 1-Jun-13 2:46am
Updated 1-Jun-13 3:05am
ThePhantomUpvoter 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...
Not exactly. It's also a library. However, reportedly hard to build...
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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...
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170627.1 | Last Updated 6 Jun 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

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