[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:52:40 EET 2023


The video file is a gray box that can't be played.

El jue, 16 mar 2023, 16:42, Bouke / edit 'B <bouke at editb.nl> escribió:

>
>
> > 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
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list