user958353
user958353

Reputation: 85

How to convert flv video to mp3 using ffmpeg programmatically?

I need to create application on C++ for video conversion, and I can't use ffmpeg.exe.
I need to do it programmatically, but I don't know how can I do it, and I didn't find any examples on Internet.
May be somebody know something about my task? Thank you.

Upvotes: 2

Views: 4966

Answers (2)

mpenkov
mpenkov

Reputation: 21898

Here's another good ffmpeg tutorial. Looking at the actual source code for ffmpeg would also help.

An updated version of the tutorial source is here.

Upvotes: 2

Miguel Grinberg
Miguel Grinberg

Reputation: 67509

ffmpeg is an open source project. The transcoding engine used by ffmpeg is in the libraries libavcodec (for the codecs) and libavformat (for the containers). You can write your conversion as calls into these libraries, without the ffmpeg command line application.

Here is a tutorial on using these libraries.

Good luck.

Upvotes: 2

Related Questions