c++ - QProcess not starting -


i have following code:

proc = new qprocess(); proc->startdetached("c:\\ffmpeg.exe", qstringlist() <<"-i"<< "c:\\pics\\frame%d.png"<< "-r"<< "30" << "-vcodec"<< "ffv1" << "c:\\test.avi" ); connect(proc,signal(finished(int)),this,slot(finishedffmpeg(int))); 

for reason signal finished() , started() never gets called. test.avi file being created correctly.

what missing here?

it should or use @:

proc = new qprocess(); proc->startdetached("c:\\ffmpeg.exe", qstringlist() <<"-i"<< "c:\\pics\\frame%d.png "<< "-r"<< "30" << "-vcodec"<< "ffv1" << "c:\\test.avi" ); connect(proc,signal(finished(int)),this,slot(finishedffmpeg(int))); 

Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -