Sizce hatam nedir ?Videoda gözat yöntemiyle işlem yapıyorlar ben hali hazırda yüklenmiş video için uyarlama yaptım...
Youtube ffmpeg kullanımı
https://www.youtube.com/watch?v=qT4hN5o57hI#t=485
<?php
$video = '/home/kullanici_adi/public_html/mp4/depi.mp4';
$nereye = "/home/kullanici_adi/public_html/resim/";
$resim = '1.jpg';
$buyukluk = "120x90";
$kacsaniyede = 5;
$komut = "$nereye -i $video -an -ss $kacsaniyede -s $buyukluk $resim";
if(shell_exec($komut)){
echo 'Resim oluşturuldu';
}else{
echo 'Resim Oluşturulamadı';
}
?>