A
A
Alexander Muxalich2015-03-11 07:54:19
PHP
Alexander Muxalich, 2015-03-11 07:54:19

FFmpeg converts a 11mb file - 20 - 40 seconds. Why so long?

The input is flv file with a resolution of 720x640.

public function direct($flv, $thumbnail, $resolution = '400x300') {
$command = "ffmpeg -i $flv -ab 32 -ar 22050 -b 700 -r 15 -s ".
"$resolution -y -f flv $thumbnail";
return shell_exec($command);
}

Knowing people, look at the code, I didn’t mess up with the bitrate?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Mokhov, 2015-03-11
@mokhovcom

maybe I'll open your eyes, but video compression is a resource-intensive process.

D
Dmitry Entelis, 2015-03-11
@DmitriyEntelis

what system config? :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question