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 06-23-2015, 04:35 PM   #4711
iamtheaardvark
LQ Newbie
 
Registered: Oct 2014
Posts: 18

Rep: Reputation: Disabled

Quote:
Originally Posted by thegryghost View Post
If it was as simple as supplying a crypto key to ffmpeg we wouldn't need mlbhls. If you want to use ffmpeg/mpv to watch mlb stream natively, you'll need to patch up ffmpeg to do mlb.tv's service calls to get the actual decryption keys. The ffmpeg peeps will probably never accept your patches but at least you'll have a properly working HLS client, as opposed to my quick hack of a client.
yeah. Well I don't really have the time or ability to do that. Anyway mlbhls works fine (and thanks for writing it).
 
Old 08-05-2015, 04:31 AM   #4712
Star Rat
LQ Newbie
 
Registered: Jan 2009
Distribution: Slackware 12.2 / Slackware 13.1 --no-kde
Posts: 14

Rep: Reputation: 3
Isn't this largely an issue with Mozilla-based browsers disabling vulnerable versions of flashplayer by default? I had similar (though admittedly not identical) problems - which were solved by updating the plugin.
 
Old 08-06-2015, 03:30 AM   #4713
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Quote:
Originally Posted by Star Rat View Post
Isn't this largely an issue with Mozilla-based browsers disabling vulnerable versions of flashplayer by default? I had similar (though admittedly not identical) problems - which were solved by updating the plugin.
Which issue do you mean? mlbviewer shouldn't be using flash, or a Mozilla-based browser, at all, so it shouldn't matter what they do with their plugins...

I wonder if maybe you're replying to the original post at the beginning of the thread? If so, you're nine years and 315 pages out of date! (And if that is the case, http://sourceforge.net/projects/mlbviewer would probably be the best resource to catch up with the wonderful world of out-of-browser MLB viewing...)
 
Old 08-29-2015, 05:48 PM   #4714
xfatalherox
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
After reformatting my linux box and installing mlbviewer again, I'm getting this error when trying to view nexdef streams:

mlbhls: permission denied



anyone else experience this? It seems like with the new experimental version you just copy into the directory, but I can't get it to run like I did in version 14.
 
Old 08-30-2015, 04:40 AM   #4715
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by xfatalherox View Post
After reformatting my linux box and installing mlbviewer again, I'm getting this error when trying to view nexdef streams:
mlbhls: permission denied
anyone else experience this? It seems like with the new experimental version you just copy into the directory, but I can't get it to run like I did in version 14.
It looks like you need to install the ValiCert Class2 certificate in whatever certificate directory or bundle libcurl uses in your distribution. There was a discussion about it in March this year. Most distributions have dropped it recently because it only uses 1024 bits of RSA encryption.
 
Old 09-20-2015, 03:01 PM   #4716
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
VLC instead of mplayer...

Hi!

I guess/hope this is a question with a simple answer:
I wanted to change the player from mplayer to vlc, and I tried it by changing the config file respectively. But with vlc in the config file no player starts.
What am I doing wrong?
Thanks in advance! :-)
Lars
 
Old 09-21-2015, 04:54 AM   #4717
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Hmm, I know I've done that successfully in the past. Does VLC start but then fail to play the video? If so, then you might be running into mlbhls's key-handling problem (I posted a patch for this somewhere upthread). But if it just doesn't start at all then maybe instead there's a problem with the config line?

Could you post the config line and whatever messages mlbviewer or VLC give you when it doesn't work? (Turning on mlbviewer's "debug" option might make these more useful -- I think some useful stuff also gets dumped to a log file in ~/.mlb .) Then we'd have a better idea of what might be going wrong...
 
Old 09-21-2015, 11:58 AM   #4718
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Couple of things you can try:

1. Set show_player_command=1 and debug=1 in config. Select a game and go. You'll get only the command-line without actually playing the stream. I recommend copying this command-line to a text-editor first and removing all the carriage returns at the end of each line before testing that command-line on the actual command-line.

2. This one is more involved.
a. Use mlblistings.py to get an event-id (E: 14-xxx-etc...)
b. cd test
c. ./mlbgame.py <event-id-from-step-a>
d. This will produce a lot of output, but it is scrollable output, e.g. it is not wrapped in curses so you will be able to scroll up and see the command-line used.

I recommend the #2 because once you have an event-id to test with, it's much quicker to change your setting in one window and command recall in the other window.
 
Old 09-21-2015, 03:19 PM   #4719
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hi! :-)
And thanks for writing... :-)

