From Wiki
Jump to: navigation, search

First determine the audio format:

ffmpeg -i input.flv

FFmpeg will give a full output, but here's the important part:

Stream #0.1: Audio: mp3, 44100 Hz, stereo, s16, 80 kb/s

Now that I know it is mp3, I can give the correct output file extension::

ffmpeg -i input.flv -acodec copy output.mp3

For the videou without the audio will be with the an

ffmpeg -i input.flv -an -vcodec copy output.flv