1
I need to create a folder and right after launching the thumbnail created in it.
mkdir(pasta, 0777. true);
if(a pasta recém criada existir ){
exec("ffmpeg -i ".$currentPath." -vf fps=1/60 " .$pasta_recem_criada."/thumb%03d.png", $output, $return);
}
if (is_dir("caminho/da/pasta") === true || is_file("caminho/da/pasta") === true) { exec() }
– Alex