Building ffmpeg libraries for Qt
driesj opened this issue · 3 comments
I want to use your wrapper in Qt, but the libraries are built with a MSVS compiler. so, the Qt compiler won't work with these. Now I've tried to build the project with Qt, but I've got a lot of errors on the ffmpeg header files.
So I was wondering if I just could compile the libraries with MinGW?
https://stackoverflow.com/questions/6172016/qt-ffmpeg-setting/34403726
this topic helped me to build and use the ffmpeg libraries. Now I will use them to build your wrapper.
I've got it all building but when I try to run the print_info example code. I've got an exception in the constructor of demuxer.cpp:
if ((ret = avformat_open_input(&containerContext, fileName, inputFormat, &format_opts)) < 0)
this result will be less than 0 and throws an FFmpegexception.
this was due to a false path to the sample file. everything is solved now.
sorry for the spam.