A
A
accountnujen2022-02-26 01:14:06
fmpeg
accountnujen, 2022-02-26 01:14:06

What is the fastest way to compress a video from ~100mb to 49mb?

telegram supports videos no larger than 50 mb, and sometimes I can have something in the region of ~ 100. What is the fastest way to compress FULLHD video up to 49MB?
For example, I tried to compress a 90mb video with the following command:

ffmpeg -i a.dav -vf scale=iw*0.5:ih*0.5 -filter:v fps=30 -vcodec libx265 -c:a aac a3.mp4 2>&1

however, the compression lasted about 4 minutes (with a video length of 5 minutes)

Is there any way to get to a speed of several tens of seconds?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2022-02-26
@Drno

use hardware encoder(on video card)
use preset - ultrafast

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question