Prateek
Prateek

Reputation: 627

Algorithm to extract audio from an flv video(or any other video). How to go about it?

i currently want to write a program which can extract audio from an FLV video using either python or c++. I have no idea how to go about it? Is there some kind of a tutorial or anything that would help me? Please help me out here learn this. Thanks!

Upvotes: 0

Views: 922

Answers (1)

Sebastian
Sebastian

Reputation: 8164

Actually you can use MPlayer to do this, e.g.

mplayer video.flv -vo null -ao pcm:file=file.wav

So, you can use this in combination with calls from python (or C). Another way is to use FFmpeg which MPlayer uses internally.

Upvotes: 1

Related Questions