LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-15-2011, 11:13 AM   #3391
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Doh! My laptop was muted. Hey, even I make stupid mistakes. But I do have sound issues with other speed streams so I'll upload samples of those this weekend.
 
Old 07-15-2011, 11:36 AM   #3392
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by daftcat View Post
Doh! My laptop was muted. Hey, even I make stupid mistakes. But I do have sound issues with other speed streams so I'll upload samples of those this weekend.
XBMC has a nice audio-stream selector that you can use to swap between audio streams on the fly. I noticed that when playing these files, XBMC detects three audio streams, even though there are really only two. The first one is typically the standard TV audio, the second one is the radio, and the third is silence. It may be that mplayer is automatically picking an -aid with no audio data. I'd try various arguments to the -aid flag and see if that fixes things.
 
Old 07-15-2011, 02:19 PM   #3393
thegryghost
Member
 
Registered: Mar 2009
Distribution: Gentoo
Posts: 30

Rep: Reputation: 1
Quote:
Originally Posted by Theophile View Post
XBMC has a nice audio-stream selector that you can use to swap between audio streams on the fly. I noticed that when playing these files, XBMC detects three audio streams, even though there are really only two. The first one is typically the standard TV audio, the second one is the radio, and the third is silence. It may be that mplayer is automatically picking an -aid with no audio data. I'd try various arguments to the -aid flag and see if that fixes things.
The '#' key should cycle through all the audio streams in mplayer.
 
Old 07-15-2011, 11:41 PM   #3394
Kady
LQ Newbie
 
Registered: May 2011
Location: Vienna, Austria
Distribution: gentoo
Posts: 8

Rep: Reputation: Disabled
I can now watch the Orioles sink ever deeper into the cellar in glorious HD. I had little trouble setting it up until I realized there were complete instructions on the wiki at site reached through your link. I could only stand to watch 3 innings, but it worked perfectly - sound and video. The 7PM games are on at 1AM here and I have already watched too many games when I should be sleeping.


Thanks for your efforts. They are much appreciated:
 
Old 07-19-2011, 07:27 PM   #3395
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Quote:
Originally Posted by daftcat View Post
All-star Game fix got checked into nexdef2011 branch. Along with it came my first attempt to support a non-autobahn.jar method of watching games in HD (aka NexDef...though I hesitate to call it NexDef since we are no longer using the NexDef code developed for MLB.TV.)

A few notes:

1. First, use SVN to check out mlbtv-hls-nexdef from this link:
<SNIP>
Works great, super awesome, audio switching is the bee's knees. I'm glad I recently bumped up my bandwidth.

I will note that when I built mlbtv-hls, the executable was named mlbhls, but mlbviewer.py seemed to want it to be called mlbhd. Simple rename fixed that problem though.

Inning selection doesn't seem to work, at least while the game is live.

Last edited by mchapter; 07-19-2011 at 08:30 PM. Reason: more info
 
Old 07-20-2011, 03:19 AM   #3396
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mchapter View Post
Works great, super awesome, audio switching is the bee's knees. I'm glad I recently bumped up my bandwidth.

I will note that when I built mlbtv-hls, the executable was named mlbhls, but mlbviewer.py seemed to want it to be called mlbhd. Simple rename fixed that problem though.

Inning selection doesn't seem to work, at least while the game is live.
Fixed the executable name and moved the hardcoding of the command string to top of MLBviewer/mlbtv.py file (DEFAULT_HD_PLAYER and HD_ARCHIVE_OFFSET.)

Inning support does not work yet. Not going to have time this week or this weekend but maybe next week I'll have a look at it.
 
Old 07-21-2011, 03:17 AM   #3397
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
@daftcat:
I made a patch for the mlbplay.py script. It is attached to this post.

It fixes the %f-replace behavior and restores it to mlbviewer glory. There are probably not many people using it, but I would be grateful if you could look it over and merge it into your code anyway.

Thanks!
Attached Files
File Type: txt mlbplay.py.diff.txt (866 Bytes, 15 views)
 
Old 07-22-2011, 01:40 AM   #3398
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mkomko View Post
@daftcat:
I made a patch for the mlbplay.py script. It is attached to this post.

