LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-01-2010, 11:02 PM   #2836
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35

Quote:
Originally Posted by reefis View Post
that made make posix work but i'm still getting Buffering stream/bin/sh: rtmpdump: not found when i click on a game
You still have to copy the binary into your path.
Code:
 sudo cp rtmpdump /usr/local/bin/

Last edited by Theophile; 05-02-2010 at 09:20 AM.
 
Old 05-02-2010, 03:46 AM   #2837
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Theophile View Post
You still have to copy the binary into your path.
Correction:

Code:
 sudo cp rtmpdump /usr/local/bin
 
Old 05-02-2010, 09:20 AM   #2838
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Wow...
 
Old 05-02-2010, 09:24 AM   #2839
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15
whoops, i posted that without doing it correctly, had to do cd rtmpdump before that code... got the video working, thanks! success!

Last edited by reefis; 05-02-2010 at 09:40 AM.
 
Old 05-02-2010, 09:40 AM   #2840
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Okay, you got it.
 
Old 05-02-2010, 11:37 AM   #2841
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
hey I just noticed I'm getting errors on all my machines when trying condensed games:

Traceback (most recent call last):
File "mlbviewer.py", line 1482, 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 1155, in mainloop
g = GameStream(stream, cfg['user'], cfg['pass'],
UnboundLocalError: local variable 'stream' referenced before assignment

it does the same thing on both of my comps, any idea if MLB changed something?

the old revision does play the streams with mplayer, but the revision that switched to rtmpdump doesnt work for some reason
 
Old 05-02-2010, 12:31 PM   #2842
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by edouble312 View Post
hey I just noticed I'm getting errors on all my machines when trying condensed games:

Traceback (most recent call last):
File "mlbviewer.py", line 1482, 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 1155, in mainloop
g = GameStream(stream, cfg['user'], cfg['pass'],
UnboundLocalError: local variable 'stream' referenced before assignment

it does the same thing on both of my comps, any idea if MLB changed something?

the old revision does play the streams with mplayer, but the revision that switched to rtmpdump doesnt work for some reason
Pretty sure I tested that code before I committed it. But there's no way it can work the way it is written.

I'll have it fixed by tonight. I have a treat coming in tonight's revision.
 
Old 05-02-2010, 12:47 PM   #2843
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
I'm getting distortion in the Orioles/Red Sox game going on right now. I'm seeing some sort of grid in the picture and the audio sounds tinny and poorly compressed. I'm seeing this in both the NexDef and 1800k RTMP streams. The Marlins game seems fine. Anyone else noticing this?
 
Old 05-02-2010, 03:01 PM   #2844
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by Theophile View Post
I'm getting distortion in the Orioles/Red Sox game going on right now. I'm seeing some sort of grid in the picture and the audio sounds tinny and poorly compressed. I'm seeing this in both the NexDef and 1800k RTMP streams. The Marlins game seems fine. Anyone else noticing this?
Yes, I also see the grid with the 500k stream.

(edit) and now it's gone.

Last edited by snowday; 05-02-2010 at 03:49 PM.
 
Old 05-02-2010, 05:07 PM   #2845
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 248: Condensed Games fixed and Nexdef stream selection

First off, I had to make a major change to get condensed games to use rtmpdump. I've tried to test all the places I could have screwed things up but I probably missed one or two.

So before you update, it's good to know how to revert (in case I broke something you really want NOW):

To revert to revision 247:

Code:
$ svn -r 247 up
Now that that's out of the way, here's what's in 248:

+ Stream selection is back along with the status screen. Please note that the status screen will appear before the player window opens. Just be patient. If the player fails, the status screen will revert back to the listings. Also stream selection may occur quicker than the status screen updates. Again, be patient.

+ Like last year, max_bps configuration file parameter can limit the streams it attempts to connect to. For example, if you only want the 1800 and below streams, your ~/.mlb/config should contain:

Quote:
max_bps=1800000
+ Condensed games now use rtmpdump. Really, they do. I tested it this time.

I'm still working on the start_time parameter for nexdef which would enable archives and jump to inning for nexdef.

Honestly, though, I think MLBAM is still working on this from there end. Using java debug flags, I can see that autobahn.jar is getting the start time and it looks correct (well, the xml files are off by an hour so I compensate for that), but the stream always starts at the end.

So, Big Papi is up to .161, last I checked. It's possible MLBAM still has a bit more to go as well.

Last edited by daftcat; 05-02-2010 at 05:12 PM.
 
Old 05-02-2010, 05:09 PM   #2846
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Any problems you encounter with revision 248, if it fails to produce a stack trace (crash), run the operation again with debug enabled ('d' key) and post the complete stack trace here.
 
Old 05-02-2010, 08:28 PM   #2847
CCRS8
LQ Newbie
 
Registered: Apr 2010
Location: NC, USA
Distribution: Xubuntu
Posts: 29

Rep: Reputation: 1
I saw that daftcat just released version 248, so I went to upgrade my version of mlbviewer. I cd'd to my mlbviewer directory and ran "svn up" and got "At revision 249." No files were updated - it was as if I was already at the latest version already. Am I doing something wrong?
 
Old 05-02-2010, 08:46 PM   #2848
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by CCRS8 View Post
I saw that daftcat just released version 248, so I went to upgrade my version of mlbviewer. I cd'd to my mlbviewer directory and ran "svn up" and got "At revision 249." No files were updated - it was as if I was already at the latest version already. Am I doing something wrong?
All modifications I'm making are on a different branch.

Please change out of your mlbviewer directory and check out the nexdef2010 branch:

Code:
$ cd ~/
$ svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer/branches/nexdef2010 nexdef2010
I did this because I am doing some major re-working of code trying to get nexdef fully working as well as some much needed code cleanup. As such, mlbviewer (the trunk) will remain rather quiet until the code in the nexdef2010 branch has stabilized. Condensed game fix should go into mlbviewer but it's too big a change right now. Likewise nexdef features. Revision 249 is on the nexdef2010 branch. Perform a check out as above to get the most recent (and possibly buggy) code. Or if condensed games are working for you on mlbviewer (rebuilt mplayer to support rtmp) and you don't care about nexdef, then stay with mlbviewer if you don't want to deal with possibly buggy code.

Hope this clears things up.
 
Old 05-02-2010, 08:53 PM   #2849
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Hello - I think I'm probably making a very basic error, but I can't get the command 'make posix' to run:

debian:/usr/bin/rtmpdump# ls
ChangeLog Makefile rtmpdump.1.html rtmpgw.8.html rtmpsuck.c
COPYING README rtmpdump.c rtmpgw.c thread.c
librtmp rtmpdump.1 rtmpgw.8 rtmpsrv.c thread.h
debian:/usr/bin/rtmpdump# make posix
bash: make: command not found
debian:/usr/bin/rtmpdump#

I had originally put rtmpdump in the wrong directory - and copied it over to usr/bin. However, I don't think this is make th make posix command to fail. Any idea what I'm doing wrong.

I've tried to get this installed and running a couple of times with Fedora, but didn't even get close - I think I'm pretty close now with Debian and would like to get it to work.

Any help is greatly appreciated. Thanks.
 
Old 05-02-2010, 10:40 PM   #2850
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by kweisen View Post
Hello - I think I'm probably making a very basic error, but I can't get the command 'make posix' to run:

debian:/usr/bin/rtmpdump# ls
ChangeLog Makefile rtmpdump.1.html rtmpgw.8.html rtmpsuck.c
COPYING README rtmpdump.c rtmpgw.c thread.c
librtmp rtmpdump.1 rtmpgw.8 rtmpsrv.c thread.h
debian:/usr/bin/rtmpdump# make posix
bash: make: command not found
debian:/usr/bin/rtmpdump#

I had originally put rtmpdump in the wrong directory - and copied it over to usr/bin. However, I don't think this is make th make posix command to fail. Any idea what I'm doing wrong.

I've tried to get this installed and running a couple of times with Fedora, but didn't even get close - I think I'm pretty close now with Debian and would like to get it to work.

Any help is greatly appreciated. Thanks.
Code:
$ sudo apt-get install make
You may also have to run these since it seems like Debian was stupid about what to include in the default distribution:

Code:
$ sudo apt-get install gcc
$ sudo apt-get install libssl-dev
Use apt-cache search if those last two don't match exactly.
 
  


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 01:52 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