Am 23.10.2010 14:45, schrieb S R: > Hi > > I am using the latest svn download of ffmpeg. I am trying to compile a code > that compiles fine with a previous version of ffmpeg but gives error with > this version. I do not know how to solve this error. > > I am working in ubuntu 9.04 and followed the ubuntu forums instructions to > install ffmpeg. > > Appreciate your help please. > > The compilation command used is > > g++ -o test test.c -L/usr/local/lib -I/usr/local/include -lavformat > -lavcodec -lavutil -lswscale -lmp3lame -lfaac -lvorbis -lvorbisenc > -lxvidcore -pthread -ltheora -lx264 -lz -lbz2 -lm > > The output is as follows: > > test.c: In function ‘double Output_Duration_FPS(AVFormatContext*, int)’: > test.c:68: warning: format ‘%u’ expects type ‘unsigned int’, but argument 6 > [...]
Looks like ffmpeg was not configured/installed correctly. What was your "./configure ...."-line? Did you forget "--enable-shared" there? Jannis _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
