Answer the question
In order to leave comments, you need to log in
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);
}
Answer the question
In order to leave comments, you need to log in
maybe I'll open your eyes, but video compression is a resource-intensive process.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question