LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-02-2014, 10:44 AM   #4381
sruchris
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0

Quote:
Originally Posted by daftcat View Post
What is your audio_player= setting?

Code:
$ grep audio_player ~/.mlb/config
Also, make sure you have rtmpdump installed.

grep audio_player ~/.mlb/config returns
audio_player=mplayer -cache 64 -really-quiet

Now, when pressing the a key to play audio, I get this error message:
mplayer: could not connect to socket
mplayer: No such file or directory


I have rtmpdump installed.
 
Old 04-02-2014, 11:01 AM   #4382
fang2415
Member
 
Registered: Jan 2007
Posts: 159

Rep: Reputation: 15
Quote:
Originally Posted by manny1407 View Post
When I tried to install mlbhls I got

gcc -O2 mlb.c utils.c output.c -lm -lcrypto -lpthread -lconfig -lcurl -o mlbhls
mlb.c: In function ‘mlb_refresh_playlists_thread’:
mlb.c:460:6: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘size_t’ [-Wformat]
Not sure where that would come from, but I know that one trick with mlbhls is that you have to use the experimental branch rather than the main branch.
Code:
cd mlbhls/source/directory
svn info
should yield the following: "URL: https://mlbtv-hls-nexdef.googlecode.com/svn/branches/experimental". If it doesn't you might want to delete the source directory you have, do
Code:
svn co https://mlbtv-hls-nexdef.googlecode.com/svn/branches/experimental
and try again...
 
Old 04-02-2014, 02:37 PM   #4383
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by sruchris View Post
grep audio_player ~/.mlb/config returns
audio_player=mplayer -cache 64 -really-quiet

Now, when pressing the a key to play audio, I get this error message:
mplayer: could not connect to socket
mplayer: No such file or directory


I have rtmpdump installed.
Please remove the "-really-quiet" from the audio_player= line. It's possible those errors are not really errors (I get messages like that related to LiRC) and can be ignored. But we won't know until we see all the output.

I see that it takes about 10 seconds or so on my system because I think the -cache is too low. Let's see what errors are really happening when -really-quiet is removed.

Also, if the GUI is returning to listings before you can see all the messages, you can use mlbplay.py instead.
 
Old 04-02-2014, 02:57 PM   #4384
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by mgoetze View Post
Basic is working for me, and Nexdef used to work, but hasn't been working since the middle of last season. I've finally looked into this, and when I try with nexdefdl.py I get...

[MLB] (CURL ERR) SSL certificate problem: self signed certificate in certificate chain (URL: https://mlb-ws.mlb.com/pubajaxws/bam...00&sessionKey=...)

I couldn't care less about their cert so I tried creating a ~/.curlrc with contents "insecure", but that didn't fix it. Anything else I can do?
Do you get the same error if you use mlbplay.py (e.g. mlbplay.py j=03/31/14 v=bos n=1)?

nexdefdl.py does not use the MLBviewer library so it's possible that it is out of sync with the official code. Basically, the scripts in the test directory are hacked together whenever the network code needs to be debugged or changed before it goes into the official code in MLBviewer. But it's not guaranteed to remain updated if I can fix any bugs directly in the MLBviewer code first.
 
Old 04-02-2014, 03:31 PM   #4385
charlie460
LQ Newbie
 
Registered: Aug 2011
Posts: 29

Rep: Reputation: Disabled
Am I crazy, or does it appear that MLB.TV over-sharpening the video this season? It looks pretty awful, the haloing artifacts from what seems to be overuse of a sharpening filter...

http://i.imgur.com/rRIuE8P.jpg
 
Old 04-02-2014, 03:32 PM   #4386
sruchris
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Please remove the "-really-quiet" from the audio_player= line. It's possible those errors are not really errors (I get messages like that related to LiRC) and can be ignored. But we won't know until we see all the output.

I see that it takes about 10 seconds or so on my system because I think the -cache is too low. Let's see what errors are really happening when -really-quiet is removed.

Also, if the GUI is returning to listings before you can see all the messages, you can use mlbplay.py instead.
After removing the -really-quiet, I now receive this error:

Requesting media: ('WTMJ', u'158', '31696699', '14-380563-2014-04-02')MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)
Invalid seek to negative position fffffffffffffff8!
Failed to recognize file format.
Exiting... (End of file)


I'm running this on a Raspberry Pi using Raspian, if that matters.
 
Old 04-02-2014, 04:31 PM   #4387
sruchris
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
And here's what I get when using mlbplay.py


pi@raspberrypi ~/mlbviewer-svn $ ./mlbplay.py a=pit j=03/31/14
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing -.
Reading from stdin...
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Invalid seek to negative position fffffffffffffffc!
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Failed to recognize file format.


Exiting... (End of file)
pi@raspberrypi ~/mlbviewer-svn $
 
Old 04-02-2014, 04:49 PM   #4388
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by sruchris View Post
And here's what I get when using mlbplay.py


pi@raspberrypi ~/mlbviewer-svn $ ./mlbplay.py a=pit j=03/31/14
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing -.
Reading from stdin...
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Invalid seek to negative position fffffffffffffffc!
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Cannot seek backward in linear streams!
Seek failed
Failed to recognize file format.


Exiting... (End of file)
pi@raspberrypi ~/mlbviewer-svn $

Strange. Try increasing the -cache to 256 or 512. Maybe it's just getting garbage at the head of the stream.
 
