I want to get the images out of a mp4
file by using ffmpeg-php
.
I have
$str_command= '/usr/bin/ffmpeg -i /test/ts.mp4 -r 1 -ss 00:00:10 -t 00:00:01 -s 300x300 -f image2 /test/images/';
shell_exec($str_command);
However, I got an error message saying
Buffering several frames is not supported. Please consume all available frames before adding a new one.
I have spent hours on web but couldn't find the answer for this. Can anyone help me about this? Thanks so much!