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

Help with weird rtmpdump behavior in video capture

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

4n0n1m3m6 06-04-2015 12:16 AM

Help with weird rtmpdump behavior in video capture


 
Hi,
I'm new in video recording and I'm having some problems to dump a video but I think it can be an issue on my rtmpdump version.

I'm using rtmpdump 2.4 with last KSV patch (2015-05-04).

When I try to execute the following on ubuntu 15.04, I'm getting an error:

Code:

rtmpdump -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -f "LNX 17,0,0,134" -W "http://mybeststream.xyz/06609ca7948bff402cc83cf42ed7269c/player1.swf" -p "http://mybeststream.xyz/?id=24040&width=660&height=380&id=mediaspace2" -y "noticias147" --live -o "test.flv"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

When I try to execute the same on Windows 8.1 (with latest KSV patch also) under VM this works perfectly.

What this sounds like ? Do you have any idea ?

Thanks

biezom 06-04-2015 03:04 AM

Re: Help with weird rtmpdump behavior in video capture


 
Quote:

Originally Posted by 4n0n1m3m6 (Post 77157)
Hi,
I'm new in video recording and I'm having some problems to dump a video but I think it can be an issue on my rtmpdump version.

I'm using rtmpdump 2.4 with last KSV patch (2015-05-04).

When I try to execute the following on ubuntu 15.04, I'm getting an error:

Code:

rtmpdump -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -f "LNX 17,0,0,134" -W "http://mybeststream.xyz/06609ca7948bff402cc83cf42ed7269c/player1.swf" -p "http://mybeststream.xyz/?id=24040&width=660&height=380&id=mediaspace2" -y "noticias147" --live -o "test.flv"
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

When I try to execute the same on Windows 8.1 (with latest KSV patch also) under VM this works perfectly.

What this sounds like ? Do you have any idea ?

Thanks

hi
did you compile rtmpdump 2.4 with last KSV patch (2015-05-04) on your ubuntu?

because it works for me with on my debian.



Code:

rtmpdump -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -f "LNX 17,0,0,134" -W "http://mybeststream.xyz/06609ca7948bff402cc83cf42ed7269c/player1.swf" -p "http://mybeststream.xyz/?id=24040&width=660&height=380&id=mediaspace2" -y "noticias147" --live -o "test.flv"
RTMPDump v2.4 KSV-05-05-2015
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: swfurl http://mybeststream.xyz/06609ca7948bff402cc83cf42ed7269c/player1.swf not found
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
INFO: rtmp server sent redirect
INFO: trying to connect with redirected url
WARNING: Trying different position for server digest!
Starting Live Stream
INFO: Metadata:
INFO:  Server                  NGINX RTMP (github.com/arut/nginx-rtmp-module)
INFO:  width                  400.00
INFO:  height                  240.00
INFO:  displayWidth            400.00
INFO:  displayHeight          240.00
INFO:  duration                0.00
INFO:  framerate              20.00
INFO:  fps                    20.00
INFO:  videodatarate          200.00
INFO:  videocodecid            0.00
INFO:  audiodatarate          20.00
INFO:  audiocodecid            0.00
INFO:  profile                ����������������������������������������������������������������
INFO:  level                  ����������������������������������������������������������������
516.229 kB / 19.17 sec


4n0n1m3m6 06-04-2015 01:14 PM

Re: Help with weird rtmpdump behavior in video capture


 
hi biezom,
Yes I did it. I had cloned the rtmpdump from git://git.ffmpeg.org/rtmpdump then applied the patch from https://github.com/K-S-V/Scripts/rel...mpdump-2.4.zip and compiled into /usr/bin but seems like it has no KSV patch applied because isn't showing me KSV's compilation text "v2.4 KSV-05-05-2015" .

Have you ever seen it before ?

Thanks



Quote:

Originally Posted by biezom (Post 77161)
hi
did you compile rtmpdump 2.4 with last KSV patch (2015-05-04) on your ubuntu?

because it works for me with on my debian.



Code:

rtmpdump -r "rtmpe://l.mybeststream.xyz/r/" -a "r/" -f "LNX 17,0,0,134" -W "http://mybeststream.xyz/06609ca7948bff402cc83cf42ed7269c/player1.swf" -p "http://mybeststream.xyz/?id=24040&width=660&height=380&id=mediaspace2" -y "noticias147" --live -o "test.flv"
RTMPDump v2.4 KSV-05-05-2015
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: swfurl http://mybeststream.xyz/06609ca7948bff402cc83cf42ed7269c/player1.swf not found
Connecting ...
WARNING: Trying different position for server digest!
INFO: Connected...
INFO: rtmp server sent redirect
INFO: trying to connect with redirected url
WARNING: Trying different position for server digest!
Starting Live Stream
INFO: Metadata:
INFO:  Server                  NGINX RTMP (github.com/arut/nginx-rtmp-module)
INFO:  width                  400.00
INFO:  height                  240.00
INFO:  displayWidth            400.00
INFO:  displayHeight          240.00
INFO:  duration                0.00
INFO:  framerate              20.00
INFO:  fps                    20.00
INFO:  videodatarate          200.00
INFO:  videocodecid            0.00
INFO:  audiodatarate          20.00
INFO:  audiocodecid            0.00
INFO:  profile                ����������������������������������������������������������������
INFO:  level                  ����������������������������������������������������������������
516.229 kB / 19.17 sec



biezom 06-04-2015 01:37 PM

Re: Help with weird rtmpdump behavior in video capture


 
Quote:

Originally Posted by 4n0n1m3m6 (Post 77171)
hi biezom,
Yes I did it. I had cloned the rtmpdump from git://git.ffmpeg.org/rtmpdump then applied the patch from https://github.com/K-S-V/Scripts/rel...mpdump-2.4.zip and compiled into /usr/bin but seems like it has no KSV patch applied because isn't showing me KSV's compilation text "v2.4 KSV-05-05-2015" .

Have you ever seen it before ?

Thanks

no it's normal just me when i compile i add option for the version


Code:

make VERSION="v2.4 KSV-05-05-2015"
whitout this option you have just RTMPDump v2.4 but it's not the problem

first did you remove the depot's version before

can you post the result of these command in root terminal

Code:

find  /usr -name "librtmp*" -ls
Code:

find  /usr -name "rtmpdump" -ls

4n0n1m3m6 06-04-2015 02:12 PM

Re: Help with weird rtmpdump behavior in video capture


 
these are the results :

Code:

# find  /usr -name "librtmp*" -ls
26608267    4 drwxr-xr-x  2 root    root        4096 Jun  4 01:42 /usr/include/librtmp
25952743    4 drwxr-xr-x  2 root    root        4096 Mai 29 22:11 /usr/share/doc/librtmp1
26740927    8 -rw-r--r--  1 root    root        7143 Jun  4 02:31 /usr/man/man3/librtmp.3
25170240  148 -rw-r-----  1 root    root      148761 Jun  4 02:23 /usr/lib/librtmp.so.0
25170234    4 -rw-r--r--  1 root    root          266 Jun  4 02:31 /usr/lib/pkgconfig/librtmp.pc
25168626    0 lrwxrwxrwx  1 root    root          12 Jun  4 02:31 /usr/lib/librtmp.so -> librtmp.so.1
25175484  112 -rw-r--r--  1 root    root      113536 Nov 11  2014 /usr/lib/x86_64-linux-gnu/librtmp.so.1
25170235  156 -rwxr-xr-x  1 root    root      158168 Jun  4 02:31 /usr/lib/librtmp.so.1
25170182  212 -rw-r--r--  1 root    root      215738 Jun  4 02:31 /usr/lib/librtmp.a

Code:

# find  /usr -name "rtmpdump" -ls
25168625  36 -rwxr-xr-x  1 root    root        36368 Jun  4 02:31 /usr/bin/rtmpdump


biezom 06-04-2015 02:29 PM

Re: Help with weird rtmpdump behavior in video capture


 
Quote:

Originally Posted by 4n0n1m3m6 (Post 77174)
these are the results :

Code:

# find  /usr -name "librtmp*" -ls
26608267    4 drwxr-xr-x  2 root    root        4096 Jun  4 01:42 /usr/include/librtmp
25952743    4 drwxr-xr-x  2 root    root        4096 Mai 29 22:11 /usr/share/doc/librtmp1
26740927    8 -rw-r--r--  1 root    root        7143 Jun  4 02:31 /usr/man/man3/librtmp.3
25170240  148 -rw-r-----  1 root    root      148761 Jun  4 02:23 /usr/lib/librtmp.so.0
25170234    4 -rw-r--r--  1 root    root          266 Jun  4 02:31 /usr/lib/pkgconfig/librtmp.pc
25168626    0 lrwxrwxrwx  1 root    root          12 Jun  4 02:31 /usr/lib/librtmp.so -> librtmp.so.1
25175484  112 -rw-r--r--  1 root    root      113536 Nov 11  2014 /usr/lib/x86_64-linux-gnu/librtmp.so.1
25170235  156 -rwxr-xr-x  1 root    root      158168 Jun  4 02:31 /usr/lib/librtmp.so.1
25170182  212 -rw-r--r--  1 root    root      215738 Jun  4 02:31 /usr/lib/librtmp.a

Code:

# find  /usr -name "rtmpdump" -ls
25168625  36 -rwxr-xr-x  1 root    root        36368 Jun  4 02:31 /usr/bin/rtmpdump


ok
1) make a backup
Code:

mv /usr/lib/librtmp.so.0 /usr/lib/librtmp.so.0.bak
Code:

mv /usr/lib/x86_64-linux-gnu/librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.1.bak
2)then

Code:

ln -s /usr/lib/librtmp.so.1 /usr/lib/librtmp.so.0
Code:

ln -s /usr/lib/librtmp.so.1 /usr/lib/x86_64-linux-gnu/librtmp.so.1

4n0n1m3m6 06-04-2015 03:14 PM

Re: Help with weird rtmpdump behavior in video capture


 
yes!! now is working perfectly !!!

So from what i could see rmtpdump should be using rtmplib.so.1 from /usr/lib/x86_64-linux-gnu/ instead of /usr/lib .. the most weird is when i compiled, it was copied to /usr/lib and i was thinking that rtmpdump was using from there.

Thanks a lot biezom !!

biezom 06-04-2015 03:19 PM

Re: Help with weird rtmpdump behavior in video capture


 
Quote:

Originally Posted by 4n0n1m3m6 (Post 77176)
yes!! now is working perfectly !!!

So from what i could see rmtpdump should be using rtmplib.so.1 from /usr/lib/x86_64-linux-gnu/ instead of /usr/lib .. the most weird is when i compiled, it was copied to /usr/lib and i was thinking that rtmpdump was using from there.

Thanks a lot biezom !!

surely it is possible to compile directly in /usr/lib/x86_64-linux-gnu/

maybe you need repeat operation after some update

4n0n1m3m6 06-04-2015 04:13 PM

Re: Help with weird rtmpdump behavior in video capture


 
Quote:

Originally Posted by biezom (Post 77177)
surely it is possible to compile directly in /usr/lib/x86_64-linux-gnu/

maybe you need repeat operation after some update



sure... i will keep it in mind..

thanks a lot !


All times are GMT -6. The time now is 11:38 AM.