Old 04-02-2014, 04:50 PM   #4389
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
So if RTMP streams are not being used for video anymore (I'm going to keep using them as long as they are available), are they also switching to HLS for audio too? I guess I can bust out the Wireshark later and check.
 
Old 04-02-2014, 05:43 PM   #4390
mgoetze
LQ Newbie
 
Registered: Aug 2013
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
Do you get the same error if you use mlbplay.py (e.g. mlbplay.py j=03/31/14 v=bos n=1)?
With mlbplay.py and mlbviewer.py I was getting no error messages, but my cache was filling at about 4096 bytes per 3 seconds, presumably with junk/errors rather than actual video.

I managed to fix my problem by installing a kitchen sink full of CA certificates (makes you really appreciate how ridiculous this SSL "trust" model is) but it would have been nice to get a useful error from mlbviewer/mlbplay.
 
Old 04-02-2014, 07:21 PM   #4391
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by mgoetze View Post
With mlbplay.py and mlbviewer.py I was getting no error messages, but my cache was filling at about 4096 bytes per 3 seconds, presumably with junk/errors rather than actual video.

I managed to fix my problem by installing a kitchen sink full of CA certificates (makes you really appreciate how ridiculous this SSL "trust" model is) but it would have been nice to get a useful error from mlbviewer/mlbplay.
mlbviewer is merely a broker between the mlb.tv service and the stream retrieval and playback software. If the airline loses your bags, you don't blame the travel agent. The fact is, that is the first time I've even seen that error and it came from mlbhls not mlbviewer. The best I can do is attempt to redirect (or duplicate) stderr to a log file so that you can see errors from the helper applications more easily.

In general (unless you messed up your video_player= line), if you got a URL and it started launching the streamer and the player, my work is done. Short of building a dictionary of all possible errors and their meanings from mlbhls and mplayer, I am not sure how mlbviewer/mlbplay could have provided a more useful error. Sorry.

But I'm glad that it's fixed now.
 
Old 04-02-2014, 08:41 PM   #4392
kermitfan22
LQ Newbie
 
Registered: Apr 2012
Distribution: Ubuntu or mythbuntu
Posts: 7

Rep: Reputation: Disabled
I'm glad to read that I am not the only one who had to re-learn what I did the previous year to make things work the way I wanted them to, and that I'm not the only one who groans out loud when I read how they are changing things again (which will make me have to re-learn something ELSE).

All this and I'm still a Cleveland fan. Yeah, I'm a glutton for punishment.

I think I shall bury my head in the sand until my current set up stops working.
 
Old 04-03-2014, 08:48 AM   #4393
randcoop
LQ Newbie
 
Registered: Jun 2005
Posts: 16

Rep: Reputation: 0
Is the conclusion that high def is now gone?

I've read back through the last few pages and the answer still isn't clear to me. I'm using current versions of mlbviewer/mlbplayer together with version 67 (current version) of mlbhls. When I try to retrieve a game (specifically Yankees Houston of April 1 and 2) with NextDef activated, it just hangs. No response of any kind. Toggling off the high def retrieves the game.

Is this because MLB is no longer offering the games in high def except as a part of their new flash player? Does it mean that mlbhls is now obsolete and those who want to watch high def will simply not be able to use the mlbviewer/mlbplayer?

I actually prefer mlbviewer over the MLB web site feed anyway, but I want to know if I should keep trying high def or just forget about it.
 
Old 04-03-2014, 12:48 PM   #4394
fang2415
Member
 
Registered: Jan 2007
Posts: 159

Rep: Reputation: 15
Quote:
Originally Posted by randcoop View Post
I've read back through the last few pages and the answer still isn't clear to me. I'm using current versions of mlbviewer/mlbplayer together with version 67 (current version) of mlbhls. When I try to retrieve a game (specifically Yankees Houston of April 1 and 2) with NextDef activated, it just hangs. No response of any kind. Toggling off the high def retrieves the game.

Is this because MLB is no longer offering the games in high def except as a part of their new flash player? Does it mean that mlbhls is now obsolete and those who want to watch high def will simply not be able to use the mlbviewer/mlbplayer?

I actually prefer mlbviewer over the MLB web site feed anyway, but I want to know if I should keep trying high def or just forget about it.
I have to say, I'm a little baffled by the problems people have been having -- aside from keeping my mlbviewer svn up-to-date, I'm still running exactly the same setup I had last year and so far haven't had any problems with either mlbhls or rtmpdump streams. The 800K rtmpdump stream seems to be gone (which is slightly annoying) but other than that everything behaves exactly the same so far. (I don't think I've tried audio, so not sure about that.)

randcoop, have you tried running mlbhls manually? Its output might give you more information about why it's hanging?...
 
Old 04-03-2014, 01:24 PM   #4395
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,767

Rep: Reputation: 76
Quote:
Originally Posted by fang2415 View Post
I have to say, I'm a little baffled by the problems people have been having -- aside from keeping my mlbviewer svn up-to-date, I'm still running exactly the same setup I had last year and so far haven't had any problems with either mlbhls or rtmpdump streams. The 800K rtmpdump stream seems to be gone (which is slightly annoying) but other than that everything behaves exactly the same so far. (I don't think I've tried audio, so not sure about that.)

randcoop, have you tried running mlbhls manually? Its output might give you more information about why it's hanging?...
No problems here either. I changed very little from last season and everything just worked at Opening Day. So flawless, I quietly uploaded the first Sourceforge release of the season 2014-sf-1 yesterday.
 
  


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 11:16 PM
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 11:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 11:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 03:49 PM


All times are GMT -5. The time now is 02:30 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