It seems after installing ffmpeg-devel the thing still cannot go forward. BTW the library path is /usr/include/ffmpeg/