Hi all,
I'm new to the list, I am looking to the tutorial http://dranger.com/ffmpeg/tutorial01.html. But I had change avcodec_decode_video to avcodec_decode_video2 (Because the first is deprecated) and I do not find the flags to use for compile. The compiler tells me: / Tmp/ccIt2jwE.o: In function `main ': tutorial01.c: (. text +0 x380): undefined reference to `avcodec_decode_video2 ' tutorial01.c: (. text +0 x3d2): undefined reference to `img_convert ' tutorial01.c: (. text +0 X423): undefined reference to `av_free_packet ' collect2: ld Returned 1 exit status My compile line is: gcc tutorial01.c -lavcodec -lavformat -lavutil I already tested with swscale, postproc, filter and device. So i would like know how compile this tutorial with the new revision of libav. Thank you. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
