LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-26-2009, 12:35 AM   #1981
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Quote:
Originally Posted by MattJW92 View Post
Ok guys, total Linux newbie here.

I've installed Ubuntu via Wubi specifically for mlbviewer, but cannot work out how to install it. I've been using the instructions at http://ubuntuforums.org/showthread.php?t=839582 but it doesn't seem to work, and I really want to access the 3000k streams. Can anyone talk me through (in basic language) what I need to do, from start to finish?

It would be very much appreciated, and I've heard you guys are all very helpful and friendly
The instructions in that thread are out of date for the 2009 season. Use the REQUIREMENTS-2009.txt file instead.

So reading your posts, it seems the next step is getting NexDef (autobahn.jar) working.

Please run the following command from wherever you downloaded autobahn.jar to (probably ~/Desktop ?)

Code:
$ java -jar autobahn.jar
Post the output either here or to pastebin.com. You can use pastebin.com for lots of output. It's always better to err on too much information than not enough.

Also, don't forget to re-build mplayer with latest svn source according to the instructions in REQUIREMENTS-2009.txt. It won't work with the pre-packaged mplayer.
 
Old 05-26-2009, 04:12 AM   #1982
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
The instructions in that thread are out of date for the 2009 season. Use the REQUIREMENTS-2009.txt file instead.

So reading your posts, it seems the next step is getting NexDef (autobahn.jar) working.

Please run the following command from wherever you downloaded autobahn.jar to (probably ~/Desktop ?)

Code:
$ java -jar autobahn.jar
Post the output either here or to pastebin.com. You can use pastebin.com for lots of output. It's always better to err on too much information than not enough.

Also, don't forget to re-build mplayer with latest svn source according to the instructions in REQUIREMENTS-2009.txt. It won't work with the pre-packaged mplayer.
Here is the output from autobahn:

matt@ubuntu:~/Desktop$ java -jar autobahn.jar
Time to init SSL: 69
10:05:24.747 EVENT Starting Jetty/4.2.x
10:05:24.828 EVENT Started HttpContext[/protected]
10:05:24.829 EVENT Started HttpContext[/]
10:05:24.833 EVENT Started SocketListener on 127.0.0.1:8001
10:05:24.833 EVENT Started org.mortbay.http.HttpServer@210a6ae2

I will try updating mplayer now.
 
Old 05-26-2009, 04:25 AM   #1983
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
Ok, just tried installing mplayer and had an error message with step 5: '(as root) run make install' :

make: *** No rule to make target `install'. Stop.

When I try to install it in the Desktop/mplayer path, I get this:

matt@ubuntu:~/Desktop/mplayer$ make install
install -d /usr/bin /usr/etc/mplayer /usr/lib
install: cannot create directory `/usr/etc': Permission denied
make: *** [install-dirs] Error 1
 
Old 05-26-2009, 05:03 AM   #1984
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
Think i've fixed that by putting 'sudo' in front of 'make install'.

Next problem is that I changed the max quality in the config file from 800 to 3000, and mlbviewer won't open:

matt@ubuntu:~/Desktop/mlbviewer-svn/mlbviewer-svn$ python mlbviewer.py
/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 1501, 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
TypeError: object of type 'NoneType' has no len()
 
Old 05-26-2009, 05:40 AM   #1985
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by MattJW92 View Post
Think i've fixed that by putting 'sudo' in front of 'make install'.

Next problem is that I changed the max quality in the config file from 800 to 3000, and mlbviewer won't open:

matt@ubuntu:~/Desktop/mlbviewer-svn/mlbviewer-svn$ python mlbviewer.py
/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 1501, 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
TypeError: object of type 'NoneType' has no len()
Can you post your config file, of course without
username and password ?
 
Old 05-26-2009, 06:17 AM   #1986
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by mswift42 View Post
Can you post your config file, of course without
username and password ?
# See README for explanation of these settings.
# user and pass are required except for Top Plays
user= ----
pass= ----

show_player_command=0

audio_player=xterm -e mplayer -cache 64 -quiet -playlist

bg_color=xterm

favorite_color=cyan

speed=3000

top_plays_player=

audio_follow=

favorite=

video_player=xterm -e mplayer -cache 2048 -quiet

use_color=0

debug=0

time_offset=

x_display=

blackout=
 
Old 05-26-2009, 06:23 AM   #1987
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
please comment the line beginning with speed= out. (put a # in front of the line) and try again.
 
Old 05-26-2009, 06:40 AM   #1988
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
I can now open MLBviewer now, when I select a game I get sound but no picture.

Mplayer opens but it has text with a black background, I'll do a screenshot to show you.

http://img297.imageshack.us/img297/7...eenshotpfd.png
 
Old 05-26-2009, 06:58 AM   #1989
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by MattJW92 View Post
I can now open MLBviewer now, when I select a game I get sound but no picture.

Mplayer opens but it has text with a black background, I'll do a screenshot to show you.

http://img297.imageshack.us/img297/7...eenshotpfd.png
OK. Now quit mlbviewer, and change the line in your config file to
video_player=mplayer -really-quiet -autosync 30 -cache 4096 %
 
Old 05-26-2009, 07:10 AM   #1990
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
Once again I get sound and no video, but get this error message:

vidixlib: PROBING: nvidia
[nvidia_vid] Error occurred during pci scan: Operation not permitted
vidixlib: PROBING: pm3
[pm3] Error occurred during pci scan: Operation not permitted
vidixlib: PROBING: radeon
[radeon] Error occurred during pci scan: Operation not permitted
vidixlib: PROBING: rage128
[rage128] Error occurred during pci scan: Operation not permitted
vidixlib: PROBING: s3
[s3_vid] Error occurred during pci scan: Operation not permitted
vidixlib: PROBING: sis
[SiS] Error occurred during pci scan: Operation not permitted
vidixlib: PROBING: unichrome
[unichrome] Error occurred during pci scan: Operation not permitted
vidixlib: No suitable driver can be found.





Mplayer doesn't even open this time.


It may also be worth mentioning that the screen that gives options for the stream quality only shows non-nexdef streams:

AVAILABLE STREAMS (Use number keys to select a stream)
───────────────────────────────────────────────────────────────────────────────
1 ) [ 164K] MLB_GAME_VIDEO_PITCHN_HOME_20090525_MLB_FLASH_164K_STREAM
2 ) [ 400K] MLB_GAME_VIDEO_PITCHN_HOME_20090525_MLB_FLASH_400K_STREAM
3 ) [ 600K] MLB_GAME_VIDEO_PITCHN_HOME_20090525_MLB_FLASH_600K_STREAM
4 ) [ 800K] MLB_GAME_VIDEO_PITCHN_HOME_20090525_MLB_FLASH_800K_STREAM


STREAM: MLB_GAME_VIDEO_PITCHN_HOME_20090525_MLB_FLASH_800K_STREAM
KBPS : 800
MS : 72391521
TIME : 20:06:31.521 ET
 
Old 05-26-2009, 07:18 AM   #1991
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
What video card do you have ?
 
Old 05-26-2009, 07:22 AM   #1992
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
ATI Radeon 2400 HD
 
Old 05-26-2009, 07:27 AM   #1993
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by MattJW92 View Post
ATI Radeon 2400 HD
Go to http://support.amd.com/us/gpudownloa...1&lang=English
download the driver and install it:
sudo sh ati-driver-installer-9-5-x86.x86_64.run

then restart ubuntu and try again.
 
Old 05-26-2009, 07:40 AM   #1994
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Matt, you're very close.

I will likely fix the speed option to include nexdef speeds but for now, speed= option is used for non-nexdef operation. Nexdef uses a different option called max_bps. max_bps defaults to 800K. To get 3000K, you'll need to add/modify this option to read:

Code:
max_bps=3000000
That's 3 million.

As for the picture, you can try adding "-vo xv" to your video_player line. If that doesn't work, please rebuild mplayer AFTER you have followed the instructions at http://www.mplayerhq.hu/DOCS/HTML/en/video.html. Pay special attention to 8.1 and 8.2. Make sure when you run ./configure that xv is in the "Enabled optional drivers" under "Video output".

Example
Code:
Creating config.mak
Creating config.h

Config files successfully generated by ./configure --prefix=/usr --enable-dynamic-plugins !

  Install prefix: /usr
  Data directory: /usr/share/mplayer
  Config direct.: /usr/etc/mplayer

  Byte order: little-endian
  Optimizing for: native

  Languages:
    Messages/GUI: en
    Manual pages: en

  Enabled optional drivers:
    Input: dvdnav(internal) ftp pvr tv-teletext tv-v4l2 tv-v4l tv libdvdcss(internal) dvdread(internal) vcd dvb network 
    Codecs: x264 xvid libavcodec(internal) qtx real xanim win32 faad2(internal) faac libmpeg2(internal) liba52(internal) mp3lib(internal) libtheora tremor(internal) twolame libmad 
    Audio output: alsa nas esd arts oss v4l2 sdl mpegpes(dvb) 
    Video output: v4l2 sdl pnm jpeg png mpegpes(dvb) fbdev caca aa xvidix cvidix opengl xv x11 xover dfbmga directfb yuv4mpeg md5sum tga 

  Disabled optional drivers:
    Input: vstream radio tv-dshow live555 nemesi cddb cdda smb 
    Codecs: libschroedinger libdirac libdv libamr_wb libamr_nb musepack libdca speex toolame liblzo gif 
    Audio output: sun openal jack pulse ivtv dxr2 
    Video output: zr zr2 ivtv dxr3 dxr2 vesa gif89a svga ggi xmga mga winvidix 3dfx dga vdpau xvmc bl xvr100 tdfx_vid wii s3fb tdfxfb

'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***

'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.

Please check mtrr settings at /proc/mtrr (see DOCS/HTML/en/video.html#mtrr)

Check configure.log if you wonder why an autodetection failed (make sure
development headers/packages are installed).

NOTE: The --enable-* parameters unconditionally force options on, completely
skipping autodetection. This behavior is unlike what you may be used to from
autoconf-based configure scripts that can decide to override you. This greater
level of control comes at a price. You may have to provide the correct compiler
and linker flags yourself.
If you used one of these options (except --enable-gui and similar ones that
turn on internal features) and experience a compilation or linking failure,
make sure you have passed the necessary compiler/linker flags to configure.

If you suspect a bug, please read DOCS/HTML/en/bugreports.html.

Last edited by daftcat; 05-26-2009 at 07:41 AM.
 
Old 05-26-2009, 07:47 AM   #1995
MattJW92
LQ Newbie
 
Registered: May 2009
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by mswift42 View Post
Go to http://support.amd.com/us/gpudownloa...1&lang=English
download the driver and install it:
sudo sh ati-driver-installer-9-5-x86.x86_64.run

then restart ubuntu and try again.
Tried that, same problem

I'll try your instuctions now daftcat·
 
  


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:42 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