PDA

View Full Version : libav tutorial, undefined reference to `img_convert'



ras123
June 17th, 2013, 10:04 AM
Hi,
I am trying to compile the tutorial provided here,

http://dranger.com/ffmpeg/tutorial01.html

Since it is old, I make changes as required, but I coudn't solve the problem "undefined reference to `img_convert' ", when compiling, I used the following to compile it,

gcc -o tutorial01 tutorial01.c -lavutil -lavformat -lavcodec

where library contains the img_convert ?

Thanking You,
Ras

FakeOutdoorsman
June 17th, 2013, 06:11 PM
swscale API has replaced img_convert. See a version of the guide with updated source code (https://github.com/chelyaev/ffmpeg-tutorial). May provide some clues.