LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-27-2012, 07:14 AM   #3646
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16

I upgraded Ubuntu to 12.04 yesterday and now mplayer2 is behaving like Adobe flashplayer on archived games. I still can't get live games.

Last edited by rjwood; 04-27-2012 at 12:57 PM.
 
Old 04-27-2012, 02:21 PM   #3647
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by rjwood View Post
I upgraded Ubuntu to 12.04 yesterday and now mplayer2 is behaving like Adobe flashplayer on archived games. I still can't get live games.
When you say you can't get live games is it a "Stream not available" error?

If it is, please copy and paste the full contents of ~/.mlb/unsuccessful.xml to http://pastebin.com. My guess is that it can't determine your location so it doesn't know how to apply blackout rules. Why the browser works and mlbviewer doesn't is confusing.

Another thing you can try is highlight the game you want but instead of 'Enter', press the 'z' key. Look for the event-id which will look something like 14-318018-2012-04-27. Then quit out of mlbviewer and do the following:

Code:
python test/nexdefdl.py 14-318018-2012-04-27 | tee /tmp/nexdef-debug.log
substituting the real live game event-id.

Then post the full contents of /tmp/nexdef-debug.log to pastebin.com.
 
Old 04-27-2012, 04:10 PM   #3648
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
http://pastebin.com/PiqcWRF7
 
Old 04-27-2012, 05:08 PM   #3649
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by rjwood View Post
That's the most unhelpful error message. Sorry. Not your fault. But I've got nothing to go on with that.

Is it always General System Error? Try a few different games.
 
Old 04-27-2012, 05:10 PM   #3650
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by daftcat View Post
That's the most unhelpful error message. Sorry. Not your fault. But I've got nothing to go on with that.

Is it always General System Error? Try a few different games.
By the way, there aren't any live games right now. What timezone are you in? I am suspecting that the conversion from Eastern Daylight Time (what the listings are listed in from MLB) to local time is incorrect leading you to try a "live" game when there isn't one being broadcasted yet.
 
Old 04-27-2012, 05:13 PM   #3651
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Quote:
Originally Posted by daftcat View Post
That's the most unhelpful error message. Sorry. Not your fault. But I've got nothing to go on with that.

Is it always General System Error? Try a few different games.
There are no live games to try currently. With the archived games it says "buffering streamplayer" and then the mplayer socket thing.

ETA: the archived game plays - just not smoothly.
Attached Images
File Type: png Screenshot from 2012-04-27 18:10:54.png (131.7 KB, 7 views)

Last edited by rjwood; 04-28-2012 at 07:43 AM.
 
Old 04-27-2012, 05:18 PM   #3652
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Quote:
Originally Posted by daftcat View Post
By the way, there aren't any live games right now. What timezone are you in? I am suspecting that the conversion from Eastern Daylight Time (what the listings are listed in from MLB) to local time is incorrect leading you to try a "live" game when there isn't one being broadcasted yet.
Eastern. I live in Pa. I've tried more than an hour after they begin.

The error is "....stream not available yet" I think.
 
Old 04-27-2012, 06:34 PM   #3653
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
You were right about MLB.TV wanting to authenticate me. Sorry!

But now how do I make mplayer stop behaving like flash?
 
Old 04-28-2012, 09:17 PM   #3654
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
I decided to start over.

I've got mlbviewer up and am getting mlbhls set up. I've got the string but when I do
Code:
./mlbhls -o output.ts -B with_the-string
I receive the following
Code:
[MLB] Reading cfg file: mlb.cfg
[MLB] Output file: output.ts
[MLB] Max. Bandwidth: 0(bps)
[MLB] Min. Bandwidth: 0(bps)
[MLB] Bandwidth Locking: 1
[MLB] Fetching Master URL...
[MLB] Playlist refresh time: 12 (s)
Segmentation fault (core dumped)
 
Old 04-29-2012, 04:45 PM   #3655
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by rjwood View Post
There are no live games to try currently. With the archived games it says "buffering streamplayer" and then the mplayer socket thing.

ETA: the archived game plays - just not smoothly.
The "socket thing" is mplayer trying to initialize LIRC support for remote controls. If you don't have an IR remote control and/or don't know what LIRC is, add "nolirc=yes" to ~/.mplayer/config and that message goes away.
 
Old 04-29-2012, 04:52 PM   #3656
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by rjwood View Post
You were right about MLB.TV wanting to authenticate me. Sorry!

But now how do I make mplayer stop behaving like flash?
The mplayer string you use in the separate window, put that in video_player= setting of mlbviewer.

I don't understand why you are doing this two terminal approach when mlbviewer is customizable enough to do what you need to do in a single terminal.

In any case, as soon as you go to that second terminal, any problems you encounter are not mine to support. It sounds like you are having a problem with mlbhls (Segmentation fault) so when that gets resolved, maybe we can figure out why you insist on doing things the hard way, and cannot just use mlbviewer in a single terminal.
 
Old 04-29-2012, 04:57 PM   #3657
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by rjwood View Post
I decided to start over.

I've got mlbviewer up and am getting mlbhls set up. I've got the string but when I do
Code:
./mlbhls -o output.ts -B with_the-string
I receive the following
Code:
[MLB] Reading cfg file: mlb.cfg
[MLB] Output file: output.ts
[MLB] Max. Bandwidth: 0(bps)
[MLB] Min. Bandwidth: 0(bps)
[MLB] Bandwidth Locking: 1
[MLB] Fetching Master URL...
[MLB] Playlist refresh time: 12 (s)
Segmentation fault (core dumped)
You said you upgraded Ubuntu. That means a lot of your libraries were updated. Try recompiling mlbhls:

Code:
cd mlbhls
make clean
make
sudo cp mlbhls /usr/bin
 
Old 04-29-2012, 06:25 PM   #3658
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Code:
rob@rob-GN561AA-ABA-a6230n:~/mlbhls$ make clean
rm -f *.o mlbhls
rob@rob-GN561AA-ABA-a6230n:~/mlbhls$ make
gcc -O2 mlb.c utils.c output.c -lm -lcurl -lcrypto -lconfig -o mlbhls
mlb.c: In function ‘mlb_hls_get_and_decrypt’:
mlb.c:881:5: warning: call to ‘_curl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument for this option [enabled by default]

Last edited by rjwood; 04-29-2012 at 06:27 PM.
 
Old 04-29-2012, 08:01 PM   #3659
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
http://pastebin.com/rnLjfR1K
 
Old 04-30-2012, 06:30 PM   #3660
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Fixed! I read on wikipedia that one of the possible reasons for segmentation fault is compiling issues, so since I'd saved the former MLBHLS directory I restored that, copied it to /usr/bin, got a new string and all is well.

Sorry for bothering you and taking so much of the last two pages of this thread. Thanks for all the help and for mlbviewer and mlbhls. I do appreciate it.

Last edited by rjwood; 04-30-2012 at 10:08 PM.
 
  


Reply

Tags
help, install, installation, instructions, seek, vlc, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 04:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration