Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

rtmpdump + vaughnlive.tv

(http://stream-recorder.com/forum/showthread.php?t=18991)

bloodycorpse 11-07-2014 06:58 PM

rtmpdump + vaughnlive.tv


 
rtmpdump stops every 8 seconds in vaughnlive.tv, there is way to solve the problem?

Im trying this:

HTML Code:

rtmpdump -v -r "rtmp://50.7.78.50:443/live" -a "live?0FxTOArVwqET8HJgoEZRVE6nhdUO8m9F" -f "LNX 11,2,202,400" -W "http://vaughnlive.tv/4240433238/swf/VaughnSoftPlayer.swf" -p "http://vaughnlive.tv/embed/video/mfv_08" --live -y "live_mfv_08" -o - | mplayer -
Fuente:
HTML Code:

http://vaughnlive.tv/mfv_08
thanks! :)

troller12 11-08-2014 04:29 AM

Re: rtmpdump + vaughnlive.tv


 
Hi,

do you use the latest version?It dosen't stop for me....
Code:

RTMPDump v2.4 GIT-2014-07-07 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
WARNING: You haven't specified an output file (-o filename), using stdout
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  presetname              Custom
INFO:  creationdate            Sat Nov 08 03:32:11 2014
INFO:  videodevice            713x_3 TV Card Capture
INFO:  framerate              30.00
INFO:  width                  480.00
INFO:  height                  270.00
INFO:  videocodecid            avc1
INFO:  videodatarate          400.00
INFO:  avclevel                30.00
INFO:  avcprofile              66.00
INFO:  videokeyframe_frequency 3.00
INFO:  audiodevice            L´┐?nea de entrada (Realtek High
INFO:  audiosamplerate        44100.00
INFO:  audiochannels          2.00
INFO:  audioinputvolume        100.00
INFO:  audiocodecid            .mp3
INFO:  audiodatarate          96.00
6425.712 kB / 103.91 sec

greetz

bloodycorpse 11-08-2014 08:10 AM

Re: rtmpdump + vaughnlive.tv


 
Quote:

Originally Posted by troller12 (Post 71914)
Hi,
greetz

Ok, I think the compilation is the problem, im not an advanced user on linux. this is what i got:

Code:

-@debian:~$ cd /home/trivium/rtmpdump/
trivium@debian:~/rtmpdump$ patch -p0 -i Patch.diff
patching file Makefile
patching file librtmp/Makefile
patching file librtmp/amf.c
patching file librtmp/handshake.h
patching file librtmp/hashswf.c
patching file librtmp/log.c
patching file librtmp/parseurl.c
patching file librtmp/rtmp.c
patching file librtmp/rtmp.h
patching file librtmp/rtmp_sys.h
patching file rtmpdump.c
patching file rtmpgw.c
patching file rtmpsrv.c
patching file rtmpsuck.c
patching file thread.c

-@debian:~/rtmpdump$ make
make[1]: Entering directory '/home/trivium/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:4084:7: warning: variable ‘didAlloc’ set but not used [-Wunused-but-set-variable]
  int didAlloc = FALSE;
      ^
rtmp.c: At top level:
rtmp.c:5828:1: warning: ‘SendGetStreamConnectionCount’ defined but not used [-Wunused-function]
 SendGetStreamConnectionCount(RTMP *r)
 ^
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: creando librtmp.a
gcc -shared -Wl,-soname,librtmp.so.1  -o librtmp.so.1 rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz -lm
ln -sf librtmp.so.1 librtmp.so
make[1]: Leaving directory '/home/trivium/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 -lm
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 -lm
gcc -Wall  -DRTMPDUMP_VERSION=\"v2.4\"  -O2  -c -o rtmpsrv.o rtmpsrv.c
gcc -Wall  -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz -lm
rtmpsrv.o: En la función `ServeInvoke':
rtmpsrv.c:(.text+0x205e): aviso: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
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 -lm
rtmpsuck.o: En la función `ServeInvoke':
rtmpsuck.c:(.text+0x1806): aviso: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'

-@debian:~/rtmpdump$ sudo make install prefix=/usr
make[1]: Entering directory '/home/trivium/rtmpdump/librtmp'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/trivium/rtmpdump/librtmp'
mkdir -p /usr/bin /usr/sbin /usr/man/man1 /usr/man/man8
cp rtmpdump /usr/bin
cp rtmpgw rtmpsrv rtmpsuck /usr/sbin
cp rtmpdump.1 /usr/man/man1
cp rtmpgw.8 /usr/man/man8
make[1]: Entering directory '/home/trivium/rtmpdump/librtmp'
sed -e "s;@prefix@;/usr;" -e "s;@libdir@;/usr/lib;" \
        -e "s;@VERSION@;v2.4;" \
        -e "s;@CRYPTO_REQ@;libssl,libcrypto;" \
        -e "s;@PUBLIC_LIBS@;;" \
        -e "s;@PRIVATE_LIBS@;-lm;" librtmp.pc.in > librtmp.pc
mkdir -p /usr/include/librtmp /usr/lib/pkgconfig /usr/man/man3 /usr/lib
cp amf.h http.h log.h rtmp.h /usr/include/librtmp
cp librtmp.a /usr/lib
cp librtmp.pc /usr/lib/pkgconfig
cp librtmp.3 /usr/man/man3
cp librtmp.so.1 /usr/lib
cd /usr/lib; ln -sf librtmp.so.1 librtmp.so
make[1]: Leaving directory '/home/trivium/rtmpdump/librtmp'

After this, rtmpdump patched version trying to work but only for 1 second, the same issue with all the streaming links.

with the normal version without patch works but only 8 seconds and others streaming links work fine. sorry my English


All times are GMT -6. The time now is 03:39 PM.