[FFmpeg-user] ffmpeg configure error for supporting librtmp
LXH
xiaohui.li at fulansoft.com
Wed Nov 7 02:45:28 CET 2012
Hi all,
I want to add librtmp support in the FFmpeg (v 0.5.0),but when I have compiled the rtmpdump-2.3 and configure the FFmpeg failed.
Below are the log infos:
[d42lxh at linux-server19 ffmpeg]$ (master *%)./configure
########################
# Configuration FFMPEG #
########################
--enable-librtmp --rtmpdumpdir=../rtmpdump --enable-libcurl --curldir=../curl --cross-prefix=sh4-linux- --enable-cross-compile --arch=sh4 --disable-encoders --disable-decoders --disable-muxers --disable-ipv6 --disable-parser=cavsvideo --disable-parser=dca --disable-ffmpeg --disable-ffplay --disable-ffserver --extra-cflags=-DCONFIG_HTTPS_PROTOCOL --extra-ldflags=-L/usr/local/lib --extra-cflags=-I/usr/local/include --extra-libs=-lrtmp
ERROR: librtmp not found
[d42lxh at linux-server19 ffmpeg]$ (master *%)pkg-config --exists --print-errors librtmp
Package librtmp was not found in the pkg-config search path.
Perhaps you should add the directory containing `librtmp.pc'
to the PKG_CONFIG_PATH environment variable
No package 'librtmp' found
I have tried to add "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/" in the configure file or launch the command "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/" in the terminal window.
I want to know Whether it's possible to add librtmp support in the ffmpeg(v 0.5.0) or not. If it's feasible, what could I have made wrong? If you know ,please help me. Thank you!
More information about the ffmpeg-user
mailing list