Remove image

Problem

Remove the image from an audiovisual file.

Solution

ffmpeg \
    -vn \
    -i input_file \
    -c copy \
    output_file

Command syntax

ffmpeg
starts the command
-vn
no video stream (mnemonically «video no»)
-i input_file
path, name and extension of the input file
-c copy
copy all the remaining content
output_file
path, name and extension of the output file

Discussion

Any video stream from the input file is ignored, therefore this parameter must come before the input file itself, and all the remaining content is copied into the output file.


2020-07-15