Removing audio tracks fron video files?

Started by Gandalf, January 18, 2019, 05:36:57 PM

Previous topic - Next topic

Gandalf

How do I go about removing the audio track(s) from video files? I have tried it by disabling the audio track, but for some reason the resulting file ends up being about four times bigger than the original.

dosdan

#1
1. If you just want to remove one or more audio streams from a container I'd use MKVToolNix GUI.

2. The latest ADM nightly build had no problems extracting just the video stream: Copy / Copy / Video Only.  However the steam is in the raw format and some video editors may not accept them. (Vegas wouldn't.)

3. You can easily do this using FFMPEG using a command line in this format:

ffmpeg -i input.mp4 -c:v copy -an output.m4v

Where:
-i specifies the input clip.
-c:v copy copies the first video stream without recompression.
-an indicates no audio stream is to be included.
output.m4v is the output filename/container format.

Vegas accepted the m4v.



You can see the sizes are almost the same. Only the original MP4 has an audio stream.

Dan.

eumagga0x2a

Quote from: Gandalf on January 18, 2019, 05:36:57 PM
for some reason the resulting file ends up being about four times bigger than the original.

Most likely you have re-encoded the video instead of using the copy mode.