LinuxQuestions.org
Visit Jeremy's Blog.
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-01-2009, 10:27 PM   #2041
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
xbmc plugin progress


just wanted to post where I am with a XBMC linux plugin, see attached screenshots.

What I have working:
3000K streaming, some buffering is necessary
condensed games playback
archived games
selecting inning playback for home&away video feeds

not working due to XBMC bugs:
remote control navigation on some pages
top plays playback

TODO:
audio streams
settings via GUI (change login/password, max stream setting)
better mplayer/autobahn handling
Attached Thumbnails
Click image for larger version

Name:	mlbtv-main.png
Views:	137
Size:	123.8 KB
ID:	745   Click image for larger version

Name:	mlbtvfinished.png
Views:	106
Size:	61.5 KB
ID:	746   Click image for larger version

Name:	mlbtvlive.png
Views:	92
Size:	61.2 KB
ID:	747  
 
Old 06-01-2009, 10:47 PM   #2042
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by dols View Post
just wanted to post where I am with a XBMC linux plugin, see attached screenshots.

What I have working:
3000K streaming, some buffering is necessary
condensed games playback
archived games
selecting inning playback for home&away video feeds

not working due to XBMC bugs:
remote control navigation on some pages
top plays playback

TODO:
audio streams
settings via GUI (change login/password, max stream setting)
better mplayer/autobahn handling
Oh I love you. And I am available for immediate testing. ;-)
 
Old 06-01-2009, 11:10 PM   #2043
thepedestrian
LQ Newbie
 
Registered: May 2009
Posts: 2

Rep: Reputation: 0
I'll also volunteer for testing, I run both XBMC and Boxee and will love you forever if I could watch baseball using either one.
 
Old 06-02-2009, 05:03 AM   #2044
Onip
Member
 
Registered: Apr 2008
Posts: 36

Rep: Reputation: 15
Is mlbviewer compatible with python-2.6?
 
Old 06-02-2009, 07:22 AM   #2045
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by Onip View Post
Is mlbviewer compatible with python-2.6?
Yes.
 
Old 06-02-2009, 03:58 PM   #2046
Moon
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Once again, I have to give thanks you guys for helping each other out. It really takes a load off me and that's exactly what I've been needing. Now if only my Royals would start winning again, my blood pressure could come down again.

For those who are running bleeding edge mplayer from svn and encountering stability problems, I myself have stopped updating on a regular basis. I felt mplayer and mlbviewer was at a reasonable state to sit back and enjoy the games. If you want to go back to the build I'm using--and it's reasonably stable--you can check out revision 29311:

Code:
$ svn co -r 29311 svn://svn.mplayerhq.hu/mplayer/trunk mplayer-29311
This will create a new directory called mplayer-29311 (adjust this directory name to your personal preference with the last argument of the svn command) that contains revision 29311 of mplayer. If you kinda remember what date mplayer started going wonky on you, you can look in the 'svn log' output for a revision on or near that date to update to. This should be your 'last known good' revision. I'd recommend keeping a cheat sheet of good and bad mplayer builds if you enjoy updating and rebuilding mplayer on a regular basis.
Daftcat,

I pulled down mplayer revision 29311 with the above command, but I noticed that it still grabbed the latest revision of the externals (libavcodec, etc. are now at rev. 19076). Once built, it seems to be marginally more stable, but it still crashes on some speed changes, especially 3000K->2200K (as noted by bosox with the current mplayer revision).

This similarity leads me to suspect that these crashes aren't so much latest-mplayer related as they are latest-static-ffmpeg related; is there any magic svn incantation that will revert the externals back to whatever was current when the main app was at revision X? This would appear to be the only way that our mplayer-29311 builds will ever exactly match what you have been using, since yours was built a few weeks ago and included the externals' revisions that were current at that time (which, AFAICT, would mean that libavcodec and friends were back at around rev. 18852 or so).

Oh, and as for your Royals ... five and a half back isn't that bad, at this stage of the season; $DEITY willing, my Red Sox will take the Tigers down a peg or two for you over the next three days. At least you get to watch this year's Cy Young winner pitch for your team! Do you agree that the Crispy for RamRam trade was a win-win one? Ramon has been very solid for us so far, and Coco may be streaky at the plate, but he's still the best I've ever seen out in center field.
 
Old 06-02-2009, 08:27 PM   #2047
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Theophile & thepedestrian & others, here's the location for the mlbtv-xbmc-plugin project:

http://code.google.com/p/mlbtv-xbmc-plugin/

Here's the thread over on the xbmc forums where we can ask the kind xbmc developers for more support:

http://xbmc.org/forum/showthread.php?t=43660
 
