[FFmpeg-user] Regarding video compression

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

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?

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

> Am 05.10.2021 um 08:33 schrieb Shailesh kumar Dangi via ffmpeg-user:
> > Hi, Please find below as an attachment. In the attachment input command
> and
> > output, the console is there.
> >
> > Actual Input what i am using
> > ffmpeg -y -i original.mov -b:v 4.5M -map_metadata 0:s:0 -c:v libx264
> > -preset superfast -tune film -ac 2 -c:a aac -maxrate 4M -bufsize 3M
> -strict
> > -2 -f mp4 client.mp4 2<&1
> It seems the input is 1920x1080 but the output is 1080x1920. I don't yet
> understand why.
> Does the original video look ok if you play it in VLC or FFplay?
> Does it work if you add -vf scale=1920:1080 ?
> 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".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2021-10-05 at 12.33.20 PM.png
Type: image/png
Size: 587413 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20211005/8b92c2ad/attachment.png>

More information about the ffmpeg-user mailing list