It fixes the %f-replace behavior and restores it to mlbviewer glory. There are probably not many people using it, but I would be grateful if you could look it over and merge it into your code anyway.

Thanks!
I thought I had already included this fix but apparently not. Well, now it's in there, and I've done one better. I added support for the new mlbhls method for "nexdef". Now you can use mlbplay for nexdef using the use_mlbhd config option (should really change this to use_mlbhls) without having to pipe it to mlbhls.

In other words, if you have "use_mlbhd=1" in your config file, then you can use "mlbplay.py v=kc n=1" to watch KC lose in HD glory without having to use the -nu option and grabbing the result and putting it into mlbhls command-line manually. You still need to define your desired bitrate using max_bps option in the config file. Eventually, I'll have the speed option and the speed selection code handle this for you. Should be easy but it means I have to add an extra code to validate standard def vs high def speeds and I'm not wanting to look into that tonight.
 
Old 08-03-2011, 08:30 PM   #3399
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Does anybody else have audio video sync problems using the mlbhls setup? It's pretty consistent for me on at least one feed, can't really tell if the radio feed is in sync with the video or not..
 
Old 08-07-2011, 05:57 AM   #3400
lephio
Member
 
Registered: Jun 2008
Posts: 46

Rep: Reputation: 15
hi guys.. thank you for your job. it's always good to say that! here in italy can watch baseball just because of the internet, so your job is very precious!

a question.. i'm using boxee for watching live games because of the great gui and because i can use a remote directly from my sofa.

but boxee doesn't have any condensed game support. do you know how can i add IR REMOTE support to mlbviewer? actually is full lirc supported, but i don't know how to use it on a shell app.

ciao
 
Old 08-07-2011, 10:13 AM   #3401
lephio
Member
 
Registered: Jun 2008
Posts: 46

Rep: Reputation: 15
got it. i realized the question was totally off-topic.

the good thing is that i have both the condensed game and the boxee app on my remote.

so i'll enjoy the end of the season on my sofa!!!
 
Old 08-23-2011, 03:34 PM   #3402
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Hmm, well... So after having used mlbviewer with mplayer successfully all season, I'm suddenly getting videos that are completely blacked out. I hear all the commentary, but the picture is just a black screen.

The problem persists for all speeds to which I have access (just the low ones -- 500 and 800 I think?); it persists when I use vlc instead of mplayer; and it even persists when I go back and re-download games from last weekend that I already watched!

Does anybody know what's going on here? I watch games a day late in the UK so I shouldn't be subject to any blackout restrictions, but is this what a game would look like if it was blacked out? Is anybody else seeing this problem?
 
Old 08-23-2011, 04:35 PM   #3403
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Ah. So as it turns out, mplayer and vlc are doing this for *all* my videos. The fact that I went three days thinking it was only baseball tells me that I'm watching too much baseball!

Anyway, the problem's obviously on my end with codecs or something. I should've known that mlbviewer is too robust to cause any behavior like that! Sorry to clog the list with what turned out to be a totally OT post.

f2
 
Old 08-23-2011, 11:33 PM   #3404
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by fang2415 View Post
Ah. So as it turns out, mplayer and vlc are doing this for *all* my videos. The fact that I went three days thinking it was only baseball tells me that I'm watching too much baseball!

Anyway, the problem's obviously on my end with codecs or something. I should've known that mlbviewer is too robust to cause any behavior like that! Sorry to clog the list with what turned out to be a totally OT post.

f2
First guess is that you or your OS updated ffmpeg or mplayer to some older binary version that what once worked. Recompile mplayer and you should be set. At least you have some downloaded videos you can test with first. MLB.TV can be pretty unforgiving for testing (too many logins in a short time and they block you for awhile.)
 
Old 08-25-2011, 10:21 AM   #3405
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
Hey daftcat,

I have a new patch for the mlbplay.py script. I noticed that the TV station call letters always came from the away team. I was able to fix it.

Please merge the patch into your code.

Thank you very much!
Attached Files
File Type: txt mlbplay.py.diff.txt (360 Bytes, 11 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 03:19 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