Hello,
I am writing an FFmpeg frontend in Qt & testing it on linux, windows & Mac. (FFmpeg is a popular command line tool for video operations)
My project is working well on Linux & windows but I cannot invoke FFmpeg on Mac! I have compiled it from svn source on Mac & I have ensured that it is working properly by running it in Mac terminal.
In my project, I have created a widget that shows FFmpeg output during conversion, but on mac, It always stays blank.
Need help!
Edit
The code given in the comment below, formatted:
QString program = "ffmpeg", z;
QStringList args;
z = "-ss," + lineEdit_2->text() + ",-t," + lineEdit_3->text() + ",-i," + lineEdit->text() + ",-async,1,-qscale,3.5,-vcodec,copy," + lineEdit_4->text();
args = z.split(",");
process = new QProcess ( this );
process->start ( program, args );
QString arg = args.join ( " " );
textEdit->append( arg );
connect ( process, SIGNAL ( readyReadStandardError() ), this, SLOT ( read() ) );
connect ( process, SIGNAL ( readyReadStandardOutput() ), this, SLOT ( read() ) );