LinuxQuestions.org
Visit Jeremy's Blog.
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 03-02-2016, 08:11 PM   #4756
tonycpsu
Member
 
Registered: Apr 2014
Posts: 71

Rep: Reputation: Disabled

Good to know. You'd think they'd want to try out the new platform during spring training with fewer irate customers if things go wrong, but that would probably make too much sense. On the other hand, MLB AM is doing much better with streaming than any of the other pro sports platforms, so I won't question their methods too much.

If you end up in a jam coding-wise, let me know -- I do Python and C development by day and would do whatever I can to make sure I keep getting access to my games without using the infrior MLB.tv apps.
 
Old 03-03-2016, 02:52 AM   #4757
bef
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
Cool. I'll look review those later and merge them if I like what I see.
https://github.com/sdelafond/mlbview...77b031976549f1
https://github.com/sdelafond/mlbview...4012fd94e847ec
I know it's been a while, but is this still somehow on your radar ?
 
Old 03-03-2016, 02:33 PM   #4758
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
I know I'm probably missing something easy but if I fire up today's Dodgers game in mplayer2 and try to go full screen it simply puts a black border around the video without increasing the size of the video itself. Here are my settings:
Quote:
video_player=mplayer -cache 4096
audio_player=mplayer -cache 128
favorite=la
use_nexdef=1
speed=1800
min_bps=1200
max_bps=2400
adaptive_stream=1
 
Old 03-03-2016, 03:05 PM   #4759
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by tonycpsu View Post
Good to know. You'd think they'd want to try out the new platform during spring training with fewer irate customers if things go wrong, but that would probably make too much sense. On the other hand, MLB AM is doing much better with streaming than any of the other pro sports platforms, so I won't question their methods too much.

If you end up in a jam coding-wise, let me know -- I do Python and C development by day and would do whatever I can to make sure I keep getting access to my games without using the infrior MLB.tv apps.
Spring Training isn't just for the players and coaches. MLBAM is using this period to test their development so that when they start rolling out the official in the last week of Spring Training, it's not an untested pile of crap. But even then, there's issues of both scale and diversity that need to be sorted when rolled out to the public. I think they've been doing a great job ever since they switched to Yahoo's CDN architecture.

The web app isn't bad if Adobe hadn't given up on Linux years ago. To be perfectly honest, I love the Roku app so much that I barely use my own software now. I do use the virtual machine version at the office because it's easier than Cygwin.
 
Old 03-03-2016, 03:09 PM   #4760
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bef View Post
I know it's been a while, but is this still somehow on your radar ?
I don't know what these are in reference to. I don't maintain a github.

Last edited by daftcat; 03-03-2016 at 06:43 PM.
 
Old 03-04-2016, 02:53 AM   #4761
bef
LQ Newbie
 
Registered: Sep 2014
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
I don't know what these are in reference to. I don't maintain a github.
The "discussion" is here:

http://www.linuxquestions.org/questi...ml#post5242819
 
Old 03-04-2016, 07:00 AM   #4762
dysonsphere23
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Rep: Reputation: Disabled
hello, excited about this application you have here. having a little problem when trying to stream in HD. i copied the contents of mlbhls to /usr/local/bin/mlbhls and /usr/bin/mlbhls as per the wiki's install instructions (i tried one location then the other). either way i get this message when i have the config set up with mplayer:
Quote:
Requesting media: ('FSW-HD', u'108', '545162083', '14-469409-2016-03-02')/bin/sh: 1: mlbhls: Permission denied
MPlayer2 2.0-728-g2c378c7-4build1 (C) 2000-2012 MPlayer Team
Cannot open file '/home/dysonsphere/.mplayer/input.conf': No such file or directory
Failed to open /home/dysonsphere/.mplayer/input.conf.
Cannot open file '/etc/mplayer/input.conf': No such file or directory
Failed to open /etc/mplayer/input.conf.

