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 10-12-2009, 05:40 PM   #2266
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
SVN revision 215: Postseason.TV support


I checked in some code for postseason.tv support. If you are an mlb.tv subscriber, you shouldn't have to also pay for postseason.tv. I believe that package is only for new subscribers.

Release notes:

+ If you want the main TV broadcast feed, use mlbviewer.py.

+ If you want the alternate camera views, use postseason.py.

+ Alternate camera views are only enabled during live broadcasts and are not archived.

+ Camera view can be incremented with '.' (period) key and decremented with ',' (comma) key. (We're running out of keys and this is a ultra-short term project.)

+ Camera views are fixed within a game but not between games. Camera 1 (default) may be the home plate camera one game and the centerfield camera the next game. There's no way for me to know which view it is from the listings or the content reply. Just have to try them all each game and see what you like.

+ You can attempt the "quad mode" that mlb.com advertises with multiple instances of postseason.py and muting all but one camera within your mplayer windows ('m' key in mplayer.)

I got this code working only last night about a minute before the Phi-Col game ended so I didn't have much test time. It may or may not work as expected. Let me know what your experience is.

If it works for you and you like it, please consider donating the $10 postseason.tv fee to me via paypal at straycat000(at)yahoo(dot)com.
 
Old 10-12-2009, 09:16 PM   #2267
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Ugh! Once again, because the ET times suck for those on the west coast who have to work, I got pretty much no testing time in. I don't think the camera switching code is working yet but I'm not getting another chance to test and debug again until probably Saturday.
 
Old 10-12-2009, 11:32 PM   #2268
pajamian
Member
 
Registered: Oct 2009
Posts: 38

Rep: Reputation: 1
Quote:
Originally Posted by daftcat View Post
Okay, thanks for the info.

So what's the problem you are still facing?
For some reason mlbviewer is trying to play the flash stream, and does not appear to see the other (standard or nextdef) streams. I can't get on the laptop to give specifics right now, but when I can I will give you the specific messages from mlbviewer as best as I can.

Quote:
For nexdef, you need the autobahn.jar file and you're starting it as "java -jar autobahn.jar"?
Yep, doing that.

Quote:
Also for nexdef, you should set max_bps in your config file and also use_nexdef:
Yep, done that as well. I think I set it to 1800000 because that looks good on my big screen TV without using loads of bandwidth. In NZ we don't get unlimited broadband. My plan allows for 26 gigs / month before I have to start paying extra and that is considered quite a large plan around here. I will probably go over my allotment this month, heh.

Quote:
With svn revision 214, you should be picking up the main tbs stream only.
That's what I want, but all the available streams say FLASH on them.
 
Old 10-13-2009, 07:37 PM   #2269
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by pajamian View Post
For some reason mlbviewer is trying to play the flash stream, and does not appear to see the other (standard or nextdef) streams. I can't get on the laptop to give specifics right now, but when I can I will give you the specific messages from mlbviewer as best as I can.



Yep, doing that.



Yep, done that as well. I think I set it to 1800000 because that looks good on my big screen TV without using loads of bandwidth. In NZ we don't get unlimited broadband. My plan allows for 26 gigs / month before I have to start paying extra and that is considered quite a large plan around here. I will probably go over my allotment this month, heh.



That's what I want, but all the available streams say FLASH on them.
They are supposed to say FLASH on them. There is Flash the plugin and Flash the video type. Or at least that's how MLB and NexDef see it.

If you see a screen similar to the following:

Code:
AVAILABLE STREAMS (Use number keys to select a stream)
───────────────────────────────────────────────────────────────────────────────
1 ) [ 164K] MLB_GAME_VIDEO_PHICOL_NATIONAL_20091012_MLB_FLASH_164K_STREAM
2 ) [ 400K] MLB_GAME_VIDEO_PHICOL_NATIONAL_20091012_MLB_FLASH_500K_STREAM

4 ) [ 800K] MLB_GAME_VIDEO_PHICOL_NATIONAL_20091012_MLB_FLASH_800K_STREAM












STREAM: MLB_GAME_VIDEO_PHICOL_NATIONAL_20091012_MLB_FLASH_800K_STREAM
KBPS  : 800
MS    : 56242559
TIME  : 15:37:22.559 ET
The mlbviewer code is working as expected. Now it's just a question of whether your video_player is starting up and playing correctly.

