Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Extracting Audio only From Video File using FFmpeg command

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 228
    Comment on it

    Hello Readers,


    FFmpeg is such a command line application tool which provides complete solution for recording, converting as well as streaming video and audio. It is a good command line application tool which convert a video file format in other video format.


    It is simple to extract audio mp3 through video files such as flv, mov, avi, mpg, even flv using FFmpeg command. You can also record online stream into mp3, like stream from radio cast.


    Now for Extracting only Audio From Video File using FFmpeg:

    Copy the actual video in the bin folder on which you need to perform the operations. I have put a video name dummyvideo and I will use this video throughout this post.

    First of all, please test your FFmpeg is working or not. Once be sure that your FFmpeg is working fine then type the following command.


     ffmpeg -i dummyvideo.mp4 -vn -ab 128 outputaudio.mp3


    Here, some important codac used to extract audio, please find the following codac work:

    -vn codac is used to extract audio -ab codac is used to save audio as 128Kbps MP3 file.

    You can also change the define bit rate to 256Kbps or another else as per required. Just change the value after -ab codac or before audio(MP3) file. All the output files will be stored automatically in the bin folder.



    Thanks-

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: