LinuxQuestions.org
Help answer threads with 0 replies.
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 08-17-2016, 09:54 AM   #4891
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
One of my least favorite Python error messages.

Two things:

1. Can you try again with nexdef disabled? The gameday audio shouldn't go down the nexdef code path but I get a working stream with it disabled and a non-working one with it enabled.

2. Can you check for ~/.mlb/unsuccessful-1.xml or unsuccessful-2.xml and post either or both of those? Do an ls -lrt and make certain the date actually matches the day you were having errors. Those files are overwritten so it's possible that one or both were from a previous failure.
Sorry I didn't get back to you on this. Once Boston left I was able to get back to watching the SNLA coverage and kept forgetting to try the audio feed again. But I do have good news. For some reason I've been unable to watch MLV.tv in my web browser for a few weeks but mlbviewer has become my go-to program for watching games. It's great to be able to watch my team (#zerogamesback) and not add workload to my browser. The only problem is that the stream always lags behind Gameday, both in my browser and in mlbviewer, and sometimes I get a little buffering but restarting the stream in VLC is much easier and faster than reloading the webpage.
 
Old 08-17-2016, 08:21 PM   #4892
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
I just discovered something I want to pass along. I use VLC to play the stream from MLB.TV, and I found an Android app called VLC Streamer Free. (It's available for iOS devices too in case anyone has one of those.) Now I can fire up the stream with VLC on my laptop then use the Android app to change the volume, stop and restart the stream (handy to try to beat lags from buffering of the stream), and even make the video full screen, all from my phone. Plus I just found out I can turn the closed captions on and off and switch audio streams from the app, too, although that may require the $2.99 paid version that I just bought. One thing I know I got with the paid version is the ability to browse the music and video files on my laptop and play them from my phone.

I did have one glitch setting it up, and that was the fact that I could get the app to see my laptop but not that it was running VLC. To fix that all I did was specify the name and IP address of my laptop. I could manually give the app the laptop's name but didn't know the IP address, but once the app saw the computer I used Settings>Info/WiFi IP Address to get my laptop's IP addy. Once I had that I manually added the laptop with both the name and IP address and it had no problem seeing VLC running. hat feature is available on the free version so you don't need to buy the app to control the game stream on your computer if you use VLC for your media player.

(I haven't been paid to write this, or even asked to do so, but it's such a great tool for watching the games I wanted to pass on the info. I trust it's allowed.)
 
Old 08-19-2016, 11:48 AM   #4893
SkyMeadow
Member
 
Registered: Feb 2012
Location: U.S.A.
Distribution: Ubuntu 14.04
Posts: 35

Rep: Reputation: Disabled
It is great to be able to follow our team on my Ubuntu desktop.

Lately, however, there has been a frequent error, often 5-10 times per game. While watching in HD, fullscreen, frame drop enabled, the mplayer video/audio freezes. The last thing in the terminal window that spawned the mplayer is "Received command to move to another file. Aborting current processing." At this point I use the System Monitor to manually terminate the mlbhls task. The mlbtv terminal session usually recovers and I can press enter to restart the mplayer video.

It happens when I am not touching the keyboard. (I found that in my setup, the mplayer's key bindings are mostly unusable. Even touching a "volume up" or "mute" button on my keyboard usually freezes the video, usually necessitating a manual restart of mlbhls, so I mostly stay off the keyboard while watching games. My workaround is to start mlbtv in a different workspace, and if I really need to browse the web or check email or dim the screen brightness or control the audio, I use CTL-ATL-BackArrow to switch back to a workspace that isn't running mlbtv, and CTL-ALT-ForwardArrow when switching back to mlbtv. Undoubtedly there are slicker ways to accomplish this but it works for me ... usually.)

One of the many times that I manually terminated a frozen mlbhls, after restarting it one of my 4 CPU cores began running at 100% for several minutes. By the time I figured out what was going on (system fan started running audibly at 100%) and killed Thunderbird email and a Firefox browser that was running Flash, the mplayer window started up and continued running OK (without the terminal session that had spawned it), and the CPU returned to a normal % utilization. I doubt this particular incident sheds much light on the situation, because it was a rare one-of-a-kind event.

Should I suspect that my old USB keyboard is occasionally producing spurious keycodes (no evidence of this in other apps), or should we try to narrow the search for a possible bug somewhere in this package?

Thank you. Go Dodgers!
 
Old 08-22-2016, 11:41 AM   #4894
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
Is there a way to force a game to be joined in progress? I fired up mlbviewer in time to catch the lead in to the Dodgers-Reds game then did a quick full stop and restart only to get the lead in again. Now the game has started but I'm still looking at "Commercial Break in Progress." I'm several batters behind live. Help!
 
Old 08-22-2016, 03:19 PM   #4895
SkyMeadow
Member
 
Registered: Feb 2012
Location: U.S.A.
Distribution: Ubuntu 14.04
Posts: 35

Rep: Reputation: Disabled
Yes -

Add this to your config file:

live_from_start=False

This usually works. Another thing you can do to catch up with the live action of a game is, from the Listings (L) menu, cursor to the desired game, then type "i" for Innings view. You will see a list of innings that are complete and you can select one by typing T (for top) or B (for bottom) and inning number, e.g. T4 for the top of the 4th. Case sensitive.
 
Old 08-22-2016, 04:04 PM   #4896
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
Thanks. Does it matter where I put that in my config file? Unfortunately the Innings view wouldn't have helped because I was trying to get to the top of the 1st. I ended up getting to semi-live baseball although I don't know what I did to fix it. Now I just need to find a way to dodge the frequent lag inducing checks for libvdpau_nvidia.so since I don't even have an nVidia card. Every time the error comes up that the file couldn't be found I end up with more lag in my game. I use VLCRemote to stop and restart VLC during the breaks between innings to try to limit the lags but I've seen lags several times in an inning with errors like this in the terminal window
Quote:
[00007f5704000958] core input error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1368 ms)
[00007f5704000958] core input error: ES_OUT_RESET_PCR called
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
 
Old 08-22-2016, 08:03 PM   #4897
SkyMeadow
Member
 
Registered: Feb 2012
Location: U.S.A.
Distribution: Ubuntu 14.04
Posts: 35

Rep: Reputation: Disabled
I do not know.
 
Old 08-26-2016, 03:54 PM   #4898
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The mlbhls/nexdef streams have stopped working for me today. Has anyone else noticed this? The standard (rtmp) streams still work OK.
 
Old 08-26-2016, 11:31 PM   #4899
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
chrisVV, the mlbhls stream is working fine for me with tonight's Cubs-Dodgers game, FWIW. And yesterday I was able to stream the previous day's game. Temporary blip maybe? Or maybe it's the particular speed you're trying to stream (I'm using uhh whatever the speed is that mlbhls calls 2908735.)

Oh, and BostonPeng, I'm 95% sure that the order of the options in the config file doesn't matter. If you're worried about lag of up to a minute (rather than mlbviewer starting the stream like an hour behind or something), note that I think that mlbhls always pulls from the start of the minute requested. (Some sort of decryption key seems to be sent at the start of each minute, and without that key all video players except mplayer2/mpv won't be able to play the stream.) There are probably several more reasons why it would be tricky to iron out every second of lag, but that may be one of them...
 
Old 08-27-2016, 05:36 AM   #4900
chrisVV
Member
 
Registered: Aug 2010
Posts: 548

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by fang2415 View Post
chrisVV, the mlbhls stream is working fine for me with tonight's Cubs-Dodgers game, FWIW. And yesterday I was able to stream the previous day's game. Temporary blip maybe? Or maybe it's the particular speed you're trying to stream (I'm using uhh whatever the speed is that mlbhls calls 2908735.)
OK thanks. I am away from my main home at the moment and I think since I was last here at my present location (three weeks' ago) the ISP must have introduced some form of traffic shaping which doesn't work well with mlbhls. As a test I ssh'ed back into my home computer and I could start up a game there OK.

mlbhls has always been a bit slow in starting fetching a stream - maybe 5 to 10 seconds after mplayer2 starts trying to fill its cache. Where I am now it just hangs for ever with mplayer2 stating its cache is at 0%. It does the same with standard mplayer and with vlc.

The curious thing is that if I boot up windows the HLS streams work fine in a windows browser (Internet Explorer or Firefox). So it seems to be something particular about mlbhls.
 
Old 08-27-2016, 10:13 AM   #4901
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
Quote:
Originally Posted by fang2415 View Post
Oh, and BostonPeng, I'm 95% sure that the order of the options in the config file doesn't matter. If you're worried about lag of up to a minute (rather than mlbviewer starting the stream like an hour behind or something), note that I think that mlbhls always pulls from the start of the minute requested. (Some sort of decryption key seems to be sent at the start of each minute, and without that key all video players except mplayer2/mpv won't be able to play the stream.) There are probably several more reasons why it would be tricky to iron out every second of lag, but that may be one of them...
Thanks. I guess I'll just restart the stream on VLC during each inning break and get used to the spoilers from MLB Gameday. I'm actually not watching games for a few days after the horrible way the front office handled the AJ Elis trade but I may be back to watching the games at some point next week so when I go back to watching (and listening to Vin Scully) I'll solidify a way to enjoy the game without Gameday showing me the results of plays I haven't gotten a chance to see yet.
 
Old 08-27-2016, 02:17 PM   #4902
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by BostonPeng View Post
Thanks. I guess I'll just restart the stream on VLC during each inning break and get used to the spoilers from MLB Gameday. I'm actually not watching games for a few days after the horrible way the front office handled the AJ Elis trade but I may be back to watching the games at some point next week so when I go back to watching (and listening to Vin Scully) I'll solidify a way to enjoy the game without Gameday showing me the results of plays I haven't gotten a chance to see yet.
Internet transmissions always have many sources of delays. Some are tunable (cache sizes) and some are not (encoding and transmission.)

The only reliable way to get a spoiler-free Gameday experience with mlbviewer is to write your own gameday client and integrate it with mlbhls or rtmpdump so you can synchronize the timecodes. This is beyond my programming capabilities and my willingness to take on large amounts of unpaid work.

If someone else wanted to look into this, if you provide a socket, a named pipe, or some other interface for mlbviewer to connect back to mlbhls/rtmpdump/your synchronized gameday feed, I can write the content of that feed back to the main mlbviewer window. That window doesn't necessarily need to be stdout/stderr of the spawned decoder/player processes.
 
Old 08-27-2016, 05:23 PM   #4903
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
The only reliable way to get a spoiler-free Gameday experience with mlbviewer is to write your own gameday client and integrate it with mlbhls or rtmpdump so you can synchronize the timecodes. This is beyond my programming capabilities and my willingness to take on large amounts of unpaid work.
Way beyond my chops as well. Thanks for the reponse.
 
Old 09-13-2016, 06:34 PM   #4904
iamleobn
LQ Newbie
 
Registered: Sep 2016
Posts: 1

Rep: Reputation: Disabled
I haven't been able to watch HLS streams on Cygwin properly. No matter what speed I select, it always opens a 512x288 stream. RTMP streams are working fine. I'm using mlbviewer rev. 670 and mlbhls compiled from the experimental branch. FWIW, I'm using the same config file that I use in my Xubuntu install, and it works just fine there.

EDIT: I recompiled mlbhls from tonycpsu's github instead of thegryghost's (which is not updated since April 2013 but is still referenced on the mlbviewer Wiki, please fix that) and now the 60fps stream seems to be selected correctly, but it's stuck.
Attached Thumbnails
Click image for larger version

Name:	vlcsnap-error134.jpg
Views:	26
Size:	200.6 KB
ID:	23015  

Last edited by iamleobn; 09-14-2016 at 01:36 PM.
 
Old 09-20-2016, 11:26 PM   #4905
jhoward321
LQ Newbie
 
Registered: Sep 2016
Distribution: Fedora
Posts: 2

Rep: Reputation: Disabled
Hey guys, just thought I'd come here and share my new mlbviewer related project. I'm working on building a remote control API on top of mlbviewer, mainly so I can easily select a game to watch on a raspberry pi.

I've got some of the basic features working, but eventually I would like to have most of the mlbviewer options integrated. I haven't yet made the front end, but it can be operated easily using curl commands. I took some ideas from the mlbviewer-remote project, but ultimately I wanted a commandline interface much like the actual mlbviewer interface. Anyways, just thought I'd share it with y'all in case anyone was interested in using it. Would love to get input for features to add and I welcome code contributions.

Here's a link to the project.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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