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-04-2009, 06:45 PM   #2056
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
mplayer issues


I can't or rather, I'd prefer not to redistribute mplayer source with mlbviewer.

I also haven't taken the time to verify the mplayer/mlbviewer issues with 3000K streams, mostly because my setup at home is not geared for 3000K use. I don't have the screen resolution to support 720p. I suppose I could try without -fs and see what happens.

If I can verify the mplayer issues, I can play around with which externals need to be at what versions and update the howto.

It could also very well be a mlb.com issue.

And no, there's really no easy way to re-sync a stream as you suggest. Perhaps the best compromise is to use the jump to innings feature to jump to the last half inning you started before the crash.

One thing I can suggest, though, is that when a game starts, manually switch the stream you desire (even if you're already there.) When you use the stream selection menu, I add a "strict=true" option to the query string. Now these options aren't really documented anywhere that I know of, but the inference from CubsFanUK (who poked around with NexDef and Firebug extensively to see what the flash player does) is that this should turn off auto-adjust quality. The fact of the matter is that nexdef still might auto-adjust if it detects that it needs to. So another inference that could be made is that if you are seeing speed changes from nexdef even after you try to "lock" in a stream, your system or your network may not be 3000K ready or mlb.com is not keeping up.

You can adjust your max_bps to 2200000 until I have some time to figure this out.
 
Old 06-05-2009, 01:40 PM   #2057
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I did a few tests with 29324 (actual, not checked out) last night and confirmed the issue with switching between 3000 and 2200. I also saw that there is an mplayer crash dump that's getting wiped off the screen. There's a handful of things I can try this weekend but I don't want to put too much effort into this since 1) mplayer is a moving target, 2) external dependencies are a moving target, and 3) 3000K stream from mlb.tv is a moving target. Too many variables to accurately point fingers.

What I would suggest is the moment your stream starts, "lock" in your 3000K stream by selecting it. If you still experience speed shifts/crashes, that's NexDef telling you that a) your machine isn't quite ready for 3000K, or b) (more likely) mlb.com's network is not quite ready for 3000K. That mplayer crashes with 3000 to 2200 speed shifts is a secondary problem. Let me know how your experience is with "locking in" the 3000K stream.
 
Old 06-05-2009, 05:24 PM   #2058
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
or b) (more likely) mlb.com's network is not quite ready for 3000K. That mplayer crashes with 3000 to 2200 speed shifts is a secondary problem.
I hear that. I strongly suspect that the period of time where the 3000k streams were working so well (the week or two right after they came back) was because the flash player still wasn't using the 3000k streams, and only us select few were.
 
Old 06-05-2009, 08:29 PM   #2059
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
looks like nexdef is not available tonight, yet, folks.
 
Old 06-05-2009, 08:32 PM   #2060
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by bosox View Post
so you are saying i would have to run the linux version of xbmc? i can definitely try that as currently mlbviewer and mplayer (linux version) are running quite well for me on the mac. it would be even better if i could run your plugin in the macos version of xmbc or plex (have you checked out their plugin architecture?), but perhaps that is for later down the road.
No, the mac xbmc. but you probably would need to compile from source. there will be instructions posted on how to do this.

Quote:
Originally Posted by bosox View Post
does linux xbmc use mplayer or some sort of embedded player? my only problem with mplayer on the mac is that i cannot figure out how to get the video to play fullscreen on an second display. if you have any suggestions on how to deal with this i would really appreciate it!

anyway, i guess have have some testing to do!
the mlbtv script that I have runs mplayer in the background to download the stream to a file and xbmc then plays that file. having xbmc playing the stream directly doesn't work well, right now.

Last edited by dols; 06-05-2009 at 08:37 PM.
 
Old 06-05-2009, 08:47 PM   #2061
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by dols View Post
looks like nexdef is not available tonight, yet, folks.
looks like nexdef is slowly getting enabled game by game
 
Old 06-06-2009, 08:19 PM   #2062
jeremybub
LQ Newbie
 
Registered: Apr 2009
Posts: 26

Rep: Reputation: 16
daftcat:

