FFmpeg and qt, Unable to find a suitable output format for '>'
Posted
by Spredzy
on Stack Overflow
See other posts from Stack Overflow
or by Spredzy
Published on 2010-04-29T12:48:46Z
Indexed on
2010/04/29
12:57 UTC
Read the original article
Hit count: 348
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 ?
© Stack Overflow or respective owner