[FFmpeg-user] can I compress a video and remove the audio with a single command?
Bouke / edit 'B
bouke at editb.nl
Thu Mar 16 17:41:31 EET 2023
> On 16 Mar 2023, at 16:34, Natalia Molinero Mingorance <eng.nataliamolinero at gmail.com> wrote:
>
> 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.
How is the output ‘corrupted’?
QT player probably won’t play it, but that does not mean that it is ‘corrupted’
Where did you get the -crf 40?
In combo with ultrafast, that will make some very ugly file…
Bouke
More information about the ffmpeg-user
mailing list