Answers.Body: <p>I know that <a href="http://www.virtualdub.org" rel="nofollow">Virtual Dub</a> can do this, but it only works with a limited number of codecs. Since it's free, it's worth a look to see if it'll do what you want.</p>
  
  <p>Otherwise, any demux/remux software will work, but it'll take three steps. First demultiplex the file into video and audio streams, re-encode the audio as needed, then remux them into a combined stream.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-23T16:25:36.730Z
Answers.LastActivityDate: 2013-12-23T16:25:36.730Z
Answers.UserDisplayName: Jim Mack
Answers.Body: <p>So Apparently FFMPEG can do this, I had to use <code>-c:v copy</code> and that will leave the video stream intact. I actually used an app called iFFMPEG to figure this out.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-01-01T01:49:48.357Z
Answers.Text: Note that if your input contains more than one video stream then only one will be [stream copied](http://ffmpeg.org/ffmpeg.html#Stream-copy) by default. You can add `-map 0:v` to include all video streams or simply `-map 0` to include all streams regardless of type (video, audio, subtitle, data, etc). See the documentation on [stream selection](http://ffmpeg.org/ffmpeg.html#Stream-selection) for more info.
Answers.UserDisplayName: llogan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-12-31T15:11:40.997Z
Answers.LastActivityDate: 2013-12-31T15:11:40.997Z
Answers.UserDisplayName: Weston
Body: <p>Does anyone know how to take a video and re-encode the audio, but just copy the video data using FFMPEG?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-12-25T08:04:18.250Z
Comments.Text: Yes, this is definitely possible to do with `ffmpeg` with one command, but more information is needed for an exact example. What audio format do you want for the output? Please show some information about your input: `ffmpeg -i input.foo`
Comments.UserDisplayName: llogan
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2013-12-29T18:44:18.600Z
Comments.Text: Another forgotten question...
Comments.UserDisplayName: llogan
Tags: <ffmpeg><encoding>
Title: How to re-encode a video file's audio, but leave the video stream with ffmpeg?
UserDisplayName: Weston
ThreadText: # How to re-encode a video file's audio, but leave the video stream with ffmpeg?
  
  (Asked by: username_0 on 2013-12-23)
  
  Does anyone know how to take a video and re-encode the audio, but just copy the video data using FFMPEG?
  
  **Tags:** ffmpeg, encoding
  
  > **Comments:**
  > **username_1**: Yes, this is definitely possible to do with `ffmpeg` with one command, but more information is needed for an exact example. What audio format do you want for the output? Please show some information about your input: `ffmpeg -i input.foo`  
  > **username_1**: Another forgotten question...  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2013-12-31. Score: 3 | Accepted answer
  
  So Apparently FFMPEG can do this, I had to use `-c:v copy` and that will leave the video stream intact. I actually used an app called iFFMPEG to figure this out.
  
  > **Comments:**
  > **username_1**: Note that if your input contains more than one video stream then only one will be [stream copied](http://ffmpeg.org/ffmpeg.html#Stream-copy) by default. You can add `-map 0:v` to include all video streams or simply `-map 0` to include all streams regardless of type (video, audio, subtitle, data, etc). See the documentation on [stream selection](http://ffmpeg.org/ffmpeg.html#Stream-selection) for more info.  
  
  ---
  
  ### Answer by username_2 on 2013-12-23. Score: 1
  
  I know that [Virtual Dub](http://www.virtualdub.org) can do this, but it only works with a limited number of codecs. Since it's free, it's worth a look to see if it'll do what you want.
  
  Otherwise, any demux/remux software will work, but it'll take three steps. First demultiplex the file into video and audio streams, re-encode the audio as needed, then remux them into a combined stream.
  
  
  ---
  
  