Patch for rtmpdump/librtmp
#61
I'm talking about svn ppa.

The thing is, I've compiled before with librtmp, as davilla explained.
Now I've upgraded trough xbmc svn ppa and rtmp still works.
But dude called opij reported on irc channel that he doesn't have rtmp support on a clean xbmc svn ppa install.

He didn't gave any other info, like log or something.
So I wonder, does my librtmp works because I did:
cd into xbmc trunk dir

cd lib/librtmp
make
sudo make install

So, can someone confirm that rtmp support works on a clean xbmc svn ppa install.
Thx for the info in advance.

Cheers Wink
Reply
#62
i can confirm that on my system (linux 32bit) r31542 that rtmp is not supported.
code Wrote:09:24:40 T:3077552000 M:540512256 NOTICE: DVDPlayer: Opening: rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEcod1aBaMaXc7cOdpdMbjdKdaabaMb6da-bmmD0i-dHa-$
09:24:40 T:3077552000 M:540512256 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
09:24:40 T:2876050288 M:540512256 DEBUG: thread start, auto delete: 0
09:24:40 T:2876050288 M:540512256 NOTICE: Creating InputStream
09:24:40 T:2876050288 M:540512256 DEBUG: CFileCache::Open - opening <ondemand?auth=daEcod1aBaMaXc7cOdpdMbjdKdaabaMb6da-bmmD0i-dHa-FqoDHnEnODwGnzH&aifp=v00$
09:24:40 T:2876050288 M:540512256 WARNING: CFileFactory::CreateLoader - Unsupported protocol rtmp
09:24:40 T:2876050288 M:540512256 ERROR: Open - failed to open source <rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEcod1aBaMaXc7cOdpdMbjdKdaabaMb6da-b$
09:24:40 T:2876050288 M:540512256 ERROR: CDVDPlayer::OpenInputStream - error opening [rtmp://cp41752.edgefcs.net:1935/ondemand?auth=daEcod1aBaMaXc7cOdpdMb$
09:24:40 T:2876050288 M:540512256 NOTICE: CDVDPlayer::OnExit()
09:24:40 T:2876050288 M:540512256 NOTICE: CDVDPlayer::OnExit() deleting input stream
09:24:40 T:2876050288 M:540512256 DEBUG: Thread 2876050288 terminating
09:24:40 T:3077552000 M:540512256 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc

i downloaded my SVN from team-xbmc-svn PPA for lucid. and i have no "trunk" folder as such (at least not one with lib/librtmp inside it).
This is a clean system with nothing on it but ubuntu, xfce desktop and xbmc lunix 32bit
Reply
#63
You'll need to install librtmp from elsewhere. Looks like it's included in Maverick, but not any previous Ubuntu releases.

For now, you can build and install from source. We're working on the best way to make it installable for our users. It'll likely either end up in our ppa, or we'll talk highlandsun into hosting his own.

TheUni
Reply
#64
What about on the windows side? I assume we have to build it from source as well?
Reply
#65
No, you don't--it uses a pre-compiled DLL downloaded in the build dependencies. I've been using it for the past few days with the Hulu plugin and it works great. Smile
Reply
#66
maruchan Wrote:No, you don't--it uses a pre-compiled DLL downloaded in the build dependencies. I've been using it for the past few days with the Hulu plugin and it works great. Smile
So is that where you've been spending your time Wink We still need the pycrypto (sp?) lib as well right?
Reply
#67
maruchan Wrote:No, you don't--it uses a pre-compiled DLL downloaded in the build dependencies. I've been using it for the past few days with the Hulu plugin and it works great. Smile

Unfortunately, it doesn't work on live rtmp streams on my own Windows 7.

Can you confirm this please?

Thx.
Reply
#68
kricker Wrote:So is that where you've been spending your time Wink We still need the pycrypto (sp?) lib as well right?

CryptoPy - whether you need it or not depends on what plugins you're using. That really is completely independent of librtmp.
Reply
#69
deleted
Reply
#70
I'm trying to use the rtmpe support for a crunchyroll plugin, and I keep encountering:

Code:
"18:56:09 T:3124 M:4294967295   ERROR: RTMP_HashSWF: couldn't open \Users\maruchan\Users\maruchan\.swfinfo for writing, errno 0 (No error)"

It seems to be reading my %HOMEPATH% incorrectly, with Users\maruchan appearing twice. Subsequently, I get:

Code:
"18:56:09 T:3124 M:4294967295    INFO: HandleCtrl, SWFVerification ping received:
18:56:09 T:3124 M:4294967295   ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!"

causing the streams to fail after about a minute. I've set swfVfy = 1, and using the same parameters in rmtpdump allows me to get the full stream with no issues. rtmpdump also seems to write the .swfinfo to the correct location. Could anyone offer any ides? I'm using Win 7 x64 with XBMC svn rev 31689. The full debug log can be found below:

http://pastebin.ca/1898141
Reply
#71
As a follow-up, the same code works as it should under OSX, allowing me to watch an episode to completion. I'm assuming it must be Windows-specific and probably related to the .swfinfo line.
Reply
#72
Sounds like it. Can you try by replacing the librtmp.dll with the one from http://rtmpdump.mplayerhq.hu ? Your description makes it sound like it's using HOMEPATH twice, instead of HOMEDRIVE + HOMEPATH ... Have you doublechecked what HOMEDRIVE and HOMEPATH are set to when running in the CMD shell?
Reply
#73
I tried it with the DLL in the precompiled windows zip (2.3) and got the same results. Is there a newer build I should test it with that I missed? Also, I double checked %HOMEDRIVE% and %HOMEPATH% and they're set to 'C:' and '\Users\maruchan', respectively. I also tested it on a new install of Win 7 x64 and had the same issue. I checked again with 2.3's included rtmpdump.exe and it seems to create the .swfinfo file properly and I'm able to grab the entire stream.
Reply
#74
Then the problem isn't in librtmp, since rtmpdump.exe uses the identical code.
Reply
#75
Folks, can someone confirm this behavior (it's present since and latest librtmp doesn't help):
1. Live streams (Flash Media Server 3 and 3.5) video starts almost like fast forward is pressed, while audio goes normally and then after 2 to 3 seconds it gets in sync and plays normally.
2. Live streams (Wowza Media Server 2) video starts in slow motion, while audio goes normally and then after 2 to 3 seconds it gets in sync and plays normally.

Two totally different behaviors with the same default.py, the only difference is that I change servers.

If others do not notice this behavior, would you share example of default.py to watch a live rtmp stream.

Thanx Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Patch for rtmpdump/librtmp0