En ubuntu me funciona este codigo:
Código php:
Ver original$file_new = 'video.flv';
$file_pre = 'video.jpg';
$thumb_position = 5; // Segundos, es calculado en base a la duracion del video
$ffmpeg_cmd2 = "ffmpeg -itsoffset -4 -i $file_new -vcodec mjpeg -vframes 1 -an -f rawvideo -s 100x68 $file_pre";
// Verificamos si se creo la imagen, si no... ejecutamos otro proceso
$ffmpeg_cmd2 = "ffmpeg -i $file_new -ss $thumb_position -t 00:00:01 -s 100x68 -r 1 -f image2 $file_pre";
}