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.
flvstreamer is rtmpdump in an Adobe-friendly disguise. At some point, I'd like to hack up one or the other and remove the dump-to-disk option (leaving only the stdout option) as well as the RTMPE code so that it behaves more like a streamer vs. a downloader to further Adobe-proof it and release that as its own spin-off just for mlbviewer users.
You're right. Flvstreamer doesn't patch cleanly and I believe that it would also require mlbviewer changes to support flvstreamer since it messed with the command-line as well. So for now, stick with rtmpdump v1.6. At least I know that code base works for mlbviewer and it won't be changing anymore.
Eventually I'll either move to flvstreamer or create my own mlbstreamer off one of those code bases.
Yeah, flvstreamer and rtmpdump needs to be moved off of these sketchy file-sharing sites and onto something like code.google or sourceforge.
Anyone: what options to mplayer are best to use for non-NexDef video. I am finding sometimes that the audio is out of sync with the video or sometimes the video plays for a second and then pauses. I've been adding the following: -autosync 30 -fixed-vo -softvol -cache 8192. The default "-cache 2048" doesn't work so well either.
Adjust the max_bps in the config file until you get a setting that works for your household. 14 on a DSL? Ouch! Are you sure it wouldn't just be easier to use 800K non-nexdef? Also, the very first thing you should do when you encounter streaming issues with nexdef is restart the autobahn.jar. It's not perfect code. But it is the closest piece of the puzzle to the actual media stream.
daftcat, thanks for your reply! it is true that besides nexdef having issues from time to time, my network is truly a disaster. the 12oo stream works okay, it is great that one can limit the max_bps in the config file, because this keeps me in the game.
This error message was really meant to get people to read that file who are expecting last year's mlbviewer to just work.
...
One of those lines is generating an error and triggering the error message you see.
Thanks! It was suds that was not being found. It seems the installer installed it for python 2.4 but not 2.6. Then on my machine the command "python" was linked to "python2.6", so 2.6 was being used and suds was only installed for 2.4. I just changed the symlink for python to point to 2.4 and it worked
Thanks! It was suds that was not being found. It seems the installer installed it for python 2.4 but not 2.6. Then on my machine the command "python" was linked to "python2.6", so 2.6 was being used and suds was only installed for 2.4. I just changed the symlink for python to point to 2.4 and it worked
Great.
At some point I could change that error message to point to which dependency failed but usually installing pyxml and suds as the doc describes makes the error go away. Glad it was a simple fix.
Yeah, flvstreamer and rtmpdump needs to be moved off of these sketchy file-sharing sites and onto something like code.google or sourceforge.
Anyone: what options to mplayer are best to use for non-NexDef video. I am finding sometimes that the audio is out of sync with the video or sometimes the video plays for a second and then pauses. I've been adding the following: -autosync 30 -fixed-vo -softvol -cache 8192. The default "-cache 2048" doesn't work so well either.
I think the flvstreamer/rtmpdump community is still gun-shy over the Adobe run-in. This is why I want to cut up the code to remove both RTMPE and the download to disk functionality so both Adobe and content providers feel comfortable again--like we're not trying to steal their content but just play it. If I can figure that out (and C++ is not my strong suit), then I'll post the result to sourceforge.
For my mplayer options, I usually use -autosync 30 -cache 8192. Usually it syncs rather well, but occasionally, I'll just restart the stream to sync up again. That's fine for live games, but not a great solution for archived games. Often there's a sleepy start to a game where it either has to just "shake it out" and it plays normally after a few seconds or you can do a quick pause and resume to get past that first hump.
Nope. If the game is started, suds has done its job. This is a warning and it's harmless.
What stream are you trying to use? 3000K? That's kind of dicey at the moment even in a perfect world and using the flash player. As I can't even test with 3000K myself (my laptop doesn't support 1080p), 3000K comes with no warranty (not that any of mlbviewer has a warranty. )
So, let's see if we can't get you 2200K working instead. Once that works, I'll leave you on your own (or with the help of others here) to figure out 3000K.
First, do you have the CPU, memory, and bandwidth to handle 2200K? Post those numbers for us.
Second, how long has it been since you've restarted autobahn.jar? This code isn't perfect and it's probably best to restart it first before we go any further with mlbviewer and mplayer.
Third, is your mplayer relatively current? Has it been built from SVN sources newer than April 24, 2009? Don't rely on any pre-packaged mplayer binary distribution to be this current.
Finally (for now), what video_player line are you using in ~/.mlb/config?
Thanks for the response! I believe my issue is with the ath9k driver and not mlbviewer or mplayer.
The auto close of mplayer is a reaction to my ath9k loosing internet connection. (I think every linux distro is having massive issues with the ath9k and -n)
I changed back to Ubuntu 9.04, recompiled everything from scratch (ffmpeg, x264, live555 ect) and still was getting booted. Compiled my kernel 5 times trying to get the ath9k working. Finally I caved in and swapped out my router to a g only (I was using a airport extreme that would not allow g speed only connection)..
So far so good, no disconnects and no mplayer closing.
^^^ I do however have a *new* issue.. When mplayer opens the feed starts fine then after a few seconds the screen splits in half (half is frozen game feed and the other half black and blank) it does auto correct after a few moments though and the game plays fine.
anyone else having issues with indians at cubs right now? set in debug, i get this...
Traceback (most recent call last):
File "mlbviewer.py", line 1508, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1201, in mainloop
u = g.soapurl()
File "/home/mrks/mlbviewer/MLBviewer/mlbtv.py", line 1261, in soapurl
return self.nexdef_url(game_url)
File "/home/mrks/mlbviewer/MLBviewer/mlbtv.py", line 1283, in nexdef_url
raise Exception,self.error_str
Exception: Path+not+found%3A+%2Fsliceserver%2FMLB%5FGAME%5FVIDEO%5FCLECHN%5FHOME%5F20090620
anyone else having issues with indians at cubs right now? set in debug, i get this...
Traceback (most recent call last):
File "mlbviewer.py", line 1508, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1201, in mainloop
u = g.soapurl()
File "/home/mrks/mlbviewer/MLBviewer/mlbtv.py", line 1261, in soapurl
return self.nexdef_url(game_url)
File "/home/mrks/mlbviewer/MLBviewer/mlbtv.py", line 1283, in nexdef_url
raise Exception,self.error_str
Exception: Path+not+found%3A+%2Fsliceserver%2FMLB%5FGAME%5FVIDEO%5FCLECHN%5FHOME%5F20090620
Yep, as mswift42 indicated, this is a nexdef error. More specifically, nexdef acts like a proxy server and it is relaying it's error back to you. This error says it can't find the video on the slice server (or the slice server doesn't have the video.) Either way, it's not working with nexdef right now. Maybe I'll fix this error handling to make it more clear. In the meantime, use the rtmpdump (non-nexdef) stream (or keep trying and hope nexdef clears up.)
It's also a good idea to restart the autobahn.jar. It's always a good idea to try this first.
i tried that. thanks daftcat! again and again. i just don't know enough about how all this works so i had to relay my question to the board. the game worked later though!
markus
A new issues arose for me today. Everything was working fine last night then today when trying to log in and watch an archived game I get:
Code:
There was parser problem with the listings page
Followed by this:
Code:
/usr/local/lib/python2.6/dist-packages/suds-0.3.5-py2.6.egg/suds/wsse.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead
Traceback (most recent call last):
File "mlbviewer.py", line 1508, 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 388, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
UnboundLocalError: local variable 'hd_available' referenced before assignment
Currently my audio while using MLBviewer goes out the PC speakers. I would like to have go to my "monitor" using the HDMI output, like the audio does while using firefox. Could I do this by a command in the config file? or somewhere else?
A new issues arose for me today. Everything was working fine last night then today when trying to log in and watch an archived game I get:
Code:
There was parser problem with the listings page
Followed by this:
Code:
/usr/local/lib/python2.6/dist-packages/suds-0.3.5-py2.6.egg/suds/wsse.py:26: DeprecationWarning: the md5 module is deprecated; use hashlib instead
Traceback (most recent call last):
File "mlbviewer.py", line 1508, 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 388, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
UnboundLocalError: local variable 'hd_available' referenced before assignment
Thanks in advance
Please always specify the game or games and the date which give you errors. I don't have time to try each game looking for this error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.