git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2153
1f10aa63-cdf2-0310-b900-
c93c546f37ac
execlp("ffmpeg", "ffmpeg", "-i", filename.c_str(), "-an", "-f", "image2pipe", "-vcodec", "ppm", "-", (const char *)NULL);
// We should never reach here unless the exec failed
cerr<<"Unable to open pipe to ffmpeg"<<endl;
execlp("ffmpeg", "ffmpeg", "-i", filename.c_str(), "-an", "-f", "image2pipe", "-vcodec", "ppm", "-", (const char *)NULL);
// We should never reach here unless the exec failed
cerr<<"Unable to open pipe to ffmpeg"<<endl;
} else {
// Parent process
// Close pipeout, not needed
} else {
// Parent process
// Close pipeout, not needed