wellingtonsr
(usa Slackware)
Enviado em 23/12/2012 - 22:17h
Fiz o que vocÊ indicou anteriormente e segue o resultado:
bash-4.2# git clone git://git.ffmpeg.org/rtmpdump
Cloning into 'rtmpdump'...
remote: Counting objects: 2482, done.
remote: Compressing objects: 100% (843/843), done.
remote: Total 2482 (delta 1874), reused 2149 (delta 1638)
Receiving objects: 100% (2482/2482), 757.27 KiB | 109 KiB/s, done.
Resolving deltas: 100% (1874/1874), done.
bash-4.2# ffmpeg -i /home/wellington/Linux_V_deos_da_palestra_sobre_Forense_Computacional_Dica.flv teste.avi
ffmpeg: error while loading shared libraries: librtmp.so.0: cannot open shared object file: No such file or directory
bash-4.2# cd rtmpdump/
bash-4.2# make
make[1]: Entrando no diretório `/opt/mmc/rtmpdump/librtmp'
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o rtmp.o rtmp.c
rtmp.c: In function ‘RTMP_ReadPacket’:
rtmp.c:3564:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable]
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o log.o log.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o amf.o amf.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o hashswf.o hashswf.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -O2 -fPIC -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating librtmp.a
gcc -shared -Wl,-soname,librtmp.so.0 -o librtmp.so.0 rtmp.o log.o amf.o hashswf.o parseurl.o -lssl -lcrypto -lz
ln -sf librtmp.so.0 librtmp.so
make[1]: Saindo do diretório `/opt/mmc/rtmpdump/librtmp'
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpdump.o rtmpdump.c
gcc -Wall -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpgw.o rtmpgw.c
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o thread.o thread.c
gcc -Wall -o rtmpgw rtmpgw.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpsrv.o rtmpsrv.c
rtmpsrv.c: In function ‘dumpAMF’:
rtmpsrv.c:407:10: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
gcc -Wall -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz
gcc -Wall -DRTMPDUMP_VERSION=\"v2.4\" -O2 -c -o rtmpsuck.o rtmpsuck.c
gcc -Wall -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz
bash-4.2# make install
make[1]: Entrando no diretório `/opt/mmc/rtmpdump/librtmp'
make[1]: Nada a ser feito para `all'.
make[1]: Saindo do diretório `/opt/mmc/rtmpdump/librtmp'
mkdir -p /usr/local/bin /usr/local/sbin /usr/local/man/man1 /usr/local/man/man8
cp rtmpdump /usr/local/bin
cp rtmpgw rtmpsrv rtmpsuck /usr/local/sbin
cp rtmpdump.1 /usr/local/man/man1
cp rtmpgw.8 /usr/local/man/man8
make[1]: Entrando no diretório `/opt/mmc/rtmpdump/librtmp'
sed -e "s;@prefix@;/usr/local;" -e "s;@libdir@;/usr/local/lib;" \
-e "s;@VERSION@;v2.4;" \
-e "s;@CRYPTO_REQ@;libssl,libcrypto;" \
-e "s;@PRIVATE_LIBS@;;" librtmp.pc.in > librtmp.pc
mkdir -p /usr/local/include/librtmp /usr/local/lib/pkgconfig /usr/local/man/man3 /usr/local/lib
cp amf.h http.h log.h rtmp.h /usr/local/include/librtmp
cp librtmp.a /usr/local/lib
cp librtmp.pc /usr/local/lib/pkgconfig
cp librtmp.3 /usr/local/man/man3
cp librtmp.so.0 /usr/local/lib
cd /usr/local/lib; ln -sf librtmp.so.0 librtmp.so
make[1]: Saindo do diretório `/opt/mmc/rtmpdump/librtmp'
bash-4.2# ldconfig
bash-4.2# ffmpeg -i /home/wellington/Linux_V_deos_da_palestra_sobre_Forense_Computacional_Dica.flv teste.avi
ffmpeg: error while loading shared libraries: libbluray.so.1: cannot open shared object file: No such file or directory
bash-4.2#