LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2009, 02:27 PM   #2116
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15

Quote:
Originally Posted by daftcat View Post
MLB.com changed their SOAP messages slightly (but enough to break mlbviewer.) You'll need to update to either the latest Sourceforge release or the latest SVN revision, copy the new MediaService.xsd to your ~/.mlb, and remove your suds cache (rm -r /tmp/suds).

Refer to this post for more details.
thanks. that gets the stream working. unfortunately it stops after a few seconds or more... but i assume that is just network issues in my house. 14 people on one dsl line...
thanks daftcat!
 
Old 06-17-2009, 02:37 PM   #2117
raqball
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Hi long time lurker 1st time poster... 1st let me say thank you daftcat for all the hard work and effort you have put into this! Paypal on the way shortly!

I am on FC11 and am getting the following error:

Code:
/usr/lib/python2.6/site-packages/suds/bindings/__init__.py:34 : DeprecitationWarning : object.__init() takes no parameters
                             unicode.__init__(self, s)
The game boots up just fine but after a few minutes mplayer auto exits (mlbviewer stays open)

Could this have something to do with why I am getting booted? I have tried running 2200k feed and the same happens.

I have cleared tmp/suds and the same continues.

Thanks in advance!
 
Old 06-17-2009, 08:53 PM   #2118
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
I'm wondering what people are doing to get non-NexDef video and the radio working. I have compiled flvstreamer-1.7 and renamed the compiled flvstreamer_x86 binary to rtmpdump but it always segfaults on me for both radio and non-NexDef. Thanks!
 
Old 06-18-2009, 12:31 AM   #2119
danq989
LQ Newbie
 
Registered: Jul 2008
Posts: 11

Rep: Reputation: 0
Hi Daftcat,

Yes, it resolved itself for me as well an hour or so into the game (NYY vs. Nats). For at least some of that hour, the flash player wasn't playing a stream either (though there was a period where flash player worked but I still got parser errors from mlbviewer).

P.S. Thanks again for creating this wonderful tool!

Quote:
Originally Posted by daftcat View Post
Is this resolving itself like with the other two who reported it?

I can look into the code on thursday and see what I can find.
 
Old 06-18-2009, 11:11 AM   #2120
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by dols View Post
I'm wondering what people are doing to get non-NexDef video and the radio working. I have compiled flvstreamer-1.7 and renamed the compiled flvstreamer_x86 binary to rtmpdump but it always segfaults on me for both radio and non-NexDef. Thanks!
Shot in the dark but both work very well for me and I'm using rtmpdump1.6.
You can get it at http://tinyurl.com/mwmzh3

Since it isn't working, you have nothing to lose by trying it.rr

Last edited by Wolfvorkian; 06-18-2009 at 11:25 AM. Reason: remember to run the patches daftcat has provided
 
Old 06-18-2009, 02:02 PM   #2121
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by Wolfvorkian View Post
Shot in the dark but both work very well for me and I'm using rtmpdump1.6.
You can get it at http://tinyurl.com/mwmzh3

Since it isn't working, you have nothing to lose by trying it.rr
I've already tried rtmpdump1.6 before and haven't had any success with that either. There's no working "make install" for this so I'm wondering what people are doing to get this working.
 
Old 06-18-2009, 05:16 PM   #2122
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by dols View Post
I've already tried rtmpdump1.6 before and haven't had any success with that either. There's no working "make install" for this so I'm wondering what people are doing to get this working.
Oh...just copy the executable that is created in your build directory to /usr/bin/ or someplace in your path.

You did run the patches first, right?
 
Old 06-18-2009, 06:25 PM   #2123
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by Wolfvorkian View Post
Oh...just copy the executable that is created in your build directory to /usr/bin/ or someplace in your path.

You did run the patches first, right?
patches? we don't need no steenkin patches!

lol of course i didn't. it's hard to find info in this thread sometimes.
 
Old 06-18-2009, 06:29 PM   #2124
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dols View Post
I've already tried rtmpdump1.6 before and haven't had any success with that either. There's no working "make install" for this so I'm wondering what people are doing to get this working.
Neither rtmpdump nor flvstreamer will work without a patch. The segfault you are seeing with flvstreamer is that the unpatched flvstreamer (same with unpatched rtmpdump) doesn't allocate enough memory for one of the RTMP connect messages (I think it's createStream, but I don't remember offhand.) Consequently, when we fill in that message with far more bytes than it was expecting, buffer overflow and crash. I haven't created a patch for flvstreamer yet but as others have posted and as documented in the README, INSTALL, and REQUIREMENTS pages, you must use rtmpdump and it must be patched with the Patch.sh I supply in rtmpdump-patches directory.

I'll get an flvstreamer patch ready soon.

I know you're not running the patch because the patch adds a make install to the Makefile.
 
Old 06-18-2009, 06:33 PM   #2125
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dols View Post
patches? we don't need no steenkin patches!

lol of course i didn't. it's hard to find info in this thread sometimes.
Which is why there are README, INSTALL and REQUIREMENTS files distributed with mlbviewer. The thread should be used in addition to, not in place of, those files. You're very lucky my RTFM gun is sitting on a shelf too far for me to reach.
 
Old 06-18-2009, 06:37 PM   #2126
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Which is why there are README, INSTALL and REQUIREMENTS files distributed with mlbviewer. The thread should be used in addition to, not in place of, those files. You're very lucky my RTFM gun is sitting on a shelf too far for me to reach.
ha! yeah, I'm scatterbrained. I found the patch now and patched 1.6. flvstreamer doesn't patch cleanly though. I have yankees vs orioles up now with rtmpdump. thanks!
 
Old 06-18-2009, 06:41 PM   #2127
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by raqball View Post
Hi long time lurker 1st time poster... 1st let me say thank you daftcat for all the hard work and effort you have put into this! Paypal on the way shortly!

I am on FC11 and am getting the following error:

Code:
/usr/lib/python2.6/site-packages/suds/bindings/__init__.py:34 : DeprecitationWarning : object.__init() takes no parameters
                             unicode.__init__(self, s)
The game boots up just fine but after a few minutes mplayer auto exits (mlbviewer stays open)

Could this have something to do with why I am getting booted? I have tried running 2200k feed and the same happens.

I have cleared tmp/suds and the same continues.

Thanks in advance!
Nope. If the game is started, suds has done its job. This is a warning and it's harmless.

What stream are you trying to use? 3000K? That's kind of dicey at the moment even in a perfect world and using the flash player. As I can't even test with 3000K myself (my laptop doesn't support 1080p), 3000K comes with no warranty (not that any of mlbviewer has a warranty. )

So, let's see if we can't get you 2200K working instead. Once that works, I'll leave you on your own (or with the help of others here) to figure out 3000K.

First, do you have the CPU, memory, and bandwidth to handle 2200K? Post those numbers for us.

Second, how long has it been since you've restarted autobahn.jar? This code isn't perfect and it's probably best to restart it first before we go any further with mlbviewer and mplayer.

Third, is your mplayer relatively current? Has it been built from SVN sources newer than April 24, 2009? Don't rely on any pre-packaged mplayer binary distribution to be this current.

Finally (for now), what video_player line are you using in ~/.mlb/config?
 
Old 06-18-2009, 06:47 PM   #2128
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dols View Post
ha! yeah, I'm scatterbrained. I found the patch now and patched 1.6. flvstreamer doesn't patch cleanly though. I have yankees vs orioles up now with rtmpdump. thanks!
flvstreamer is rtmpdump in an Adobe-friendly disguise. At some point, I'd like to hack up one or the other and remove the dump-to-disk option (leaving only the stdout option) as well as the RTMPE code so that it behaves more like a streamer vs. a downloader to further Adobe-proof it and release that as its own spin-off just for mlbviewer users.

You're right. Flvstreamer doesn't patch cleanly and I believe that it would also require mlbviewer changes to support flvstreamer since it messed with the command-line as well. So for now, stick with rtmpdump v1.6. At least I know that code base works for mlbviewer and it won't be changing anymore.

Eventually I'll either move to flvstreamer or create my own mlbstreamer off one of those code bases.
 
Old 06-18-2009, 06:58 PM   #2129
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by itshardertotell View Post
thanks. that gets the stream working. unfortunately it stops after a few seconds or more... but i assume that is just network issues in my house. 14 people on one dsl line...
thanks daftcat!
Adjust the max_bps in the config file until you get a setting that works for your household. 14 on a DSL? Ouch! Are you sure it wouldn't just be easier to use 800K non-nexdef? Also, the very first thing you should do when you encounter streaming issues with nexdef is restart the autobahn.jar. It's not perfect code. But it is the closest piece of the puzzle to the actual media stream.

To expand a little on that, mlbviewer is like a matchmaker. It sets up a date with your media player and the mlb network. Once both parties show up for their date, it is out of mlbviewer's hands whether they'll like each other or not. So if you are encountering problems getting the game to start, that's (probably though not definitely) mlbviewer's fault. If you are having problems not with the game starting but rather it exits early, then either mplayer or the network wasn't happy and left the date with a headache. (or it had to wash its hair?) Blame the network first (because it's closer to the media and it's easier to debug) and restart autobahn.jar or lower the max_bps. Then work backwards to mplayer which is a lot trickier since that's very machine dependent with all the output plugins and command-line options.
 
Old 06-18-2009, 06:59 PM   #2130
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by danq989 View Post
Hi Daftcat,

Yes, it resolved itself for me as well an hour or so into the game (NYY vs. Nats). For at least some of that hour, the flash player wasn't playing a stream either (though there was a period where flash player worked but I still got parser errors from mlbviewer).

P.S. Thanks again for creating this wonderful tool!
I like problems that resolve themselves.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mlb.com gameday audio stream statmobile Linux - Newbie 6 05-06-2008 10:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration