How to remove audio from a video using ffmpeg?

Solution 1

ffmpeg -i $input_file -c copy -an $output_file

superuser.com/a/268986

copy everything but audio
superuser.com/questions/268985#comment2719793_484860

Solution 2

ffmpeg -i $input_file -vcodec copy -an $output_file

superuser.com/a/484860

copy video only
superuser.com/questions/268985#comment2719793_484860