Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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()
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 ?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.