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

Customized rtmpdump binaries with patch file

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

TEOL 02-24-2016 06:52 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by andreibv (Post 82625)
I'm trying to save the stream from the following url: http://www.rcs-rds.ro/internet-digi-...predeal-centru
I've tried with RTMPDumpHelper but I get the following errors:

ERROR: RTMP_Connect0, failed to connect socket. 10060 (Unknown error)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header

Any tips? What am I doing wrong?

This is what happens when you run the latest version anywhere else but the desktop thats why I asked for a new bug fix rather than a code as a new version should work as a previous version or it means it's riddled with bugs.

For the moment I am running it off of the desktop as a solution to this.

ChapelOfGhouls 02-29-2016 05:49 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by mleczan (Post 82434)
Hello @KSV, I've made a patch which allow resuming live stream: https://drive.google.com/file/d/0B0d...ew?usp=sharing

New behaviour instead of ignoring --resume flag when --live is used just force to continue stream record, legacy is untouched. I'm not sure if this is a proper solution but anyway proved to be working fine.
Any chance to include this patch in your release so it won't get lost over time? (Help message was not updated)

How do I apply this patch?

Xidus 03-03-2016 07:54 PM

Re: Customized rtmpdump binaries with patch file


 
Is there a way to change the timestamp to 24 hour format? It is currently in 12 hour format without AM/PM indicator.

mleczan 03-07-2016 04:53 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by ChapelOfGhouls (Post 82874)
How do I apply this patch?

You should be able to apply it by patch -p0 -i rtmpdump.c.patch - file should be located in same dir as rtmpdump.c

ChapelOfGhouls 03-14-2016 08:55 AM

Re: Customized rtmpdump binaries with patch file


 
Quote:

Originally Posted by mleczan (Post 83007)
You should be able to apply it by patch -p0 -i rtmpdump.c.patch - file should be located in same dir as rtmpdump.c

I can't, I don't think I have the tools for it. Can someone else do it and post it here?

ChapelOfGhouls 03-18-2016 03:14 PM

Re: Customized rtmpdump binaries with patch file


 
Is there a 64-bit version?

AlvoErrado2 04-02-2016 03:44 PM

Re: Customized rtmpdump binaries with patch file


 
I'm trying to save the stream from the following url:

Code:

http://player.stv.tv/episode/31rt/dumb-bunnies/smile-trail/
The download started, the file was created and everything seemed to work fine. But the download stop, and resume command has no effect.

AlvoErrado2 04-04-2016 09:15 PM

Re: Customized rtmpdump binaries with patch file


 
Problem solved using livestreamer.:cool:

xanadu6291 04-18-2016 07:24 PM

Re: Customized rtmpdump binaries with patch file


 
Hello, K-S-V san,

I have one issue with your patch.
In fact, it is also a issue of liborc. liborc is used in dirac schroedinger.

If I apply your patch with git repository of rtmpdump, and build it as static library, it occurs ffmpeg build error. Like following:

LD ffmpeg_g
LD ffplay_g
LD ffprobe_g
duplicate symbol _strsplit in:
/Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
/Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
duplicate symbol _strsplit in:
/Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
/Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)
ld: 1 duplicate symbol for architecture x86_64
duplicate symbol _strsplit in:
/Volumes/ffmpeg_compile/lib/librtmp.a(rtmp.o)
/Volumes/ffmpeg_compile/lib/liborc-0.4.a(liborc_0.4_la-orcutils.o)

I searched your patch and found string "strsplit" (function name?)

I also tried to build ffmpeg with --enable-libschroedinger --enable-librtmp option, but never applied your patch, then above error does not occurred.

So from here it's a kind of trade. Do you mind changing name of "strsplit" to some other?

Or should I build rtmpdump without your patch? i.e. in the view of using rtmpdump with ffmpeg, your patch is worth to apply or not?


Please consider...

rantanplan 05-26-2016 07:17 PM

Re: Customized rtmpdump binaries with patch file


 
Hello, K-S-V san,

I have a strange issue on Ubuntu: I compiled patched rtmpdump on a older 32bit system (14.04 LTS) and it works flawlessly. Then i compiled exactly the same code on a 64 bi 16.04 LTS.

With identical command lines I always get a
Code:

  Closing connection: NetStream.Play.Failed
error with the 64bit version.
On 32bit it works fine.

What could be the reason? It's not a secure connection, so SSL is not used....

Regards


All times are GMT -6. The time now is 01:16 PM.