Playing -.
Reading from stdin...
Cache size set to 4096 KiB
Cache fill: 0.00% (0 bytes)
Failed to recognize file format.
and this message when using mpv:
Quote:
Requesting media: ('FSW-HD', u'108', '545162083', '14-469409-2016-03-02')/bin/sh: 1: mlbhls: Permission denied
Playing: 4096
[file] Cannot open file '4096': No such file or directory
Failed to open 4096.

Playing: -
[file] Reading from stdin...
Failed to recognize file format.


Exiting... (Errors when loading file)
both mplayer and mpv stream fine in SD.

any idea what is going on with the mlbhls?

thanks
 
Old 03-04-2016, 02:52 PM   #4763
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dysonsphere23 View Post
hello, excited about this application you have here. having a little problem when trying to stream in HD. i copied the contents of mlbhls to /usr/local/bin/mlbhls and /usr/bin/mlbhls as per the wiki's install instructions (i tried one location then the other). either way i get this message when i have the config set up with mplayer:

and this message when using mpv:


both mplayer and mpv stream fine in SD.

any idea what is going on with the mlbhls?

thanks
mlbhls: permission denied.

sudo chmod a+x $(which mlbhls) and you should be good to go.

Unless you get: mlbhls: not found and then check the INSTALL instructions again to see what you missed (or what I missed. It's possible I don't have every step listed.)
 
Old 03-04-2016, 02:57 PM   #4764
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by BostonPeng View Post
I know I'm probably missing something easy but if I fire up today's Dodgers game in mplayer2 and try to go full screen it simply puts a black border around the video without increasing the size of the video itself. Here are my settings:
This is almost certainly an issue with your video output device selection / Direct-X configuration.

I don't remember much of this. I would simply be Googling so I pass it off to you.

Search for "mplayer2 vo fullscreen black borders" Or you could try adding, "-vo xv" to your mplayer line in your configuration.

You can use one of the -dl scripts in the test/ directory to produce a sample file which you can play with until you figure out either your mplayer command string or what X configuration may be missing. Also search for "mplayer X dri" if the above doesn't turn up something useful.
 
Old 03-05-2016, 09:05 AM   #4765
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
This is almost certainly an issue with your video output device selection / Direct-X configuration.

I don't remember much of this. I would simply be Googling so I pass it off to you.

Search for "mplayer2 vo fullscreen black borders" Or you could try adding, "-vo xv" to your mplayer line in your configuration.

You can use one of the -dl scripts in the test/ directory to produce a sample file which you can play with until you figure out either your mplayer command string or what X configuration may be missing. Also search for "mplayer X dri" if the above doesn't turn up something useful.
It looks like yet another iteration of driver issues with my onboard video, but I switched my video player to VLC and it works like a champ. It didn't matter too much yesterday since the game was radio only but I'm looking forward to throwing the game onto my TV to see the dammed D-backs play my boys this afternoon. I'll just have to get back from errands by 3 pm or else I'll be catching the start of the game on my phone. I have the download ceiling to do it, but I'd hate to miss a good play because I'm changing buses or walking home from the bus stop.

(ETA: I hadn't had much coffee when I looked at today's opponent. Or maybe my brain just doesn't want to see the damned snakes that stole our #2 ace, whether he's on the bump or not.)

Last edited by BostonPeng; 03-05-2016 at 09:34 AM.
 
Old 03-05-2016, 02:12 PM   #4766
dysonsphere23
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by daftcat View Post
mlbhls: permission denied.

sudo chmod a+x $(which mlbhls) and you should be good to go.

Unless you get: mlbhls: not found and then check the INSTALL instructions again to see what you missed (or what I missed. It's possible I don't have every step listed.)
i changed the permissions and still get the same error:

Quote:
Requesting media: ('STO-HD', u'114', '545780783', '14-469463-2016-03-05')/bin/sh: 1: mlbhls: Permission denied
Playing: 16384
[file] Cannot open file '16384': No such file or directory
Failed to open 16384.

Playing: -
[file] Reading from stdin...
Failed to recognize file format.


Exiting... (Errors when loading file)
here are the mlbhls directory lists:

