[FFmpeg-user] can I compress a video and remove the audio with a single command?

Natalia Molinero Mingorance eng.nataliamolinero at gmail.com
Thu Mar 16 17:34:45 EET 2023

I'm trying this command to compress the video and remove audio:

command = -y -i $videoUri -movflags faststart -c:v libx264 -crf 40 -an
-preset ultrafast $outPutSafeUri

but the video I get is corrupted. is it possible to do what I'm trying with
a single command or do I need two separate commands?

More information about the ffmpeg-user mailing list