Does the video start after several seconds (maybe as many as ten seconds depending on the size of your cache buffer in your player.)

What I would try first is lower the max_bps to 200000 (200K) and use mplayer for the video_player with the config file setting of:

Quote:
video_player=mplayer -cache 512
If that pops up a tiny, low quality video screen with both picture and sound, you're good to go. From there, just tweak the cache value in the video_player setting and raise your max_bps back up to 1.8M.
 
Old 10-13-2009, 07:40 PM   #2270
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Don't worry it's the same video stream but you'll get far better performance with mplayer vs. using Flash plugin and Firefox. It's the Flash plugin, not the Flash video stream (usually!) that gives the poor choppy performance you're seeing when you use MLB.com's player.

If for any reason you want to compare them head to head, you can use the 'f' key instead of 'Enter' to launch the Flash plugin for that particular game within a firefox window.

Last edited by daftcat; 10-13-2009 at 07:42 PM.
 
Old 10-15-2009, 08:44 PM   #2271
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I did a little Firebug on the post-season player and I learned there is an easier way to do multi-angle than I am already doing. That's the good news. The bad news is that I might not get to this until Sunday since I can only test it while games are in progress and I can't test while I'm at work.

In the meantime, there is an xml file that contains the multi-angle camera names and content-id's. You can use the test tool to select a camera id:

Code:
$ test/nexdef.py <event-id> <content-id>

or 

$ test/stdout.py <event-id> MLB_FLASH_800K_STREAM <content-id>
Find the event-id's and content-id's from here:

http://gdx.mlb.com/components/game/m..._angle_epg.xml

Change the day portion of the url to the current day.
 
Old 11-09-2009, 10:18 AM   #2272
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Well thanks for another successful year with mlbviewer. See you all next season!
 
Old 12-02-2009, 12:35 PM   #2273
zsoltv
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
rtmpdump 1.9

Hi Everyone,

I just saw it on the MplayerHQ page that they now host the rtmpdump project as well. There is also a new version out (1.9).ű

The address is: http://rtmpdump.mplayerhq.hu/

Sorry if this has been posted before...

Zsolt
 
Old 12-03-2009, 12:38 PM   #2274
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I'm not even sure that MLB will stick to its current architecture for 2010. They have changed their architecture and software each year for the last few years that I've been a subscriber. Makes me not want to even think about mlbviewer until the beta testing period spring 2010.
 
Old 01-19-2010, 11:04 AM   #2275
Onip
Member
 
Registered: Apr 2008
Posts: 36

Rep: Reputation: 15
just to say that I finally had time to watch world series games. latest using both rtmpdump-1.9a and flvstreamer-2.1a.

They seem to work better than plain old 1.6 (download never stopped)

p.s. for flvstreamer you need to provide a symlink named rtmpdump or set an alias for your shell to make mlbviewer work with it.
 
Old 01-20-2010, 11:00 PM   #2276
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I sincerely hope they scrap the need for flvstreamer....although it is much more reliable than nexdef...it would be nice just to go back to something mplayer natively supports.

Got an iPhone last month so I'm looking forward to trying out the app. Would be super sweet to watch a game on the go.

Well, all the things I thought I might do for mlbviewer in the offseason never happened...not yet anyway.

Crossing my fingers that little will be needed to get 2010 working.
 
Old 01-22-2010, 10:06 AM   #2277
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Getting close to spring training. I'm playing with a different Linux (Debian vs. Fedora), so it might be 'fun' getting it to work with whatever MLB throws at us this year.
 
Old 01-26-2010, 02:16 PM   #2278
thedaver
Member
 
Registered: Jan 2010
Posts: 65

Rep: Reputation: 21
Quote:
Originally Posted by daftcat View Post
I'm not even sure that MLB will stick to its current architecture for 2010. They have changed their architecture and software each year for the last few years that I've been a subscriber. Makes me not want to even think about mlbviewer until the beta testing period spring 2010.
daftcat, 2010 will be my first season with mlbviewer... looking forward to it!
 
Old 01-28-2010, 03:20 PM   #2279
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Stupid name but neat device. I'm lookin forward to watching mlbtv on an iPad.

Not to start any technology debates here but it's basically just a souped up Kindle and I'm cool with that.
 
Old 01-28-2010, 04:07 PM   #2280
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I agree, it is snowing here right now and the thought of lying in the hammock on a hot summer's day watching a Sox game on an iPad...
 
  


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 09:14 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