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.
"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()
"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:
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!
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!)
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?
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...
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.
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.
(ok i'm not 100% on the number of zeros here, but look up at post #3407)
Quote:
Originally Posted by daftcat
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!
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.
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 )
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.