kibsoft / QtMEL

Qt Media Encoding Library
GNU Lesser General Public License v2.1
67 stars 16 forks source link

Unable to get an output format by passed filename for .avi file on Linux #39

Open tdauth opened 7 years ago

tdauth commented 7 years ago

I am using the provided ffmpeg GIT version which works with QtMEL. I've compiled it with these options: ./configure --enable-muxer=mp4 --enable-libx264 --enable-avisynth

and built: make install

I get the error message:

Unable to get an output format by passed filename

Although my filename is specified via: m_qtmelRecorder->encoder()->setFilePath(outputFile() + "video.avi");

before calling

m_qtmelRecorder->start();

I've tried extensions like .mp4 as well. The .avi extension is used in the recorder example, too.

kibsoft commented 7 years ago

What exactly does outputFile() return? Path to file or path to directory?