Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
how to import ffmpeg functionality in visual studio 2012 in c#?
Posted 1-Jun-13 3:46am
Edited 1-Jun-13 4:05am
v2
Comments
ThePhantomUpvoter at 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 at 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 at 4-Jun-13 0:31am
   
Not exactly. It's also a library. However, reportedly hard to build...
—SA
Rate this: bad
good
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.
  Permalink  
Rate this: bad
good
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...
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 280
1 Jochen Arndt 150
2 Kornfeld Eliyahu Peter 120
3 PIEBALDconsult 110
4 Richard MacCutchan 105
0 OriginalGriff 6,055
1 DamithSL 4,621
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,500
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 6 Jun 2013
Copyright © CodeProject, 1999-2014
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