Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: How do I remove sound from a video file?

  1. #1
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,456
    Distro
    Ubuntu Mate

    Post How do I remove sound from a video file?

    Hi.
    How do I remove sound from a video file? I dont want the audio, I just want the video file with no sound.
    Thanks.
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  2. #2
    Join Date
    Feb 2006
    Location
    San Antonio
    Beans
    347
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How do I remove sound from a video file?

    Download Cinelerra.
    When you import the video file into the editor, the audio tracks will be
    separated out. You will be able to delete the audio tracks and render the video out to an .mpg file.

    Open Movie Editor should also work.
    Josh Beck
    Northeast Independent School District
    KSAT (Krueger School of Applied Technologies)
    http://linuxclassroom.com

  3. #3
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,456
    Distro
    Ubuntu Mate

    Wink Re: How do I remove sound from a video file?

    It worked perfectly. Thank you Prospero2006.
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  4. #4
    Join Date
    Dec 2006
    Beans
    7,316

    Re: How do I remove sound from a video file?

    Hi,

    It can also be done with FFmpeg by using the -vn option:

    -vn Disable video recording.
    Andrew
    You think that's air you're breathing now?

  5. #5
    Join Date
    Nov 2008
    Beans
    175
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: How do I remove sound from a video file?

    Marked as solved plz!

  6. #6
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,456
    Distro
    Ubuntu Mate

    Re: How do I remove sound from a video file?

    Quote Originally Posted by gackt View Post
    Marked as solved plz!
    The function to mark the thread as solved is gone.
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  7. #7
    Join Date
    Feb 2008
    Location
    Munster, Ireland
    Beans
    2,456
    Distro
    Ubuntu Mate

    Question Re: How do I remove sound from a video file?

    Quote Originally Posted by andrew.46 View Post
    Hi,

    It can also be done with FFmpeg by using the -vn option:



    Andrew
    Hi Andrew. How would the code go?
    1st Distro used (live CD): Knoppix in early 2007 ¦ 1st Distro Installed: Ubuntu 7.10 in Feb 2008
    GNU/Linux User #470660 – Ubuntu User #28226
    Isaac Asimov: "I do not fear computers. I fear the lack of them."

  8. #8
    Join Date
    Sep 2006
    Beans
    3,713

    Re: How do I remove sound from a video file?

    Quote Originally Posted by Rytron View Post
    Hi Andrew. How would the code go?
    First determine the audio format:
    Code:
    ffmpeg -i input.flv
    FFmpeg will give a full output, but here's the important part:
    Code:
    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:
    Code:
    ffmpeg -i input.flv -acodec copy output.mp3
    Using "acodec copy" will just copy the audio stream and not re-encode it. This preserves the quality. Sometimes you will need to use "-vn" as Andrew mentioned because some containers, mp4 and ogg for example, can take both audio and video.

  9. #9
    Join Date
    Sep 2006
    Beans
    3,713

    Re: How do I remove sound from a video file?

    Vidiot. I just now read that you want the video instead of the audio:
    Code:
    ffmpeg -i input.flv -an -vcodec copy output.flv
    The "an" option tells FFmpeg to ignore the audio. Like my previous example, this just copies the video stream and doesn't re-encode.
    Last edited by FakeOutdoorsman; February 3rd, 2009 at 07:58 PM.

  10. #10
    Join Date
    Dec 2006
    Beans
    7,316

    Re: How do I remove sound from a video file?

    Quote Originally Posted by FakeOutdoorsman View Post
    Vidiot.
    Oops! Vidiot +1

    Andrew
    You think that's air you're breathing now?

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •