[FFmpeg-user] Regarding video compression

Shailesh kumar Dangi shaileshkumar.dangi at maventus.com
Tue Oct 5 09:03:57 EEST 2021


Thanks, Micheal

Here is the command, I am using to reduce the bitrate.

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 -vf scale=iw:ih -f mp4 output1.mp4

On Tue, Oct 5, 2021 at 11:31 AM Shailesh kumar Dangi <
shaileshkumar.dangi at maventus.com> wrote:

> Thanks, Archana.
>
> I am having a doubt. I want to remove the black area of the video as I
> mentioned above-left side and right side black area. Does FFMPEG have any
> command for that?
>
> On Tue, Oct 5, 2021 at 11:14 AM Archana Raghupathy <archu.oct at gmail.com>
> wrote:
>
>> There is an option in crop command to maintain AR in output video.
>>
>>
>> *keep_aspectIf set to 1 will force the output display aspect ratio to be
>> the same of the input, by changing the output sample aspect ratio. It
>> defaults to 0.*
>>
>> https://ffmpeg.org/ffmpeg-all.html#crop
>>
>>
>> On Tue, 5 Oct 2021 at 10:57, Shailesh kumar Dangi via ffmpeg-user <
>> ffmpeg-user at ffmpeg.org> wrote:
>>
>>> Hi Team,
>>>
>>> This is Shailesh Kumar Dangi, Working on Maventus Group Inc. I am
>>> using FFMPEG for video compression for bitrate reduction and I want to
>>> be the same aspect ratio as the original video aspect ratio.
>>> I am facing a problem with the video. Which is having some black space
>>> from
>>> the left and right sides. In this type of video aspect ratio getting
>>> changes.
>>>
>>> Can you please help the keep same aspect ratio the same as the original
>>> video aspect ratio which is not compressed?
>>>
>>>
>>>
>>> Thanks & Regards,
>>> Shailesh Kumar Dangi
>>> shaileshkumar.dangi at maventus.com
>>> _______________________________________________
>>> 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