0
I use this command to try to transcode a video file (video h264 high 10 to h264 high and copy all the rest) but it keeps giving me the error Unable to find a suitable output format for 'copy'
copy: Invalid argument
The command I use is ffmpeg -i $1 -c:v libx264 -crf 20 -profile:high -c:a copy -c:s copy -c:t copy $2
What is wrong with this command?
Try dropping the
-profile
option and use the-f
option (e.g.-f mp4
) after-c:t copy
and just before$2
. – Anaksunaman – 2018-01-08T03:16:42.977