So, first of all: I don't understand every of those steps you propose. That's surely because my english is not good enough and also because I'm not as much into this matter as you...

But I will have a try:
First, this is my config file content:

# See README for explanation of these settings.
# user and pass are required except for Top Plays

user=***********

pass=***********

video_player=vlc -cache 4096

audio_player=vlc -cache 128

favorite=chc

use_nexdef=0

speed=1200

min_bps=1200

max_bps=2400

adaptive_stream=0

free_color=red

show_player_command=1

debug=1

# Many more options are available and documented at:
# http://sourceforge.net/p/mlbviewer/wiki/Home/

Then I selected sunday's pirates-dodgers game and this is the output:

rtmpdump -f "LNX 10,0,22,87" -o - -r "rtmp://cp65670.edgefcs.net/ondemandmp4:sec
ure/mlbam/2015/09/20/14-415885-2015-09-20/web-encodes/mlbtv_pitlan_home_1200k.mp
4?auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-BvopwlIqInrEIo-lfk3lcjalklem
blfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/mlbam/2015/09/20/14-4158
85-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&ct6=89.246.14.33&ct7=4
37608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1a9f8b17f40e45df9ae90ab
539b50012" -y "mp4:secure/mlbam/2015/09/20/14-415885-2015-09-20/web-encodes/mlbt
v_pitlan_home_1200k.mp4?auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-Bvopwl
IqInrEIo-lfk3lcjalklemblfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/ml
bam/2015/09/20/14-415885-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&
ct6=89.246.14.33&ct7=437608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1
a9f8b17f40e45df9ae90ab539b50012" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akm
fv=1.6auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-BvopwlIqInrEIo-lfk3lcjal
klemblfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/mlbam/2015/09/20/14-
415885-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&ct6=89.246.14.33&c
t7=437608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1a9f8b17f40e45df9ae
90ab539b50012" -s http://mlb.mlb.com/flash/mediaplayer...iaPlayer4.swf?
v=4 -t "http://195.95.193.48:1935/ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=
1.6auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-BvopwlIqInrEIo-lfk3lcjalkle
mblfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/mlbam/2015/09/20/14-415
885-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&ct6=89.246.14.33&ct7=
437608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1a9f8b17f40e45df9ae90a
b539b50012" -A 0 | vlc -cache 4096
DEBUG enabled: Displaying URL only. Press any key to continue

Okay, and now my problem: I don't know what to do with this step, daftcat:
"...and removing all the carriage returns at the end of each line before testing that command-line on the actual command-line."
...???????? :-/

Greetings :-)
Lars
 
Old 09-21-2015, 06:52 PM   #4720
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
I use vlc for the Gameday audio. My config is as:

audio_player=vlc %s

If I recall correctly, having the cache info in the line didn't work or perhaps I didn't have it correct. But try starting with it as I have it above for both the audio and video.
 
Old 09-22-2015, 09:31 AM   #4721
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
I tried it with "vlc %s", but it doesn't work.
For some seconds the terminal tells me something about an error. I took a screenshot (attachment)...
Attached Thumbnails
Click image for larger version

Name:	mlbviewer.jpg
Views:	15
Size:	93.1 KB
ID:	19652  
 
Old 09-22-2015, 01:26 PM   #4722
kweisen
Member
 
Registered: May 2006
Location: Englewood, Fl
Distribution: MInt 17
Posts: 57

Rep: Reputation: 0
Not sure. When my starts up, my terminal gives me this:
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2015-09-22 14:17:33.png
Views:	19
Size:	91.0 KB
ID:	19653  
 
Old 09-22-2015, 06:32 PM   #4723
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Take the second approach and use this event-id: 14-415885-2015-09-20

test/mlbgame.py 14-415885-2015-09-20

That will produce a lot of output but the last command will be piping the stream into vlc.

For me, I was able to get vlc working with mlbviewer just by using a video_player=vlc line in config.

Get that working first. Then you can look into adjusting the cache.

Quote:
Originally Posted by larshenric View Post
Hi! :-)
And thanks for writing... :-)

So, first of all: I don't understand every of those steps you propose. That's surely because my english is not good enough and also because I'm not as much into this matter as you...

But I will have a try:
First, this is my config file content:

# See README for explanation of these settings.
# user and pass are required except for Top Plays

user=***********

pass=***********

video_player=vlc -cache 4096

audio_player=vlc -cache 128

favorite=chc

use_nexdef=0

speed=1200

min_bps=1200

max_bps=2400

adaptive_stream=0

free_color=red

show_player_command=1

debug=1

