LinuxQuestions.org
Help answer threads with 0 replies.
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 06-18-2009, 07:03 PM   #2131
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0

Quote:
Originally Posted by daftcat View Post
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.
 
Old 06-19-2009, 03:59 AM   #2132
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
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.

thanks so much,
markus
 
Old 06-19-2009, 07:15 AM   #2133
jowilkin
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
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
 
Old 06-19-2009, 01:35 PM   #2134
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by jowilkin View Post
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.
 
Old 06-19-2009, 01:45 PM   #2135
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dols View Post
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.
 
Old 06-19-2009, 07:17 PM   #2136
raqball
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
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.

Thanks in advance!
 
Old 06-20-2009, 12:29 PM   #2137
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
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
 
Old 06-20-2009, 01:17 PM   #2138
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Surprisingly, mlb.com has problems with next-def.
You can watch the game however, via rtmpdump.
 
Old 06-21-2009, 01:07 PM   #2139
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by itshardertotell View Post
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.
 
Old 06-22-2009, 05:19 AM   #2140
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
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
 
Old 06-22-2009, 11:06 AM   #2141
raqball
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
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
 
Old 06-22-2009, 11:17 AM   #2142
dvan
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
HDMI Audio

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?
 
Old 06-22-2009, 02:49 PM   #2143
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by raqball View Post
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.
 
Old 06-23-2009, 10:26 PM   #2144
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
It looks like MLB.TV is coming to Boxee:

http://newteevee.com/2009/06/23/boxe...ing-mlb-to-tv/
 
Old 06-23-2009, 11:26 PM   #2145
raqball
LQ Newbie
 
Registered: Jun 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by dols View Post
It looks like MLB.TV is coming to Boxee:

http://newteevee.com/2009/06/23/boxe...ing-mlb-to-tv/
Tried it, hated it... The video feed is just as bad as using the mlb flash version.. mlbviewer and mplayer is still the best!
 
  


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 11:53 AM.

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