FFmpeg and qt, Unable to find a suitable output format for '>'
- by Spredzy
Hi all,
I'm trying to execute a ffmpeg operation through Qt
I would like to execute this line :
./ffmpeg -t 10 -i temp1 -f mpeg - > temp2
When I execute through the terminal, it works perfectly fine.
How ever when I launch it through Qt like this :
QProcess *process = new QProcess();
QString parameters("./ffmpeg -t 10 -i temp1 -f mpeg - > temp2");
std::cout << process->execute(parameters) << std::endl;
I get an Unable to find a suitable output format for '>' any body has the idea of why ?