Old 06-02-2009, 08:40 PM   #2048
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by dols View Post
Theophile & thepedestrian & others, here's the location for the mlbtv-xbmc-plugin project:

http://code.google.com/p/mlbtv-xbmc-plugin/

Here's the thread over on the xbmc forums where we can ask the kind xbmc developers for more support:

http://xbmc.org/forum/showthread.php?t=43660
i run mlbviewer under macosx leopard. i also run the mac versions of xbmc and plex. is it possible to use your plugin with either of those in macos? if not what are the future plans? i know plex has many plugins, and if this would run under that app it would be awesome!

thanks!
 
Old 06-03-2009, 01:47 PM   #2049
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Moon View Post
Daftcat,

I pulled down mplayer revision 29311 with the above command, but I noticed that it still grabbed the latest revision of the externals (libavcodec, etc. are now at rev. 19076). Once built, it seems to be marginally more stable, but it still crashes on some speed changes, especially 3000K->2200K (as noted by bosox with the current mplayer revision).

This similarity leads me to suspect that these crashes aren't so much latest-mplayer related as they are latest-static-ffmpeg related; is there any magic svn incantation that will revert the externals back to whatever was current when the main app was at revision X? This would appear to be the only way that our mplayer-29311 builds will ever exactly match what you have been using, since yours was built a few weeks ago and included the externals' revisions that were current at that time (which, AFAICT, would mean that libavcodec and friends were back at around rev. 18852 or so).

Oh, and as for your Royals ... five and a half back isn't that bad, at this stage of the season; $DEITY willing, my Red Sox will take the Tigers down a peg or two for you over the next three days. At least you get to watch this year's Cy Young winner pitch for your team! Do you agree that the Crispy for RamRam trade was a win-win one? Ramon has been very solid for us so far, and Coco may be streaky at the plate, but he's still the best I've ever seen out in center field.
I don't like Crisp's arm. He's certainly no Jose Guillen in that respect. I'm not sure if he is really all that much an improvement over Gathright with the way he's been hitting lately. He started out on fire though. Now I'm longing to have Ram Ram back because our bullpen is really hurting us. True, 5.5 isn't bad right now but they've been falling more or less in lock step with an overall weak Central division. Now that the Tigers have stepped up their play, the Royals must do the same or they're going to be a much improved cellar dweller. Case in point, Tigers lost yesterday and Royals lost. Not going to gain any ground that way.

I can get all the external revisions for you tonight and I'm not sure how you can piece them together. It might be more worthwhile to do an svn log | head on what you have and find out the date corresponding to 29311 and download a nightly source (does mplayer have nightly source tarballs?) corresponding to that date.
 
Old 06-03-2009, 04:01 PM   #2050
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
I can get all the external revisions for you tonight and I'm not sure how you can piece them together. It might be more worthwhile to do an svn log | head on what you have and find out the date corresponding to 29311 and download a nightly source (does mplayer have nightly source tarballs?) corresponding to that date.
not to be a pest, but don't forget about new users who might still be finding there way over here. correct me if i am wrong, but following the instructions in the mlbviewer package now is going to result in a very different experience than it did for me now that the newest build of mplayer has some issues. perhaps things have been fixed in the past few days -- i have no idea as i am sticking with 29311 for now (but moon is correct, the "downgrade" didn't really revert things to being as stable as they were before i upgraded to the newest svn version).

so to avoid extra support cases over here (and some potential hair-pulling as well), is there a way to include a stable version of mplayer with mlbviewer? or at a minimum if there was a way to provide instructions to get 29311 (for example), with those corresponding dependencies, in the readme/install file, that might be useful...

edit:
and on an unrelated note: would it be possible to set a key (in the same way you change streams) that would restart the feed without having to close mplayer and restart the game in mlbviewer? if that is possible that would be a great way to resync the audio/video when sync issues arise. for live games, starting again "live" would be fine, but it would be nice for archived games if it picked up where it was when the "sync" key was pressed. anyway, i don't know if that would be easy to do, but if might be something to consider for whenever you decide to update mlbviewer. also, as mlbviewer plugins start to appear, this might also be a useful feature.

Last edited by bosox; 06-03-2009 at 04:07 PM.
 
Old 06-03-2009, 05:48 PM   #2051
mjbcoug
LQ Newbie
 
Registered: Apr 2009
Location: Spokane, WA
Distribution: Ubuntu (Jaunty)
Posts: 19

Rep: Reputation: 0
mplayer problems or not?

I have seen increased problems with streams dropping and/or mplayer crashing...a behavior that others have mentioned here as well. I went back to an older version of mplayer (r29308) and it didn't seem to fix anything. I wasn't certain or convinced it was an mplayer issue anyway.

I decided to try setting max_bps=2200000 in my config and...drumroll please...very few crashes or drops now. I have been testing on the archived version of last night's Giants-Nats game. Before downsetting max_bps I could not get through a complete inning without a crash or drop. Since the downsetting I've watched through 3 innings without a problem. It has even adjusted up/down between 1200 and 2200 a number of times without issue.

This leads me to think this is an issue with the MLB.TV 3000K stream yet again. A couple weeks back it was great (when it finally returned). But it seems as though it is not streaming as well now. Anyone else wanna try this theory out on their end to see that it's independent of my setup/network?

I am gonna go back to the latest mplayer and test at 2200K for a bit now to see if there is any change in stability.

Last edited by mjbcoug; 06-03-2009 at 05:49 PM.
 
Old 06-03-2009, 06:20 PM   #2052
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by mjbcoug View Post
I have seen increased problems with streams dropping and/or mplayer crashing...a behavior that others have mentioned here as well. I went back to an older version of mplayer (r29308) and it didn't seem to fix anything. I wasn't certain or convinced it was an mplayer issue anyway.

I decided to try setting max_bps=2200000 in my config and...drumroll please...very few crashes or drops now. I have been testing on the archived version of last night's Giants-Nats game. Before downsetting max_bps I could not get through a complete inning without a crash or drop. Since the downsetting I've watched through 3 innings without a problem. It has even adjusted up/down between 1200 and 2200 a number of times without issue.

This leads me to think this is an issue with the MLB.TV 3000K stream yet again. A couple weeks back it was great (when it finally returned). But it seems as though it is not streaming as well now. Anyone else wanna try this theory out on their end to see that it's independent of my setup/network?

I am gonna go back to the latest mplayer and test at 2200K for a bit now to see if there is any change in stability.
i have been (and am right now) watching the 3000k streams with no problem. the only issue i have is that there is a good chance of a crash if i switch from 3000k to 2200k feed. perhaps you are having mplayer issues when your system tries to go from 3000 to 2200?

as was mentioned above, downgrading mplayer does not downgrade the dependencies (or externals if that is the correct term). since the issue began for me when i upgraded to the latest mplayer, i would say that is probably the culprit. but we wait for the expert to weigh in...
;-)
 
Old 06-03-2009, 06:56 PM   #2053
mjbcoug
LQ Newbie
 
Registered: Apr 2009
Location: Spokane, WA
Distribution: Ubuntu (Jaunty)
Posts: 19

Rep: Reputation: 0
Quote:
Originally Posted by bosox View Post
i have been (and am right now) watching the 3000k streams with no problem. the only issue i have is that there is a good chance of a crash if i switch from 3000k to 2200k feed. perhaps you are having mplayer issues when your system tries to go from 3000 to 2200?

as was mentioned above, downgrading mplayer does not downgrade the dependencies (or externals if that is the correct term). since the issue began for me when i upgraded to the latest mplayer, i would say that is probably the culprit. but we wait for the expert to weigh in...
;-)
Initially I had been watching at 3000K with the -fs switch so I wasn't able to actively see when the stream was switching via the status in mlbviewer. When I lowered my max_bps I also removed the -fs so I could watch the stream size change. I have seen numerous switches from 2200 to 1200 and back with no dropping of the stream.

I am having a hard time understanding what could be different in mplayer that would cause a crash when switching from 3000K to 2200K, but the very same mplayer code doesn't have any issues when switching from 2200K to 1200K.

Incidentally, my method of "downgrading" mplayer DOES downgrade the externals. When you svn up on mplayer it updates all the other linked externals as well but when you svn -r on a revision it just rolls back the mplayer code itself. So building an old mplayer via svn -r doesn't truly build downgrade everything as you say. However, each time I've built mplayer I've created a .deb package that is labelled with the svn # of mplayer. So to roll back I only needed to sudo apt-get remove mplayer then re-install using the package of my choosing...no rebuilding, no code rollbacks. I am seeing these crash problems with the older mplayer package which I think contains the older externals.
 
Old 06-03-2009, 08:00 PM   #2054
dols
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by bosox View Post
i run mlbviewer under macosx leopard. i also run the mac versions of xbmc and plex. is it possible to use your plugin with either of those in macos? if not what are the future plans? i know plex has many plugins, and if this would run under that app it would be awesome!

thanks!
It should be possible. I have a macosx box, too, to test with. It might require compiling xbmc and mplayer just like on linux but I haven't been following macos mlbviewer issues.
 
Old 06-03-2009, 08:39 PM   #2055
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by dols View Post
It should be possible. I have a macosx box, too, to test with. It might require compiling xbmc and mplayer just like on linux but I haven't been following macos mlbviewer issues.
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.

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!
 
  


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 02:59 PM.

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