Quote:
min_bps max_bps adaptive_stream If you want to lock in a specific stream speed, choose min_bps and max_bps to be the same and adaptive_stream=0. If you want the stream to adjust based on network conditions, you can choose a low value for min_bps such as 500000 (500kbps) and a higher max such as 2400000 (2400kbps) or higher. You'll need to set adaptive_stream=1. With adaptive streaming, mlbhls will judge based on network conditions whether max_bps is achievable. If it is, it stays on that stream. If it is not or there are interruptions, it will adapt the stream to min_bps and try again later. The actual internals of how adaptive streaming works in mlbhls is beyond me since that's not my tool. I just generate the proper command-line options to use the feature. Someone else here might be able to chime in on the mplayer2 strings you can use to tune the player. |
Quote:
min_bps=1200000 max_bps=2400000 I will try experimenting with these paramaters and see what happens. Thanks |
I set:
min_bps=250000 and watched the Red Sox/Orioles game yesterday. I am still getting lots of annoying pauses and one complete halt that required restarting the program. I have: video_player=mplayer2 -lavdopts threads=1 -cache 2048 -really-quiet I have read somewhere that mplayer2 output of "vdpau" will cause problems. I think "vdpau" is the default when it is compiled in as it is on my machines. I will try some other values for "-vo". |
Quote:
So 2048 * 0.2 * 8 b/B = 3840. That means mplayer is beginning playback after less than 2 seconds is buffered. Try increasing buffer size to 4096 or higher. You can also try -vo xv. Try increasing buffer size first, then try -vo xv after that if increasing buffer size didn't help. |
Hi yesterday I set:
video_player=mplayer2 -lavdopts threads=1 -vo vdpau -vc ffh264vdpau -cache 2048 -really-quiet and watched my Orioles lose a close one to Boston. It played nearly perfectly. I saw the vc (video codec) setting in an earlier thread. I have no idea why that should have helped. I have now set the cache up to 4096. I am not sure "-lavdopts threads=1" is necessary now as I removed it at one point and it didn't seem to make any difference. I will report again after watching another game or two. thanks again. |
mlbplay doesn't work?
Hello.
I seem to have noticed some problems with the timestamps sent to mlbhls from mlbplay and mlbviewer. When I try to use mlbplay it seems to start to play at the end of the stream, ie. after the game is over. I suspect this is beacause mlbplay set the timestamp to start to mlbhls to zero (0). Example: Code:
# mlbplay.py v=nyy j=05/03/12 Example working: Code:
mlbhls -B <really long hash> -L -s 4500000 -F 25:40:00 -o - | mplayer2 -fs -cache 1048000 -cache-min 5 - Code:
mlbhls -B <really long hash> -L -s 4500000 -F 00:40:00 -o - | mplayer2 -fs -cache 1048000 -cache-min 5 - My config file: Code:
# See README for explanation of these settings. |
Sorry to resurrect an old thread, but is there still an app that will let us watch MLB.tv on Linux outside of our web browser? I got a 2-week free trial and want to look at options while I am able. Great Mother, it's nice to see Dodger games, even the next day. 8)
|
Quote:
http://sourceforge.net/projects/mlbviewer/ Sourceforge release should work well enough as is. But it may not be a bad idea to read one of the README or INSTALL files about how to download the latest SVN version if there's any trouble with the Sourceforge release. |
Thanks daft. I got it installed but I have a question. I'd rather use VLC but I must not have the settings right because I see something about needing a -c argument. I tried to watch last night's Dodgers/D-backs game and I was finally able to snag part of what I got before it scrolled off the screen:
Quote:
Quote:
|
Quote:
Oh, I see your error in vlc. I don't think it takes the same command-line arguments as mplayer so -cache is being interpreted as -c with the remaining "ache" as the value for -c. Since it doesn't have a -c option (or if it does, "ache" is probably not a valid value for it), it's throwing an error. Change your video_player= to simply "video_player=vlc" (without the quotes.) That plus use_nexdef=0 and it just works for me. I think there's extra command-line options necessary to get the mlbhls streams working with vlc but you said, you're okay not using mlbhls. Give that a try and let me know if that works for you. |
That line does get VLC working. Thanks. I also wrote a post for my blog on installing mlbviewer to help folks find out it's available and how to use it. I passed on the section about mlbhls because I was unable to make sure it works, partly due to the busy wifi at Starbucks, but I did mention it in case others are able to use it.
|
Quote:
Quote:
Quote:
|
Revision 372: Fixed crash when no games available
This one's for you, BostonPeng. If you're not already on the svn branch of mlbviewer, now is a good time to grab it. Search svn in the README or INSTALL files.
Short answer: there was a variable that was uninitialized when no games are available like today (All-Star break.) BTW, I imagine North America will be blacked out from watching All-Star game live tomorrow, but hopefully archived game should work without problems. |
Quote:
Not sure why the original developer went with two digit year instead of four but I just kept it that way. I added an extra check and error message for this. |
Quote:
Also, if you need help with mlbhls, post what compile error(s) you were getting here and either myself or the mlbhls developer can help you through it. Even if you don't use the higher bandwidths, I like that mlbhls supports adaptive streaming. I tend to cap myself at home to 1200 (max_bps=1200000) and turn on adaptive streaming. This way, if Comcast ever gets congested, mlbhls will dynamically adjust the stream down to a lower speed until such time that it can bump back up to 1200. It might be just the thing to get video working at crowded Starbucks. :) Grew up in LA so cheers to another Dodgers fan. :) |
All times are GMT -5. The time now is 10:23 PM. |