So, everything is working perfectly for my grandfather, thanks a lot! I set up a script you gave me to run when he logs in, so all he has to do is press CTRL +ALT + backspace, it will autologin for him, and start up mlbviewer. Using the 600K stream works great, no freezing or premature failure. I got mplayer -zoom working great without xv output fullscreen. The only thing is, as it is using stdout.py to play the game, it ignores video_follow options, and always gets the home or away game (I can't remember which one, but it is always the same). I tried looking into it to see how I could copy the code from mlbviewer which obeys video_follow, but without much luck. How would I change stdout.py so it always follows one team?
 
Old 06-07-2009, 12:51 PM   #2063
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by jeremybub View Post
daftcat:

So, everything is working perfectly for my grandfather, thanks a lot! I set up a script you gave me to run when he logs in, so all he has to do is press CTRL +ALT + backspace, it will autologin for him, and start up mlbviewer. Using the 600K stream works great, no freezing or premature failure. I got mplayer -zoom working great without xv output fullscreen. The only thing is, as it is using stdout.py to play the game, it ignores video_follow options, and always gets the home or away game (I can't remember which one, but it is always the same). I tried looking into it to see how I could copy the code from mlbviewer which obeys video_follow, but without much luck. How would I change stdout.py so it always follows one team?
How are you getting the "content id" to stdout.py? Is this part of the script? As I look at the "z" screen in mlbviewer, I can see the content ID's for home and away feeds as well as the audio feeds. If this is where you are getting them, you need to select a different content id. If it is part of what daftcat gave you, I'm not sure I can help.
 
Old 06-08-2009, 01:11 AM   #2064
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by jeremybub View Post
daftcat:

So, everything is working perfectly for my grandfather, thanks a lot! I set up a script you gave me to run when he logs in, so all he has to do is press CTRL +ALT + backspace, it will autologin for him, and start up mlbviewer. Using the 600K stream works great, no freezing or premature failure. I got mplayer -zoom working great without xv output fullscreen. The only thing is, as it is using stdout.py to play the game, it ignores video_follow options, and always gets the home or away game (I can't remember which one, but it is always the same). I tried looking into it to see how I could copy the code from mlbviewer which obeys video_follow, but without much luck. How would I change stdout.py so it always follows one team?
Poorboywilly touched upon it. But to be more specific, each home and away stream has its own content-id. Unfortunately, I don't print these in mlblistings.py output. I'm also not picky about which stream I use in stdout.py since the scripts in the test directory are really just test scripts for testing out the different connection types (nexdef vs basic.)

This month is too busy for me, but maybe by all-star break I can create something a bit more generic like I was already planning that will allow you to specify things like speed and team coverage on the command-line. For now, just hang tight with what you have.
 
Old 06-08-2009, 01:48 PM   #2065
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
man, does anyone else get constant email updates from linuxquestions.org about this thread? I've tried "unsubscribing" from the thread about fifteen times, through the email and directly from the site here, even though I don't know how I subscribed in the first place, but it still WON'T STOP SENDING ME EMAILS. Yes, I look at this thread, no I don't want email about it.
 
Old 06-08-2009, 02:03 PM   #2066
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by poorboywilly View Post
man, does anyone else get constant email updates from linuxquestions.org about this thread? I've tried "unsubscribing" from the thread about fifteen times, through the email and directly from the site here, even though I don't know how I subscribed in the first place, but it still WON'T STOP SENDING ME EMAILS. Yes, I look at this thread, no I don't want email about it.
I think it automatically subscribes you to the thread every time you post to it. One thing you can do is change your thread notifications to daily or weekly instead of instant. Under "Quick Links"->User Control Panel->Edit Options, near the bottom, you can change your notification preferences.
 
Old 06-09-2009, 03:49 PM   #2067
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
I think it automatically subscribes you to the thread every time you post to it. One thing you can do is change your thread notifications to daily or weekly instead of instant. Under "Quick Links"->User Control Panel->Edit Options, near the bottom, you can change your notification preferences.
Ha, that's the ticket! There is even a setting for "no subscriptions". Thanks.
 
Old 06-09-2009, 06:55 PM   #2068
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
can anyone watch a 3000k feed tonight? they seem to be listed, but cannot be selected. i watch 3000k all the time, so i know this is not an issue on my end.

what does that mean when they are listed and not selectable?

edit: seems to be working for the 8pm and later games...

Last edited by bosox; 06-09-2009 at 07:14 PM.
 
Old 06-10-2009, 12:01 AM   #2069
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
can anyone watch a 3000k feed tonight? they seem to be listed, but cannot be selected. i watch 3000k all the time, so i know this is not an issue on my end.

what does that mean when they are listed and not selectable?

edit: seems to be working for the 8pm and later games...
It means that nexdef is advertising the stream as being available but the stream really isn't available. You see, mlbviewer is like a travel agent while nexdef is a train depot, but ultimately the trains (aka the network) have to come in order to honor the service you paid for. One thing you can try on your end is restarting the nexdef plugin (autobahn.jar.) If that doesn't work, then the problem is almost definitely on the network end (trains are listed on the arrivals boards but they aren't leaving the station.) Of course, one more way to confirm this is to use a traffic monitor widget (anything that tells you how much bandwidth is coming into your computer) to see if perhaps the stream is coming, but the plugin isn't making it available to mplayer.

Maybe a future revision will allow you to modify your max_bps without restarting mlbviewer but that's not on the near term list.
 
Old 06-10-2009, 10:53 PM   #2070
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
when i try to open tonight's rangers game mlb viewer crashes with the following traceback:
Quote:
Traceback (most recent call last):
File "mlbviewer.py", line 1508, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 1159, in mainloop
stream = available[current_cursor][2][myteam]
IndexError: list index out of range
seems fine for the other games. any idea?
 
  


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 09:14 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