FFmpeg from Xcode C++ command line app

For the developers that use FFmpeg in their software.
Post Reply
jsquared90
Posts: 1
Joined: Tue Aug 07, 2018 9:04 pm

FFmpeg from Xcode C++ command line app

Post by jsquared90 » Tue Aug 07, 2018 9:11 pm

I am trying to get my feet wet and take things one step at a time. I am very new to C++, so I am already contending with that learning curve. But I feel like I have a good starting project going. I even have exiftool working with my project. Next, I want to integrate ffmpeg. I installed ffmpeg using homebrew and am having no trouble running from the command line. I now have tried sending commands from my Xcode C++ project using the system() call, and it returns "sh: ffmpeg: command not found". I intend to eventually phase the ffmpeg source code into my project and make ffmpeg calls the legit way, but like I said - baby steps. Any ideas as to what I am doing wrong? I have scoured the web for "Xcode + ffmpeg" searches and have found zero tutorials that I would qualify as intuitive or helpful.

Post Reply