Quote:
/usr/local/bin/mlbhls$ ls -l
total 76
-rwxr-xr-x 1 root root 235 Apr 9 2013 Makefile
-rwxr-xr-x 1 root root 44422 Apr 9 2013 mlb.c
-rwxr-xr-x 1 root root 3325 Apr 9 2013 mlb.h
-rwxr-xr-x 1 root root 10033 Apr 9 2013 output.c
-rwxr-xr-x 1 root root 1418 Apr 9 2013 output.h
-rwxr-xr-x 1 root root 2885 Apr 9 2013 utils.c
-rwxr-xr-x 1 root root 755 Apr 9 2013 utils.h

/usr/bin/mlbhls$ ls -l
total 76
-rwxrwxrwx 1 root root 235 Apr 9 2013 Makefile
-rwxrwxrwx 1 root root 44422 Apr 9 2013 mlb.c
-rwxrwxrwx 1 root root 3325 Apr 9 2013 mlb.h
-rwxrwxrwx 1 root root 10033 Apr 9 2013 output.c
-rwxrwxrwx 1 root root 1418 Apr 9 2013 output.h
-rwxrwxrwx 1 root root 2885 Apr 9 2013 utils.c
-rwxrwxrwx 1 root root 755 Apr 9 2013 utils.h
not sure why i can't get the w permissions in the first directory.

here is my config file in case that has a clue:
Quote:
user=xxxxxxxxxxxx

pass=xxxxxxxxxxxx

video_player=mpv -cache 16384

audio_player=mpv -cache 512

favorite=sf

use_nexdef=1

speed=2400

min_bps=1200

max_bps=4500

adaptive_stream=1
the sd stream is working great, thanks for putting this out there. just hope to get the hd stream working before mlb pulls the sd.
 
Old 03-06-2016, 09:11 AM   #4767
dysonsphere23
LQ Newbie
 
Registered: Mar 2016
Posts: 4

Rep: Reputation: Disabled
anybody else having issues with mlbclassics?
i run mlbclassics.py and get the error message:
Quote:
could not retrieve playlist. abort
i have the latest youtube-dl installed via pip, and i did the chmod a+x on /usr/local/bin/youtube-dl.

(running on ubuntu 15.10)

thanks
 
Old 03-06-2016, 11:54 PM   #4768
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dysonsphere23 View Post
anybody else having issues with mlbclassics?
i run mlbclassics.py and get the error message:

i have the latest youtube-dl installed via pip, and i did the chmod a+x on /usr/local/bin/youtube-dl.

(running on ubuntu 15.10)

thanks
Short answer. Google deprecated the v2 API. It's broken on my end and I don't know if I'm likely to fix that any time soon.
 
Old 03-06-2016, 11:56 PM   #4769
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I don't see the mlbhls binary. Did you compile this and copy it to a location in your PATH?

# make
# chmod +x mlbhls
# cp mlbhls /usr/bin

Quote:
Originally Posted by dysonsphere23 View Post
i changed the permissions and still get the same error:



here are the mlbhls directory lists:



not sure why i can't get the w permissions in the first directory.

here is my config file in case that has a clue:


the sd stream is working great, thanks for putting this out there. just hope to get the hd stream working before mlb pulls the sd.
 
Old 03-07-2016, 12:01 AM   #4770
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Ah. I see. Move those mlbhls directories out of your PATH. The compiled binary, not the source code directory is what goes in /usr/bin (or /usr/local/bin.)

# rm -rf /usr/bin/mlbhls
# mv /usr/local/bin/mlbhls /root
# cd /root/mlbhls
# make
# chmod +x mlbhls
# cp mlbhls /usr/bin

Verify with:

# mlbhls -h

If you get a usage statement, you're good. If you still get permission denied or not found, you missed or misread a step.


Quote:
Originally Posted by daftcat View Post
I don't see the mlbhls binary. Did you compile this and copy it to a location in your PATH?

# make
# chmod +x mlbhls
# cp mlbhls /usr/bin
 
  


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:00 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