LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-27-2011, 11:42 AM   #3406
Stramash
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0

"There was a parser problem with the listings page"


Traceback (most recent call last):
File "./mlbviewer.py", line 1624, 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 474, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()

Installed nextdef2011 from svn (release 313)
 
Old 08-28-2011, 04:40 AM   #3407
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Stramash View Post
"There was a parser problem with the listings page"


Traceback (most recent call last):
File "./mlbviewer.py", line 1624, 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 474, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()

Installed nextdef2011 from svn (release 313)
Can't reproduce it. Only thing I can think of is that you have an invalid speed= line in your ~/.mlb/config file.

Can you check that? It should be one of the following:

Code:
    speedtoggle = {
        "128"  : "[ 128K]",
        "500"  : "[ 500K]",
        "800"  : "[ 800K]",
        "1200" : "[1200K]",
        "1800" : "[1800K]"}
For nexdef speeds, you need to use the max_bps= setting in bits per second.

The valid speeds for these are what's listed in the BANDWIDTH= below:

Code:
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=800000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=128000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=500000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1200000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=1800000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=2200000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=3000000
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=4500000
 
1 members found this post helpful.
Old 08-28-2011, 06:41 AM   #3408
Stramash
LQ Newbie
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 4

Rep: Reputation: 0
Thanks. I deleted my config and ran ./mlbviewer.py again, I had installed several old versions. It doesn't have a speedtoggle entry but does have speed=800.

It is working now, thanks for a great program.

Trying to figure out how to get vlc working nicely. Does the basic playing but it seems to stop when I click a forward position on the time line. It also complains about not being able to read some of the text files!

Last edited by Stramash; 08-28-2011 at 07:03 AM.
 
Old 09-03-2011, 07:18 PM   #3409
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Hey folks,

So I'm just now trying to get mlbhls working, and I'm getting the following error repeating every time it tries to connect:

Code:
[MLB] (28) Chunk Get Error: Timeout was reached, URL: http://mlblive-akc.mlb.com/ls02/mlbam/2011/09/02/MLB_GAME_VIDEO_PITCHN_HOME_20110902/800K/14/10/471.ts
Other games yield the same thing (although of course with a different link). Non-nexdef still works fine.

Does anybody know what I could be doing wrong? (Hopefully this time it's not something as stupid as just needing to restart X!)
 
Old 09-05-2011, 12:12 PM   #3410
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Aha! Just noticed that the current mlbhls revision (29) is experimental. So I did svn co -r28 and it's now downloading fine!

But the audio track switching (which I think is the whole point?) doesn't seem to work. When I press '#' in mplayer I just get "Audio: (0) unknown", and I can't see anything in the mplayer -v output that looks like another audio track. Is there a trick I'm missing? Is the multi-track audio missing for some games?
 
Old 09-07-2011, 07:33 PM   #3411
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Quote:
Originally Posted by fang2415 View Post

But the audio track switching (which I think is the whole point?) doesn't seem to work. When I press '#' in mplayer I just get "Audio: (0) unknown", and I can't see anything in the mplayer -v output that looks like another audio track. Is there a trick I'm missing? Is the multi-track audio missing for some games?
I only have experience with the Phils games, but I've had good luck with audio tracks at 220000 bit rate. There should be 3 tracks, ball park noise, tv broadcast, radio broadcast...
 
Old 09-08-2011, 10:00 AM   #3412
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Quote:
Originally Posted by mchapter View Post
I only have experience with the Phils games, but I've had good luck with audio tracks at 220000 bit rate. There should be 3 tracks, ball park noise, tv broadcast, radio broadcast...
Hm, I didn't know there was a 220000 bitrate; the only list I can find in the READMEs just says 164, 500, 800, etc.

Anyway, I tried the 220000 Phillies feed from Sept 7 and still only get one audio track (the tv one I think). Could you point me to a particular game that works for you? That way I can at least be sure that the problem is technical rather than just bad luck with the stream.
 
Old 09-08-2011, 05:33 PM   #3413
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Quote:
Originally Posted by fang2415 View Post
Hm, I didn't know there was a 220000 bitrate; the only list I can find in the READMEs just says 164, 500, 800, etc.

Anyway, I tried the 220000 Phillies feed from Sept 7 and still only get one audio track (the tv one I think). Could you point me to a particular game that works for you? That way I can at least be sure that the problem is technical rather than just bad luck with the stream.
Think of me what you will, but I've only missed about 4 or 5 games this year.. the game from the 7th had at least the tv announcers.

So, if you didn't know about the higher bit rates, are you sure you're using mlbhd? Post #3387 talks about the full deal to set it up.. The two critical things that need to be in ~/.mlb/config are:

use_mlbhd=1
max_bps=2200000

where max_bps could be 2200000, 300000, or 450000. (ok i'm not 100% on the number of zeros here, but look up at post #3407) As far as I know, only the mlbhd feeds have the 3 audio channels, the standard def and nexdef don't.

I just was fiddling with the mets braves game for today and got the "unknown (0)" in mplayer, but audio switching worked fine.

Last edited by mchapter; 09-08-2011 at 05:38 PM.
 
Old 09-09-2011, 07:11 AM   #3414
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Aha!

Quote:
Originally Posted by mchapter
(ok i'm not 100% on the number of zeros here, but look up at post #3407)
Quote:
Originally Posted by daftcat View Post
Valid choices are:

128, 500, 800, 1200, 1800, 2200, 3000, 4500

Add three zeroes to get max_bps setting.

...

Sometimes the audio works and sometimes it doesn't. Best to either try again or try a different speed. I find 800K works every time. Other speeds are a lottery ticket.
Your original post was missing a zero. (I had wondered why you liked such low-res video!) So I just now tried 2200000 and it works fine! 1200K also seems to work. So now I'm wondering where daftcat was getting his full-audio 800K streams? Anyway, the 1200K suits me fine -- I'm not a premium subscriber so it's good just to know I can actually get those higher bitrates!

Quote:
As far as I know, only the mlbhd feeds have the 3 audio channels, the standard def and nexdef don't.
Just to clarify: I believe that the mlbhd feeds *are* the nexdef feeds; we're just using the mlbhd/mlbhls player to decode them instead of the official nexdef/autobahn player. And yes, only those nexdef/mlbhls(/autobahn/mlbhd) feeds have multiple audio channels; and apparently they only have them at bitrates of 1200K and up.

Also, oddly, vlc can't seem to play any audio at all on the nexdef/mlbhls videos; it shows 3 options under "Audio tracks" but all of them are silent. But switching using "#" in mplayer works like a dream.

Thanks for pointing me in the right direction mchapter!
 
Old 09-17-2011, 06:01 PM   #3415
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Quote:
Originally Posted by fang2415 View Post
Aha!

Thanks for pointing me in the right direction mchapter!
All hail DaftCat and Rueben Amaro Jr. for an excellent season!
 
Old 09-29-2011, 06:05 PM   #3416
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Postseason.TV

Had this working last year. I will look at merging the code from last year into the latest nexdef2011 code base.

For $6 more to MLBAM, you get live alternate coverage. It's basically the raw camera angles that go into making the broadcast plus the audio portion. With this, it would be possible to piece together your own live coverage watching multiple camera angles with the audio disabled on all but one. It's kind of both cool and annoying but not a bad option if you really want to watch the game before it's archived.

As for mlbviewer support, I will introduce a new hot-key to select a camera angle. The description of the camera angle will appear in the status bar (e.g. "High Home Plate", "Center field", etc.) I don't believe there will be a single stream with which you could do your own video switching (like the audio switching in nexdef streams.) I will provide some instructions in this thread on how to simulate a quad-view (or multi-view depending on how much screen you have to work with.)

I will try to have the code merged tonight and ready to test with the first game tomorrow. Stay tuned.
 
Old 09-30-2011, 03:21 PM   #3417
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
PostSeason.TV seems to be working with the latest revision checked in about 5 minutes ago. All the code from last season was already there. The only thing I had to do was relax the blackout code if using the PostSeason screen.

The 'P' (capital P) key will bring up the camera angles. Make sure it's a P and not p which just changes the speed. Since all I can test right now is the Batting Practice, I have no idea if there are multiple audio streams yet.

Anyway, they reduced the price from something like $20 to $6 this year so it's probably worth giving it a shot now. You'd spend more on the beer at the ballpark (though you may get more mileage out of the beer )

Play ball!
 
Old 09-30-2011, 10:39 PM   #3418
austin_spartan
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
I just grabbed the latest nexdef2011 branch and was trying to watch tonight's games. I'm a postseason.tv subscriber ($4.99 package), but cannot for the life of me figure out how to add postseason support to the mlbviewer. How can I watch the game with my postseason account? All of the games have been listed as blacked out with my login credentials, but postseason.tv says there are no blackouts.
 
Old 09-30-2011, 11:20 PM   #3419
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by austin_spartan View Post
I just grabbed the latest nexdef2011 branch and was trying to watch tonight's games. I'm a postseason.tv subscriber ($4.99 package), but cannot for the life of me figure out how to add postseason support to the mlbviewer. How can I watch the game with my postseason account? All of the games have been listed as blacked out with my login credentials, but postseason.tv says there are no blackouts.
Postseason.tv is basically the cutting room floor of the TBS broadcast. If you use their web app, what you get is a list of camera angles you can watch but you don't actually get the same broadcast as what TBS would give you (since they combine all the different camera angles, plus replays, slow mo, and on-screen graphics.) It's a cheap way to allow those who would otherwise be blacked out of watching the games live to sort of watch the game live. At least MLB.TV has acknowledged how cheap this is and priced it accordingly. I believe last year it was $20 for this.

As for mlbviewer support, make sure you have updated to the latest svn version off the nexdef2011 branch:

Code:
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2011 nexdef2011
if you don't already have it (or "svn up" if you have nexdef2011 but not the fix I put in this afternoon.)

With the P (shift-p e.g. capital P), you'll get the camera angle screen. Choose the angle you want to watch and try to pretend your at the ballpark with a radio instead of watching a good broadcast at home. I like the mid-home plate and tight centerfield angles. If you open them in separate windows and mute one of them ('#' key in mplayer), you can almost piece together a workable broadcast.

Or just wait for it to be archived and watch it like normal.
 
Old 10-01-2011, 08:09 AM   #3420
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Postseason for international subscribers

I have an out of North America subscription so I don't need, and probably can't use, the North American post season offering (the post season comes with my regular package without additional charge).

Although I appear to be able to play last night's archived games OK with mlbviewer (so far I have only tested the first game), I can't watch the live stream - stream connection on the live stream fails with something like MLB_INTERNATIONAL_BLACKOUT - sorry I didn't take an explicit note but it was something like that.

I can watch it with the flash plugin after I have carried out a special additional login step that I am required to complete, but then I get a fairly rubbish picture as it isn't hardware accelerated. I think that the additional step is to ensure I accept the post-season terms and conditions.

I realise that this can probably only easily be fixed by someone outside North America, but is there anything I can try to carry out this additional login automatically via mlbviewer?
 
  


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:00 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