Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-04-2015, 01:16 AM
4n0n1m3m6 4n0n1m3m6 is offline
Junior Member
 
Join Date: Jun 2015
Posts: 5
4n0n1m3m6 is on a distinguished road
Default

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
Reply With Quote
  #2  
Old 06-04-2015, 04:04 AM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Help with weird rtmpdump behavior in video capture


Quote:
Originally Posted by 4n0n1m3m6 View Post
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
Reply With Quote
  #3  
Old 06-04-2015, 02:14 PM
4n0n1m3m6 4n0n1m3m6 is offline
Junior Member
 
Join Date: Jun 2015
Posts: 5
4n0n1m3m6 is on a distinguished road
Default

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 View Post
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
Reply With Quote
  #4  
Old 06-04-2015, 02:37 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Help with weird rtmpdump behavior in video capture


Quote:
Originally Posted by 4n0n1m3m6 View Post
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
Reply With Quote
  #5  
Old 06-04-2015, 03:12 PM
4n0n1m3m6 4n0n1m3m6 is offline
Junior Member
 
Join Date: Jun 2015
Posts: 5
4n0n1m3m6 is on a distinguished road
Default

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
Reply With Quote
  #6  
Old 06-04-2015, 03:29 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Help with weird rtmpdump behavior in video capture


Quote:
Originally Posted by 4n0n1m3m6 View Post
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
Reply With Quote
  #7  
Old 06-04-2015, 04:14 PM
4n0n1m3m6 4n0n1m3m6 is offline
Junior Member
 
Join Date: Jun 2015
Posts: 5
4n0n1m3m6 is on a distinguished road
Default

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 !!
Reply With Quote
  #8  
Old 06-04-2015, 04:19 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Help with weird rtmpdump behavior in video capture


Quote:
Originally Posted by 4n0n1m3m6 View Post
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
Reply With Quote
  #9  
Old 06-04-2015, 05:13 PM
4n0n1m3m6 4n0n1m3m6 is offline
Junior Member
 
Join Date: Jun 2015
Posts: 5
4n0n1m3m6 is on a distinguished road
Default

Re: Help with weird rtmpdump behavior in video capture


Quote:
Originally Posted by biezom View Post
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 !
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:45 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons