Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
*sigh* Nearly three months since this stopped working for me - I haven't been able to watch more than 2 minutes of a game since. I understand that it's probably not a problem with mlbplayer, but just in case anyone has had a similar problem that they were able to solve, I'm posting here again.
Basically, everything used to work perfectly for me. But, since the beginning of July, I just can't watch any games! I connect, it finds the stream, it launches the player, it plays for a minute or two, and then dies. I've tried both speeds, I've tried mplayer and vlc, I've tried updating everything I could update, and nothing makes a difference at all.
In mplayer, if I leave the screen small so that I can see the terminal window behind it, I see an error flash by saying something about "cannot read" and "resource temporarily unavailable".
In vlc, I get errors right at the beginning "access_mms access error: error while asking for file -1" and "access_mms access error: cannot read file". It then seems to play out the buffer and freeze.
Another strange thing is that I can't seem to play the game using the test script. (in the /test/ dir) I find the game id, and enter the command as shown in the README. It gives me all the HTML from the login, and then it stops. Doesn't try to launch the video or anything.
Other factors of note: this is a machine with a wired connection. My windows laptop which connects wirelessly through the same router has no issues playing the games (except that logistically, I really can't do that, which is why I really want it to work on the *nix box).
I know earlier someone had suggested optimizing mplayer, or something, but I have to admit I have no idea how to do that, and googlefu has not been useful. Also, is that still a likely fix when it fails so epically on vlc, too?
Thank you so much to anyone that has any suggestions...
Optimizing for mplayer isn't a bad idea even if you do use vlc. The mplayer guys were some of the first to really do high quality multimedia on linux. They documented optimization settings like MTRR which would benefit just about any multimedia player even games.
You can check if it's a network issue by exploring the -dumpstream option. Read the documentation on mplayer's website. Run it for a few minutes. If that produces a playable file, then you probably have to tweak your buffer or playback settings. I would stick with mplayer mostly because there are many more settings you can tweak to test different settings.
You can check if it's a network issue by exploring the -dumpstream option. Read the documentation on mplayer's website. Run it for a few minutes. If that produces a playable file, then you probably have to tweak your buffer or playback settings. I would stick with mplayer mostly because there are many more settings you can tweak to test different settings.
Been an excellent year baseball/linux wise due to mainly straycat and Jesse. Others helped a lot too. The fellow who suggested using Firebug to find the url and the guy who wrote the greasemonkey script and probably others who I'm missing, my apologies to whoever I may have neglected to mention.
Probably next year on the first day of the season we'll need help again and will be pleading for someone to descramble the mess MLB once again has shoved our way. Hopefully we can meet here again on opening day and straycat or a protege will be able foil their efforts.
Suggestion I've got is for daftcat to post a palpal number or someway we can all send him a few bucks to show our appreciation for such a marvelous little program. You know something like $5-$25 apiece; enough for him to have a bad head-ache after a night on the town from his MLBViewer admirers or a real good seat at a game next year or a cheap whore should that be his thing. Thanks again.
Oooh! I like this idea. With enough donations, maybe I can wake up with a bad head-ache in a real good seat at a game like this guy:
You guys don't have to, but I won't turn it away either. You can send donations of appreciation via paypal to my email address, straycat000@yahoo.com.
Thanks to you guys. Your continued feedback and testing has improved mlbviewer far beyond what I would have found useful and necessary. I plan to make continued off-season improvements so be sure to subscribe to this thread.
anybody knows ho to mute just one of two mplayer opened with mlbviewer?
if i press "m" on a window, it mutes each of two windows! (i'd like to see and listen the Twins on a big window and at the same time keep an eye to the white sox..)
anybody knows ho to mute just one of two mplayer opened with mlbviewer?
if i press "m" on a window, it mutes each of two windows! (i'd like to see and listen the Twins on a big window and at the same time keep an eye to the white sox..)
Hmm, I wonder if it's because Linux manages the sounds globally instead of on a per application basis because this works in Windows. You could try using the '9' and '0' keys to reduce the volume. But it may just reduce the global volume instead of an application volume. Are you using alsa? oss? esd?
this is the problem. Here in italy i usually watch games in the (italian) morning, so "the day after". Now during the playoffs is extremely important to start the listings in the last day i'm "up-to-date". Just to be not spoilered.
And it's urgent because tonight Twins will play the "playoff game" and tomorrow in the morning i don't want to be spoilered like today without watching DET@CWS game. (listings begin with MIN@CWS)
Can you put a "start date" on config file? Or any other cool idea?
this is the problem. Here in italy i usually watch games in the (italian) morning, so "the day after". Now during the playoffs is extremely important to start the listings in the last day i'm "up-to-date". Just to be not spoilered.
And it's urgent because tonight Twins will play the "playoff game" and tomorrow in the morning i don't want to be spoilered like today without watching DET@CWS game. (listings begin with MIN@CWS)
Can you put a "start date" on config file? Or any other cool idea?
I'm probably not going to get to this feature before the off-season is over. Today was a special circumstance. But from here on out, there will be at least one off day between series. The only spoilers I can think of from here on out would be if you were expecting a game 4 and the team swept in three, then you might figure out that game 4 wasn't needed before you get a chance to watch game 3.
I might be able to get this done over the weekend but right now I'm too busy with taking work home. :-( I'm on a tight schedule. I'll see what I can this weekend.
The only spoilers I can think of from here on out would be if you were expecting a game 4 and the team swept in three, then you might figure out that game 4 wasn't needed before you get a chance to watch game 3.
This is *exactly* what i mean for "spoiler". From game 3+ i can be spoilered everyday!!!
In 2006 i spoilered the world series in this way!!!
the listings will begin on my birthday (paypal donations are accepted next year .)
If you don't specify any name=value arguments, the listings will start on the current day just like they always have.
I should have the exceptions handled like using an invalid name (foo=06/02/08) or an invalid value (startdate=foo/bar/moo) but you're welcome and encouraged to test these for me and report any errors.
P.S. I made an official release of 0.1alpha8 last weekend just to have the most recent features, bookmarking and favorite team highlighting on sourceforge, so this next svn revision should read 0.1alpha8svn in case you notice and wonder.
Hi! Found this awesome thing today and got it working on Leopard, finally fullscreen on secondary monitor (plasma) without the need to boot into Vista!!!!!
My question is, perhaps it have been answered, if it's possible to get the 1.2m streams to work? On mac the Nexdef is available but you can only watch the high quality stream in awful awful Silverlight. Thanks
Hi! Found this awesome thing today and got it working on Leopard, finally fullscreen on secondary monitor (plasma) without the need to boot into Vista!!!!!
My question is, perhaps it have been answered, if it's possible to get the 1.2m streams to work? On mac the Nexdef is available but you can only watch the high quality stream in awful awful Silverlight. Thanks
No. First, there's no listing for 1200 in the listings page that mlbviewer uses (Hint: we do not parse any html pages so any pages you see on mlb.com are not used by mlbviewer.) Even pulling the stream id from the mlb.com page and using test/mlbgameid.py, there's a protocol for talking with the plugin that mplayer doesn't support. I was able to get it working with Windows Media Player on my XP laptop, but that sounds like it would defeat the purpose. WMP isn't available on osx, is it? Also, I use "working" loosely. It played a few seconds, and then stalled. Then it would play a few more seconds, and then stalled again. I couldn't imagine trying to watch a game like this.
Besides, 800K is beautiful. Also, archive streams aren't available in 1200 so it's pretty much useless now...unless you happen to be one of the lucky SOB's who both lives outside of the blackout region and lives in a timezone where watching the post-season live makes sense.
Anyway, even when I did have mosaic installed, 1200 isn't all it's cracked up to be. It stalled out frequently just like it's doing for me now.
No. First, there's no listing for 1200 in the listings page that mlbviewer uses (Hint: we do not parse any html pages so any pages you see on mlb.com are not used by mlbviewer.) Even pulling the stream id from the mlb.com page and using test/mlbgameid.py, there's a protocol for talking with the plugin that mplayer doesn't support. I was able to get it working with Windows Media Player on my XP laptop, but that sounds like it would defeat the purpose. WMP isn't available on osx, is it? Also, I use "working" loosely. It played a few seconds, and then stalled. Then it would play a few more seconds, and then stalled again. I couldn't imagine trying to watch a game like this.
Besides, 800K is beautiful. Also, archive streams aren't available in 1200 so it's pretty much useless now...unless you happen to be one of the lucky SOB's who both lives outside of the blackout region and lives in a timezone where watching the post-season live makes sense.
Anyway, even when I did have mosaic installed, 1200 isn't all it's cracked up to be. It stalled out frequently just like it's doing for me now.
Alrighty then, I just wondered because I've been watching the 1200 streams on Vista using this workaround. No stalling for me and yes I do live outside the blackout region and watching live makes sense to me, insomnia is bliss.
Anyway, I really have no idea about the technical stuff behind these kind of things and depend on googling for guides just to get the streams playing, so maybe I should be happy with what I get.... and i am
Alrighty then, I just wondered because I've been watching the 1200 streams on Vista using this workaround. No stalling for me and yes I do live outside the blackout region and watching live makes sense to me, insomnia is bliss.
Anyway, I really have no idea about the technical stuff behind these kind of things and depend on googling for guides just to get the streams playing, so maybe I should be happy with what I get.... and i am
Here's what you can try.
1. Set your config file for speed=800.
2. Open mlbviewer and highlight your game (don't hit 'a' or 'enter' though.)
3. Instead hit 'z' (without the single-quotes), and you should get the debug output like the following:
In this case, you wouldn't add 1. You would just use that w_id. (Except this particular example is the 800k stream since they don't archive the 1.2 so you would add 1 to this w_id.)
6. Use test/mlbgameid.py to select that stream, e.g.
Code:
bash$ test/mlbgameid.py 876569
That should get you that long mms:// url that begins with mms://127.0.0.1:8001 meaning the NexDef plugin. You can try setting your video player to whatever video players you have on OS X. I tested with mplayer and it didn't work. Maybe vlc or one of the OS X specific players will work.
------------
mlbgameid.py is a test script I wrote back when we were having problems with the network code. It was easier to test the network code without all the curses interface. Now it's become a very useful test tool for unsupported features like this. It will produce a ton of output but it should finally end with a line like this:
Code:
The game url parsed is:
mms://a1919.v108691.c10869.g.vm.akamaistream.net/7/1919/10869/v0004
/mlb.download.akamai.com/10869/2008/mlb_!/mlbam/2008/10/06/mlbtv_anabos_home_800k.wmv?
auth=ca.bEbobrcybXc6cidPdKd_bDdmc_cOaJdy-bi6V2E-bA-VfhvmM9x-
lelam7mdmakkmaldl6jhm6kckfkalakelflbm7mhm6kgmalc&
aifp=v0004&ct5=07-Oct-08&ct1=mlb&ct3=12263517&ct7=876568&
ct4=mlb&ct6=76.102.16.234&ct8=1
(I purposely broke up that url which is really one long url so that it doesn't stretch this page making it a pain in the ass to read my responses. )
And the command string for your video_player setting plus any output it produces. In this example, again, I'm using the 800K stream since the 1.2M stream is not archived. The 1.2M stream url will begin with mms://127.0.0.1:8001.
Good luck! If you get it to work on OS X using mlbgameid.py, the NexDef plugin and some video player, let me know which video player.
In the 'z' output, there are two w_id's. You want the first one. The second one is for the audio stream. You can tell you have the right one because the next field is 'w' and either ends in .wmv for video or .xsl for audio.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.