Commit c027eeeb authored by slelann's avatar slelann

Forcer l'?criture de la miniature

parent 00dde15e
......@@ -114,8 +114,7 @@ void UploadThread::run()
if ( current->UBPTError == ERR_UBPT_NONE )
{
QProcess mplayer;
//QString cmd2 = QString("%3 -an -y -vframes 1 -i \"%1\" -f image2 -ss 1 \"%2\"").arg(current->transfert.fileName).arg(tempImg).arg(ffmpeg);
QString cmd2 = QString("%3 -i \"%1\" -ss 00:00:01.1 -f image2 -vframes 1 \"%2\"").arg(current->transfert.fileName).arg(tempImg).arg(ffmpeg);
QString cmd2 = QString("%3 -y -i \"%1\" -ss 00:00:01.1 -f image2 -vframes 1 \"%2\"").arg(current->transfert.fileName).arg(tempImg).arg(ffmpeg);
qDebug()<<cmd2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment