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
  #311  
Old 11-05-2014, 04:34 PM
msdos msdos is offline
Junior Member
 
Join Date: Aug 2014
Posts: 3
msdos is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by troller12 View Post
So it also stays loaded with the librtmp.dll file from the latest rtmpdump package.
Code:
rtmpdump -v -r "rtmp://109.123.126.34/live" -y "canal89?id=76120" -W "http://www.ucaster.eu/static/scripts/fplayer.swf" -p "http://www.ucaster.eu/embedded/canal89/1/650/400" -C S:OK | "VLC" -
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            Sun Nov 02 15:25:28 2014
INFO:   videodevice             OEM Device [1]
INFO:   framerate               24.00
INFO:   width                   512.00
INFO:   height                  288.00
INFO:   videocodecid            avc1
INFO:   videodatarate           500.00
INFO:   avclevel                31.00
INFO:   avcprofile              66.00
INFO:   videokeyframe_frequency 5.00
INFO:   audiodevice             OEM Device [1]
INFO:   audiosamplerate         22050.00
INFO:   audiochannels           1.00
INFO:   audioinputvolume        75.00
INFO:   audiocodecid            .mp3
INFO:   audiodatarate           32.00
9511.126 kB / 139.52 sec
greetz

Thank you. but where is android fails me I have compiled the latest librtmp this server ucaster.eu
Reply With Quote
  #312  
Old 11-15-2014, 09:05 AM
strummer strummer is offline
Junior Member
 
Join Date: Nov 2014
Posts: 1
strummer is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Anynone have a working static binary of this for Android Lollipop?
Reply With Quote
  #313  
Old 11-15-2014, 06:31 PM
notsopvt notsopvt is offline
Junior Member
 
Join Date: Nov 2013
Posts: 13
notsopvt is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Pff... Lost some time with this.
Its not working on lubuntu utopic (maybe not ubuntu too).
Had a recently formated lubuntu utopic and kept getting the netstream error. Tried on another lubuntu 14.10, same problem. While it worked on my main machine MintOS and VMs with lubuntu trusty.
The only libs I had installed where the requirements ( sudo apt-get install build-essential git-core checkinstall libssl-dev ).

Reformated with lubuntu trusty, installed the requirements and it worked just fine.

PS: Where are the updated versions? (you say there is an update on 28/10/2014 but patch file in the zip is from 2013). And thanks for your work!
Reply With Quote
  #314  
Old 11-16-2014, 01:44 PM
jhb50 jhb50 is offline
Member
 
Join Date: Nov 2011
Posts: 54
jhb50 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Versions are in first post. My patch.diff is dated 10/28/14.
Reply With Quote
  #315  
Old 11-25-2014, 05:44 PM
gorilla.maguila gorilla.maguila is offline
Member
 
Join Date: Dec 2012
Posts: 62
gorilla.maguila is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


I've been looking into this issue:

http://stream-recorder.com/forum/hel...te-t19008.html

And I've come to this conclusion:

It seems that when the app is explicitly specified in the command:

Code:
rtmpdump -r "rtmp://185.39.10.134:1735/redirect/" -a "redirect/?token=play@141591954001747" -f "WIN 14,0,0,179" -W "http://www.spasswitz.com/jwplayer5/addplayer/jwplayer.flash.swf" -p "http://www.sitenow.me/embedfr.php?c=1872&width=640&height=360&autostart=true&tk1=6iCVreJJok9hNAu5pszYQ6U0Hq1%2FQQmmVh7x%2FXmsQUrsGyHMPRzN01hTpVpu6A8Ee5J538KCXzWtOYWdt2iL9A%3D%3D&tk2=xk1UrvQ3lZBdhysbnwOqS1qoOA7%2FvG3%2BFYMtZtJ65PU%3D&tk3=QTZ5%2Bx8UqV9oY9WGF1OwCOnvuhBStwHv4DixCuxFg7c%3D" -y "footpluusss_7x1xktw" -o "2014-11-13_05-03-10_footpluusss_7x1xktw.flv" -T "@@stop-stole@@"
And the servers answer with a redirect:

Code:
redirect, STRING:     rtmp://185.39.9.162:1735/vod?token=play@141598783902787
The tcUrl is freed due to the RTMP_LF_FTCU flag being set:

Code:
  if ((r->Link.lFlags & RTMP_LF_FTCU) && !reconnect)
    {
      free(r->Link.tcUrl.av_val);
      r->Link.tcUrl.av_val = NULL;
      r->Link.lFlags ^= RTMP_LF_FTCU;
    }
Thus fails to connect.

To solve it I have modified a couple of lines in rtmp.c and parseurl.c:

Code:
  if ((r->Link.lFlags & RTMP_LF_FTCU) && !reconnect && !r->Link.redirected)
    {
      free(r->Link.tcUrl.av_val);
      r->Link.tcUrl.av_val = NULL;
      r->Link.lFlags ^= RTMP_LF_FTCU;
    }


Code:
  else if (AVMATCH(&method, &av_close))
    {
      if (r->Link.redirected)
        {
          r->Link.redirected = FALSE;
          RTMP_Close(r);
	  r->Link.redirected = FALSE;
          RTMP_Log(RTMP_LOGINFO, "trying to connect with redirected url");
          RTMP_Connect(r, NULL);
        }

And in parseUrl.c instead of:

Code:
if ((!ques) && doubleSlash)
	  applen -= 1;
to


Code:
if (doubleSlash)
	  applen -= 1;

With changes from above, everything seems to work but I'm not sure if these changes are safe.

Maybe @KSV can help.
Reply With Quote
  #316  
Old 11-25-2014, 10:57 PM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Customized rtmpdump binaries with patch file


@gorilla.maguila

i will look into this.
Reply With Quote
  #317  
Old 12-02-2014, 10:28 AM
gorilla.maguila gorilla.maguila is offline
Member
 
Join Date: Dec 2012
Posts: 62
gorilla.maguila is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


@KSV

Have you had any chance to look at it?

Thanks
Reply With Quote
  #318  
Old 12-12-2014, 03:39 PM
Sniper7 Sniper7 is offline
Junior Member
 
Join Date: Sep 2014
Posts: 12
Sniper7 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Hi any Update With Streampiraten Patch Not Working I thing He change Systeme
Reply With Quote
  #319  
Old 12-14-2014, 07:09 PM
RedPenguin RedPenguin is offline
Member
 
Join Date: Feb 2012
Posts: 85
RedPenguin is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Quote:
Originally Posted by Sniper7 View Post
Hi any Update With Streampiraten Patch Not Working I thing He change Systeme
KSV, mips changed a little bit around.

They now also use "mipsplayer.com" so in the Patch you can do:

else if (strstr(pageUrl, "mips.tv") || strstr(pageUrl, "mipsplayer.com"))

and I find it works fine.
Reply With Quote
  #320  
Old 12-15-2014, 08:58 AM
Sniper7 Sniper7 is offline
Junior Member
 
Join Date: Sep 2014
Posts: 12
Sniper7 is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


I use this Command

rtmpdump --live -r "rtmp://pc3oot.us.to:1935/live/cinema" -p "http://www.streamnetwork.tv/page/PremiumTest" -W "http://ni208114_1.vweb03.nitrado.net/plaasma.swf" | ffmpeg -i - -isync -acodec aac -strict -2 -b:a 64k -vcodec libx264 -preset veryfast -s 660x400 -b:v 300k -f flv "rtmp://"


RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstream

With patches

WARNING: You haven't specified an output file (-o fil
Connecting ...
ffmpeg version N-68355-gae81680 Copyright (c) 2000-20
built on Dec 10 2014 02:07:55 with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --dis
isynth --enable-bzlib --enable-fontconfig --enable-fr
le-iconv --enable-libass --enable-libbluray --enable-
enable-libfreetype --enable-libgme --enable-libgsm --
modplug --enable-libmp3lame --enable-libopencore-amrn
b --enable-libopenjpeg --enable-libopus --enable-libr
r --enable-libsoxr --enable-libspeex --enable-libtheo
able-libvidstab --enable-libvo-aacenc --enable-libvo-
--enable-libvpx --enable-libwavpack --enable-libwebp
libx265 --enable-libxavs --enable-libxvid --enable-de
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 14.100 / 56. 14.100
libavformat 56. 15.103 / 56. 15.103
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
INFO: Connected...
ERROR: Closing connection: NetStream.Play.Failed
pipe:: Invalid data found when processing input
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 04:56 PM.


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