[FFmpeg-user] Regarding video compression

Shailesh kumar Dangi shaileshkumar.dangi at maventus.com
Tue Oct 5 10:54:07 EEST 2021


Hi,

Our final goal is to reduce the bitrate is below 5MB and the Aspect ratio,
height, and width need to be the same.

Can you please help me with the command?

On Tue, Oct 5, 2021 at 12:53 PM Michael Koch <astroelectronic at t-online.de>
wrote:

> Am 05.10.2021 um 09:07 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Yes, In the input video contains some black space around the video as you
> > can see in the attachment below.
> > If we pass the scale "-vf scale=1920:1080" then the video will be
> stretched.
> > if we do not pass the scale. The scale will swap I mean 1080:1920.
> >
> > [image: Screenshot 2021-10-05 at 12.33.20 PM.png]
> >
> > Do we have any solutions for this?
>
> I don't think that the input video contains black spaces. The input
> video is 1920x1080 and it has "rotate=90" set in the metadata. That's
> why FFmpeg rotates the video and the output is 1080x1920 and there are
> no black spaces in the output.
> If you don't like this output, what do you want instead? Do you want to
> cut off the top and botton part? Then you must use the crop filter.
>
> Michael
>
> _______________________________________________
> 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