我一直試圖在Ubuntu下的gcc中使用FFMPEG。我已經做了,爲了讓我的代碼編譯所需要的東西,鏈接,但我得到了以下錯誤:試圖在C和Ubuntu中使用FFMPEG
tutorial01.c:(.text+0x37d): undefined reference to `avcodec_decode_video'
tutorial01.c:(.text+0x3c5): undefined reference to `img_convert'
我使用的來源是從下面的教程中的一個http://dranger.com/ffmpeg/tutorial01.c
(原文鏈接:http://dranger.com/ffmpeg/tutorial01.html )
我知道turotorial的來源是相當古老的。那麼是否有人知道任何新的函數會取代錯誤信息中提到的函數?
ALso是否有任何更新的文檔或教程形式,我可以使用?
在此先感謝!
參見[更新源代碼版本](https://github.com/chelyaev/ffmpeg-tutorial)該引導件的。 – LordNeckbeard