| Fedora This forum is for the discussion of the Fedora Project. |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
04-27-2012, 07:14 AM
|
#3646
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
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.
|
|
|
|
04-27-2012, 02:21 PM
|
#3647
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by rjwood
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.
|
|
|
|
04-27-2012, 04:10 PM
|
#3648
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
|
|
|
|
04-27-2012, 05:08 PM
|
#3649
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by rjwood
|
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.
|
|
|
|
04-27-2012, 05:10 PM
|
#3650
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by daftcat
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.
|
|
|
|
04-27-2012, 05:13 PM
|
#3651
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
Quote:
Originally Posted by daftcat
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.
Last edited by rjwood; 04-28-2012 at 07:43 AM.
|
|
|
|
04-27-2012, 05:18 PM
|
#3652
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
Quote:
Originally Posted by daftcat
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.
|
|
|
|
04-27-2012, 06:34 PM
|
#3653
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
You were right about MLB.TV wanting to authenticate me. Sorry!
But now how do I make mplayer stop behaving like flash?
|
|
|
|
04-28-2012, 09:17 PM
|
#3654
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
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)
|
|
|
|
04-29-2012, 04:45 PM
|
#3655
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by rjwood
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.
|
|
|
|
04-29-2012, 04:52 PM
|
#3656
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by rjwood
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.
|
|
|
|
04-29-2012, 04:57 PM
|
#3657
|
|
mlbviewer Maintainer
Registered: Apr 2008
Posts: 1,528
Rep:
|
Quote:
Originally Posted by rjwood
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
|
|
|
|
04-29-2012, 06:25 PM
|
#3658
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
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.
|
|
|
|
04-29-2012, 08:01 PM
|
#3659
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
|
|
|
|
04-30-2012, 06:30 PM
|
#3660
|
|
Member
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:44 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|