2016-08-30 13:28 GMT+02:00 Javier Lopez <jlopez2...@gmail.com>: > > gcc -o ffmpeg_player ffmpeg_player_01.c -Wall -ggdb -lavformat -lvdpau -lva > -lva-drm -lva-x11 -lxcb -lxcb-shm -lxcb -lxcb-xfixes -lxcb-render > -lxcb-shape -lX11 -lasound -lSDL -lx264 -lmp3lame -lfdk-aac -lm -lz -pthread > -lavcodec -lvdpau -lswresample -lswscale -lavutil -lSDL > > Still I have following error: libavcodec/libx264.c:814: undefined reference > to `x264_encoder_open_148'
You have to point the linker to the directory where this version of libx264 is installed: --extra-ldflags=-L/path/to/your/x264/installation/lib Carl Eugen _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user