# Many more options are available and documented at:
# http://sourceforge.net/p/mlbviewer/wiki/Home/

Then I selected sunday's pirates-dodgers game and this is the output:

rtmpdump -f "LNX 10,0,22,87" -o - -r "rtmp://cp65670.edgefcs.net/ondemandmp4:sec
ure/mlbam/2015/09/20/14-415885-2015-09-20/web-encodes/mlbtv_pitlan_home_1200k.mp
4?auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-BvopwlIqInrEIo-lfk3lcjalklem
blfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/mlbam/2015/09/20/14-4158
85-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&ct6=89.246.14.33&ct7=4
37608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1a9f8b17f40e45df9ae90ab
539b50012" -y "mp4:secure/mlbam/2015/09/20/14-415885-2015-09-20/web-encodes/mlbt
v_pitlan_home_1200k.mp4?auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-Bvopwl
IqInrEIo-lfk3lcjalklemblfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/ml
bam/2015/09/20/14-415885-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&
ct6=89.246.14.33&ct7=437608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1
a9f8b17f40e45df9ae90ab539b50012" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akm
fv=1.6auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-BvopwlIqInrEIo-lfk3lcjal
klemblfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/mlbam/2015/09/20/14-
415885-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&ct6=89.246.14.33&c
t7=437608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1a9f8b17f40e45df9ae
90ab539b50012" -s http://mlb.mlb.com/flash/mediaplayer...iaPlayer4.swf?
v=4 -t "http://195.95.193.48:1935/ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=
1.6auth=da.b4b2bwchaVaUbCb1c7blcPafcgchdEcj-bwagtY-O-BvopwlIqInrEIo-lfk3lcjalkle
mblfkek6kflljajdkhkelck7laj8lelf&aifp=v0001&slist=secure/mlbam/2015/09/20/14-415
885-2015-09-20/web-encodes/mlbtv_pitlan_home&ct5=21-Sep-15&ct6=89.246.14.33&ct7=
437608483:FMS_CLOUD&ct8=1&ct1=mlb&ct3=6092613&ct4=mlb&ct9=1a9f8b17f40e45df9ae90a
b539b50012" -A 0 | vlc -cache 4096
DEBUG enabled: Displaying URL only. Press any key to continue

Okay, and now my problem: I don't know what to do with this step, daftcat:
"...and removing all the carriage returns at the end of each line before testing that command-line on the actual command-line."
...???????? :-/

Greetings :-)
Lars
 
Old 10-01-2015, 07:44 PM   #4724
madmonkey71
LQ Newbie
 
Registered: Oct 2015
Location: Adelaide, South Australia
Distribution: Mint 17.2
Posts: 1

Rep: Reputation: Disabled
Hi All,

Tried to view the game list a few moments ago and got the following.

Quote:
matt@MintBookPro:~/bin > python2 mlbviewer-code/mlbviewer.py
Traceback (most recent call last):
File "mlbviewer-code/mlbviewer.py", line 1395, in <module>
curses.wrapper(mainloop, mycfg, mykeys)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer-code/mlbviewer.py", line 257, in mainloop
mywin.statusRefresh()
File "/home/matt/bin/mlbviewer-code/MLBviewer/mlbListWin.py", line 286, in statusRefresh
+ len(speedstr) + len(hdstr) + len(coveragestr) + 2
TypeError: object of type 'NoneType' has no len()
Google provided me with a few tips. Most of which were solved by someone upgrading to the latest version (which I have done).

Quote:
Checked out revision 656.
Not sure where to go from here and I really want to be ready for the post season
Any clues ?

Thanks in advance
 
Old 10-07-2015, 08:52 PM   #4725
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Non-US blackout error

After getting up at 1 in the morning to watch the Cubs wild card game, I've run into a disastrous error. Any video stream of the (currently live) game gives me the message
Code:
ERROR: BLACKOUT: MLB_NON_US_BLACKOUT
This is an mlbviewer bug: when I log into the official Flash player the game starts right up (though my low-spec computer can barely handle it). This is the correct behavior, since I am in the UK where no blackout restrictions (even the international restrictions) apply.

The log tells me to check blackout.xml, which is attached. It looks like it also gets successful-1.xml, so I've attached that too.

Time for me to go back to bed, avoid the entire internet all day, and watch the future of my home city unfold as-live tomorrow. I hope nobody else runs into this showstopper in the meantime...
Attached Files
File Type: txt blackout.xml.txt (7.7 KB, 14 views)
File Type: txt successful-1.xml.txt (7.7 KB, 13 views)
 
  


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 12:48 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