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

Moritz Barsnick barsnick at gmx.net
Thu Mar 16 17:55:36 EET 2023


On Thu, Mar 16, 2023 at 16:52:40 +0100, Natalia Molinero Mingorance wrote:
> The video file is a gray box that can't be played.

You didn't say with which player. And whether it actually worked _with_
audio.

Presumably, you just need to add a colorspace:
https://trac.ffmpeg.org/wiki/Encode/H.264#Encodingfordumbplayers

  -pix_fmt yuv420p

Cheers,
Moritz


More information about the ffmpeg-user mailing list