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.
So, I've noticed that if I pause the stream, for literally just a few seconds once I start it playing, this issue doesn't seem to re-occur. I'm assuming what's happening is that more video is being shoved into the buffer, and so it never gets into the choppy stage since there's a little bit of wiggle room for the stream to be buffered.... But the fact is I have no idea why it works! It just does.
The normal mplayer command has a -cache parameter, if I remember correctly you're using flv, so you should look up what the equivalent command is and have it buffer up some.
The normal mplayer command has a -cache parameter, if I remember correctly you're using flv, so you should look up what the equivalent command is and have it buffer up some.
Code:
mplayer -cache 2048
The vlc analog (in the case of non-nexdef streams) would be "--file-caching=x" where x is length of the cache in ms.
I'm new to the mlbviewer, trying to get it work.
rtmpdump work fine, now trying nexdef
but unfortunately unable to download autobahn.jar from mlb.com
says "Forbidden
Your client is not allowed to access the requested object. "
is there workaround for this?
Yes and no.
I've alerted my contact at MLBAM so hopefully the link will be fixed soon.
In the meantime, if you want that file, download the Mac OS X installer from MLB.com (probably need to use a User-Agent switcher to make your browser look like a Mac unless you can find a direct download link.) Then use 7-Zip either on Windows or via wine to either extract the Archive.pax file or if you can get all the way down to the autobahn.jar file, that's the one you want. The last time I tried this, it wouldn't let me extract the autobahn.jar file itself but had no problem opening up the jar and browsing that. That's not what you want.
If you get the Archive.pax file, you can do the following:
Code:
$ pax -r < Archive.pax
This will create a directory called Library. I don't remember the exact path, but use find or just browse through it to find the autobahn.jar file:
Did something change? I'm unable to hear active and more recent games - I'm only using gameday audio. When I launch, I get:
An error occurred in locating the game stream:
Requested stream is not available.
Requested coverage association: 134
Available content list =
If I go back to June 8th and previous, the archived games start up, but from June 9th on - no luck. I am on svn 253.
Too busy to look at this. Might not get to it until next week.
If anyone wants to take a stab at figuring it out, look at test/gamedayaudio.py and use that tool (with the E: number from mlblistings.py) to get an idea of what's coming from and going to the server.
I will happily accept a patch to my yahoo account (grep yahoo README) or you can wait until next week when I have more time to look into this.
Too busy to look at this. Might not get to it until next week.
If anyone wants to take a stab at figuring it out, look at test/gamedayaudio.py and use that tool (with the E: number from mlblistings.py) to get an idea of what's coming from and going to the server.
I will happily accept a patch to my yahoo account (grep yahoo README) or you can wait until next week when I have more time to look into this.
Getting same error this evening. The following is after I put mlbviewer into DEBUG:
[Kim@localhost mlbviewer-svn]$ python mlbviewer.py
Traceback (most recent call last):
File "mlbviewer.py", line 1545, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1237, in mainloop
u = g.soapurl()
File "/home/Kim/mlbviewer-svn/MLBviewer/mlbtv.py", line 1314, in soapurl
raise Exception,self.error_str
Exception: Requested stream is not available.
Requested coverage association: 118
Available content list =
[]
Whenever you get a chance - thanks. I will also keep pecking away at it.
Hey guys, first let me say thanks for all your hard work, I love the program, I've been using the standard def version all year and figured I'd try out nexdef now since Ortiz is hitting 268.
But today when I download the autobauhn.jar file from http://www.mlb.com/nexdef-jars/ and I run the md5 checksum I'm not getting a valid value, and when I run the (obviously corrupt) file it gives me an error saying invalid or corrupt file. I've tried re-downloading the file a couple times with the same result. I've tried to find where to download the mac version so I could extract it myself. I go to the mlb.tv download center page but I think MLB webpage recognizes that I'm on a linux system and doesn't let me download the nexdef plugin. Any ideas if I'm doing something wrong? or could someone direct me to where I can get the Mac nexdef file so I can extract the autobauhn.jar file?
First, guys, please don't mirror the autobahn.jar file. I've already informed my MLBAM contact that the permissions on the unofficial page are not correct. I will look for a direct Mac download link and post some instructions when I get a chance.
For gameday audio, I have an idea why it's not working but not the time to fix it yet.
Please be patient. I've been out of town the past couple of weekends (and I'll be out of town half of this week as well.) When things calm down a bit, I'll fix the gameday bug and get some autobahn.jar instructions posted.
In the meantime, one of you regulars, please help out with the question about nexdef branch ("Nexdef not supported") above. Also, if you know how to find and extract the mac package, please post those instructions too. Thanks!
REgarding how to get autobahn.jar, what did I:
- get User agent add-on for firefox
- change useragent to Safary MAc
- go to MLb.com download center and press dowbload nexdef - based on your useragent it propose you to download .dmg file for MAC
- open .dmg with 7zip (I used WIn version) and extract Archive.pax
- and did as recommended daftcat above -
$ pax -r < Archive.pax
to extract Library folder
$ find Library -name autobahn.jar -print
to find needed file in Library folder
now I'm waiting the answer how to use the .jar I got wit mlbviewer
REgarding how to get autobahn.jar, what did I:
- get User agent add-on for firefox
- change useragent to Safary MAc
- go to MLb.com download center and press dowbload nexdef - based on your useragent it propose you to download .dmg file for MAC
- open .dmg with 7zip (I used WIn version) and extract Archive.pax
- and did as recommended daftcat above -
$ pax -r < Archive.pax
to extract Library folder
$ find Library -name autobahn.jar -print
to find needed file in Library folder
now I'm waiting the answer how to use the .jar I got wit mlbviewer
With 7-Zip "file manager" I was able to double click Archive.pax and navigate into it and extract autobahn.jar using only 7-zip. One less step.
Quote:
but mlbviewer say that nexdef is not supported in 2010 yet
so, why do I need it at all?
You don't. You can watch the games perfectly fine without nexdef and you don't have to go to all the trouble of downloading the jar and running it. If you have a premium account and want to use nexdef, then you must acquire the "nexdef branch" of the mlbviewer source code. The reason for this is that it is considered "unstable", so daftcat is developing this years nexdef changes separate from the code which runs the "normal" mlbviwer, which by all appearances is quite stable. To do this, run the command
Code:
svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 dest
where "dest" is the directory you want to put the source in. Now, run the jar thusly:
Code:
java -jar autobahn.jar
and make sure "use_nexdef=True" is in ~/.mlb/config, and run "python mlbviwer.py" in the directory you checked out the nexdef code in. You should now be using nexdef.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.