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.
Update to revision 108 if you don't want mlbviewer to break on 3/5
I'm feeling more than a little ripped off that so few WBC exhibition games are available on mlb.tv.
Now that I said that, I realized that the official WBC starts tomorrow, 3/5 and with it, they decided to be truly weird and annoying. Rather than streaming at 400 or 800, they chose 600K as the stream speed.
I've checked in SVN revision 108 to address this. It will copy the stream information to both 400 and 800 dictionaries so as not to break the code. The only thing is, I'm not updating the display code to figure out whether it's a 600 stream or not. If 600 becomes the new 400 come opening day, then I'll change the display code.
Wohoo, WBC. I just got back from Japan, so I really want to watch China v. Japan. Anyway I've got rev 108, have you changed anything with regards to exiting the program? After I exit I can't type in the terminal anymore? Not a big deal. The other thing was since it's been a while since I configured mlbviewer I've forgotten if there was some kind of variable like %s to represent the mms address (so I can dumpstream it), can you help me out with that?
I was using mplayer-1.0rc2 that I built myself. I reinstalled the mplayer packaged by debian which is an SVN version (not sure if it's older or newer than rc2) and that seems to have fixed it. On the windows side, I downloaded an svn version with the gui. The gui is nice and the sound hisses quite a bit less, but still has a hiss/crackle to it. Not enough to be annoying though. Thanks Wolfvorkian!
I'm having the same sound problem, so on reading this I upgraded from kubuntu 8.10's standard 1.0rc2 to SVN-r28403-4.3.2. Didn't help at all for me, it's as bad as ever.
Amazingly, the mlb.com website is actually functioning perfectly (except for the tv sound driving me insane) and allowing me to watch games without mlbviewer so far this year. If I didn't know better, I'd think they'd started to care about us (but I do know better, so it's just an accident).
The really good news is that http://mlb.mlb.com/mlb/subscriptions/download.jsp indicates Windows Media Player is only required for 2008 and earlier season archives -- so the new player is apparently going to be an flv stream which should eliminate these WMV audio issues. Plus, it looks like we get 800K streams with the cheaper non-premium package this year.
Wohoo, WBC. I just got back from Japan, so I really want to watch China v. Japan. Anyway I've got rev 108, have you changed anything with regards to exiting the program? After I exit I can't type in the terminal anymore? Not a big deal. The other thing was since it's been a while since I configured mlbviewer I've forgotten if there was some kind of variable like %s to represent the mms address (so I can dumpstream it), can you help me out with that?
I don't know what's going on with the exit. It's probably something to do with the curses code but I don't know what or how. The curses.wrapper() call is supposed to clean up whether it exits normally or from an exception. Maybe if you post your video_player and audio_player entries from your config I can see if it has anything to do with that.
I'm having the same sound problem, so on reading this I upgraded from kubuntu 8.10's standard 1.0rc2 to SVN-r28403-4.3.2. Didn't help at all for me, it's as bad as ever.
Amazingly, the mlb.com website is actually functioning perfectly (except for the tv sound driving me insane) and allowing me to watch games without mlbviewer so far this year. If I didn't know better, I'd think they'd started to care about us (but I do know better, so it's just an accident).
The really good news is that http://mlb.mlb.com/mlb/subscriptions/download.jsp indicates Windows Media Player is only required for 2008 and earlier season archives -- so the new player is apparently going to be an flv stream which should eliminate these WMV audio issues. Plus, it looks like we get 800K streams with the cheaper non-premium package this year.
Last year, Spring Training worked without mlbviewer. I believe the season before was the same way, too. It seems it's always Opening Day that they manage to break it for Linux.
As for the mplayer, I'm using debian's version which is dev-SVN-rUNKNOWN-4.1.2 (remarkably unhelpful!)
Revision 109, Daylight Saving Time miscalculation fixed
When Jesse or myself first wrote the time_offset and Daylight Saving Time detection code, one of us hardcoded 2008's end date in. This worked fine last year because the comparison today < Nov 2, 2008 always returned False. After 11/2/2008, this calculation doesn't work.
In other words....
I can't believe no-one has noticed or told me that I've been off by one hour for the last week or so.
Revision 109 fixes this by actually comparing today to start and end dates of Daylight Saving time. I also added support for next year so I won't have to think about that code until 2011.
Update to revision 109 or your display times will be off by an hour. Of course, maybe you all have been correcting this with time_offset config file option but I'd rather mlbviewer work correctly with a default configuration.
WBC time!!!! If I hadn't fixed this, I'd have been an hour late to the party.
I was watching a bit of the archived Japan-China game and there is definitely an audio hiccup. Around every 30 sec, I would lose the audio for a sec at most. Whether related to your problem, I haven't a clue. Video never acted up though, it is/was fine.
I was watching a bit of the archived Japan-China game and there is definitely an audio hiccup. Around every 30 sec, I would lose the audio for a sec at most. Whether related to your problem, I haven't a clue. Video never acted up though, it is/was fine.
It got better. The start of the stream had problems but as I got further into the game, it became smooth. It's the first time they've streamed at 600K (as near as I can tell) so maybe the hamsters weren't used to pedaling that fast. :-)
It's good to see MLB.TV is at least trying new things in Spring Training instead of waiting until Opening Day to screw everything up.
Oh, and no, this hiccupping is different from the hiss/crackle that I used to have with 1.0rc2 (fixed since I moved back to official debian package) and still kind of have with the Windows release.
Btw, does mplayer do flv? I assume it does because it does just about everything under the sun except brew my morning coffee. :-( (Maybe that's in 1.0rc3? ;-)
Don't you hate it when someone asks a question and then answers their own question five minutes later?
I downloaded a sample flv and I'm sufficiently satisfied that mplayer supports it (yet reasonably suspicious that mlb will figure out a way to muck it up.)
mlblistings.py in revision 112 (check-ins were fast and furious!)
New application using the MLBviewer library: mlblistings.py
Spring Training with its limited media coverage was pissing me off. Rather than scrolling through each game individually in mlbviewer to find the one I wanted to watch, I wrote a small application to display the day's listing with media information at a glance.
I have purposely made the output grep-able and awk-able using a colon delimiter, perhaps at the expense of human-readability. But, the output should be quite predictable for developing your own perl or shell scripts.
I have also tried to keep the code simple so you can use it as a reference application for developing your own MLBviewer applications or front-ends. The stream ID's that follow the A: and V: fields (for audio and video, respectively) can be used in conjunction with the test/mlbgameid.py script. The times are in a format the at(1) command supports so you can write your own cron/at jobs to play your games automatically.
A future revision will likely support an autoplay feature independent of mlbgameid.py to demonstrate how to use the gamestream objects in MLBviewer.
It uses the speed setting in your ~/.mlb/config file to return the
preferred video speed. It also uses audio_follow to return the preferred audio stream.
You can also use startdate=m/d/yy argument to produce listings in the future (or the past.)
The problem is in the original terminal (actually konsole).
On the sound / video issues people are reporting, are you all using Ubuntu or some variation? I'm using OpenSuse 11.1, and didn't have an hiccups watching WBC China and Japan today. Of course I recorded and watched it later, so maybe caching it helps?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.