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.
Looks like I spoke too soon. The requests for the innings file (which I use to find the start of the stream) are all returning 404 at the moment when not five minutes ago, they were working just fine. I am hoping this is just a glitch that will get resolved on MLB's end soon and not a permanent change I will have to work around.
I hate to say this but now I really wish there were a Windows version of this. Since my laptop died last fall I'm only online with a laptop from my local library and I really miss running mlbviewer. But please don't take this as a feature request. You've got enough on your plate with the Linux version. I'd never ask you to port this over to Windows. 8)
Looks like I spoke too soon. The requests for the innings file (which I use to find the start of the stream) are all returning 404 at the moment when not five minutes ago, they were working just fine. I am hoping this is just a glitch that will get resolved on MLB's end soon and not a permanent change I will have to work around.
Seems to be a problem at the mlb side, get media error on mlb.tv site as well...
Looks like I spoke too soon. The requests for the innings file (which I use to find the start of the stream) are all returning 404 at the moment when not five minutes ago, they were working just fine. I am hoping this is just a glitch that will get resolved on MLB's end soon and not a permanent change I will have to work around.
And it looks like it got resolved before I even finished adding the debug code to find the URL resulting in a 404 response. It wasn't the innings URL. It was something to do with one of the actual media request URLs.
I hate to say this but now I really wish there were a Windows version of this. Since my laptop died last fall I'm only online with a laptop from my local library and I really miss running mlbviewer. But please don't take this as a feature request. You've got enough on your plate with the Linux version. I'd never ask you to port this over to Windows. 8)
It should run just fine through Cygwin. Though you will probably have to compile a few extra packages (like python-gdata) since Cygwin lacks a decent package manager last time I looked at it.
I've read back through the last few pages and the answer still isn't clear to me. I'm using current versions of mlbviewer/mlbplayer together with version 67 (current version) of mlbhls. When I try to retrieve a game (specifically Yankees Houston of April 1 and 2) with NextDef activated, it just hangs. No response of any kind. Toggling off the high def retrieves the game.
Is this because MLB is no longer offering the games in high def except as a part of their new flash player? Does it mean that mlbhls is now obsolete and those who want to watch high def will simply not be able to use the mlbviewer/mlbplayer?
I actually prefer mlbviewer over the MLB web site feed anyway, but I want to know if I should keep trying high def or just forget about it.
If you have -really-quiet in your video_player= line, please remove that. That will make it look like its hanging even though it may actually just be filling cache before playback.
Thank you for telling me specific games. It helps to verify things on my end. However, having tested both games, I seem to only have a long time filling cache but it eventually does play.
It sounds like NEXDEF mode is still supported and now the only officially supported stream for video. However, with the Nexdef plugin being retired, I should probably change that to "HLS" mode.
The RTMP streams however don't seem to have been retired just yet even if they are not available through the official client. I haven't looked into audio yet, but I assume they are still using RTMP only for audio streams. I think condensed games may also be still using RTMP.
Everything that worked last year continues to work this year even though MLB says they made changes to the service.
It should run just fine through Cygwin. Though you will probably have to compile a few extra packages (like python-gdata) since Cygwin lacks a decent package manager last time I looked at it.
Sweetness! I found instructions for installing it as a portable app (thank you Internet Archive!) and while I'm not sure about a package manager I did a search on their site and managed to find python-gdata with no problems. (Although it doesn't give me a package to install. Dammit.) I guess I have a project for tomorrow.
I run mlbviewer on Cygwin from work all the time (especially handy with my home broadband down the last few days). Looking at my Cygwin source folders, it looks like the only things I had to compile from source were rtmpdump, libconfig (an mlbhls dependency), and mlbhls. Anything else I just got from the Cygwin repos by re-running the Cygwin installer and selecting the packages whose names matched the missing dependencies.
As I recall, all of that was fairly straightforward except for libconfig, which was a pain in the neck -- I think there's several other packages out there called libconfig, and the correct one is no longer maintained or some such, so it took some serious tracking down. I think the one I'm using is libconfig-1.4.9 from http://www.hyperrealm.com/libconfig/ (but don't trust me).
Please remove the "-really-quiet" from the audio_player= line. It's possible those errors are not really errors (I get messages like that related to LiRC) and can be ignored. But we won't know until we see all the output.
I see that it takes about 10 seconds or so on my system because I think the -cache is too low. Let's see what errors are really happening when -really-quiet is removed.
Also, if the GUI is returning to listings before you can see all the messages, you can use mlbplay.py instead.
I re-installed rtmpdump and changed the cache setting to 512, now I'm getting the error:
Requesting media: ('KDKA', u'134', '31698473', '14-380579-2014-04-03')rtmpdump: error while loading shared libraries:
libssl.so.0.9.8: cannot open shared object file: No such file or directory
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)
Invalid seek to negative position fffffffffffffff8!
Failed to recognize file format.
Exiting... (End of file)
I've installed libssl.so.0.9.8, as Raspian comes with libssl.so.1.0.0 and now I get this error:
pi@raspberrypi ~/mlbviewer-svn $ python mlbplay.py j=03/31/14 v=bos
Illegal instruction
mplayer: could not connect to socket
mplayer: No such file or directory
I re-installed rtmpdump and changed the cache setting to 512, now I'm getting the error:
Requesting media: ('KDKA', u'134', '31698473', '14-380579-2014-04-03')rtmpdump: error while loading shared libraries:
libssl.so.0.9.8: cannot open shared object file: No such file or directory
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)
Invalid seek to negative position fffffffffffffff8!
Failed to recognize file format.
Exiting... (End of file)
I've installed libssl.so.0.9.8, as Raspian comes with libssl.so.1.0.0 and now I get this error:
pi@raspberrypi ~/mlbviewer-svn $ python mlbplay.py j=03/31/14 v=bos
Illegal instruction
mplayer: could not connect to socket
mplayer: No such file or directory
So the two mplayer lines...
Quote:
mplayer: could not connect to socket
mplayer: No such file or directory
These are mplayer trying to open the socket for LiRC and not finding the IR device. You can ignore these.
I'm not sure what's going on with the rest.
Also, v= means video. I thought you were an audio subscriber. If so, can you retry with a=bos instead?
This may sound like a dumb question, but are you sure the libssl.so.0.9.8 you installed was the correct architecture? E.g. you didn't just install an Intel deb instead of ARM (or whatever arch Raspberry Pi is)?
These are mplayer trying to open the socket for LiRC and not finding the IR device. You can ignore these.
I'm not sure what's going on with the rest.
Also, v= means video. I thought you were an audio subscriber. If so, can you retry with a=bos instead?
This may sound like a dumb question, but are you sure the libssl.so.0.9.8 you installed was the correct architecture? E.g. you didn't just install an Intel deb instead of ARM (or whatever arch Raspberry Pi is)?
I got it working. A broken version of rtmpdump was still installed. A quick purge and re-install fixed it. Thanks you for your patience and help.
I got it working. A broken version of rtmpdump was still installed. A quick purge and re-install fixed it. Thanks you for your patience and help.
BTW, that's pretty awesome that people have mlbviewer working on Raspberry Pi now. Yet another reason why I should save up my lunch money for the $25 and pick one up...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.