LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2010, 05:09 PM   #2971
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17

Quote:
Originally Posted by swordthrower View Post
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.

Code:
mplayer -cache 2048
 
Old 06-03-2010, 12:05 AM   #2972
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by mchapter View Post
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.
 
Old 06-15-2010, 07:40 PM   #2973
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
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.
 
Old 06-16-2010, 08:25 AM   #2974
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by kweisen View Post
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.
I'm seeing the same thing.
 
Old 06-17-2010, 11:38 AM   #2975
Haffalump
LQ Newbie
 
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
Hi all!

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?
 
Old 06-17-2010, 08:09 PM   #2976
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Haffalump View Post
Hi all!

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:

Code:
$ find Library -name autobahn.jar -print
 
Old 06-17-2010, 08:11 PM   #2977
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by kweisen View Post
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.
 
Old 06-17-2010, 09:31 PM   #2978
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Smile

Quote:
Originally Posted by daftcat View Post
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.
 
Old 06-17-2010, 10:44 PM   #2979
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
audio alternative

In case some have missed it,this link lets you use an embedded audio player for audio avoiding the the overkill of listening via the flash player.

http://mlb.mlb.com/media/player/mpa/index.jsp
 
Old 06-19-2010, 01:30 PM   #2980
dylanb02
LQ Newbie
 
Registered: Jun 2010
Posts: 3

Rep: Reputation: 0
I am also unable to download the jar file for NextDef. Would someone be able to send me a copy or upload it somewhere as a mirror? dylanb@umich.edu
 
Old 06-19-2010, 02:01 PM   #2981
Haffalump
LQ Newbie
 
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
daftcat
thanks, everything worked

but mlbviewer say that nexdef is not supported in 2010 yet
so, why do I need it at all?
 
Old 06-19-2010, 02:21 PM   #2982
onuhwt
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
Can't get autobaihn.jar

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?

Thanks
 
Old 06-20-2010, 01:17 AM   #2983
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Nexdef and autobahn.jar

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!
 
Old 06-20-2010, 01:40 AM   #2984
Haffalump
LQ Newbie
 
Registered: Jun 2010
Posts: 7

Rep: Reputation: 0
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
 
Old 06-20-2010, 12:11 PM   #2985
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by Haffalump View Post
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.
 
  


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 08:12 AM.

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