Results 1 to 3 of 3

Thread: please teach me exact command to remove a part of audio

  1. #1
    Join Date
    Mar 2011
    Beans
    32
    Distro
    Ubuntu

    please teach me exact command to remove a part of audio

    I use ffmpeg to convert my mp4 videos to mp3 using this command....


    ffmpeg -i 'input file.mp4' -acodec libmp3lame -ab 64k -ar 44100 -ac 2 'output file.mp3'
    there are some videos that have some starting dialogues and i need to remove audio for those particular seconds using ffmpeg.
    How to do that ?
    i want to keep same audio settings after cropping it.

    Please show me what command do i use to do it...i can't figure it out using man page of ffmpeg

  2. #2
    Join Date
    Feb 2007
    Location
    Mandurah Western Australi
    Beans
    170
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: please teach me exact command to remove a part of audio

    Sorry I can't tell you about ffmpeg.
    I'd be using audacity from the gui, is that possible for you?

  3. #3
    Join Date
    Mar 2011
    Beans
    32
    Distro
    Ubuntu

    Re: please teach me exact command to remove a part of audio

    so, i figured it out finally....

    correct command is ...

    Code:
    ffmpeg -ss 30 -acodec copy -i inputfile.mp3 outputfile.mp3

    it copies the same setting as of original file and crops first 30 seconds of it.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •