LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-28-2009, 01:21 PM   #1486
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Quote:
Originally Posted by jeremybub View Post
As a non-nexdef user, do live games work? (with rtmpdump I assume) and if they do, are there any problems with them. You seemed to say that they were not working well, but that would imply that they are at least working. If they are working, how do you get them up, just the normal way with mlbviewer.py?
Consider live games not working for rtmpdump.

Rtmpdump can download the stream but mplayer can't play it smoothly. That is, it plays about 1 frame every 5 seconds.

Archived games work well, though.

I would recommend upgrading to premium or using the flash player for live games. I would recommend upgrading to premium anyway because it's beautiful on Linux with mlbviewer. Most of the development work will be towards supporting premium/nexdef users unless a better solution for rtmp comes along.
 
Old 04-28-2009, 03:15 PM   #1487
TheDevilWearsPravda
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
So I SVN'ed up to the latest revision to display today's listings correctly, and now mlbdvr can't find any streams for this poor non-premium soul.

Here's what I think are the relevant parts of my log file with debug enabled.
Code:
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "video"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_lg"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MLB_FLASH_400K_STREAM"
                           has-synched-data = "false"
                           preview-url = "http://mediadownloads.mlb.com/mlbam/preview/slnatl_400_preview.mp4"
                           innings-index[] = 
                              "http://mlb.mlb.com/mlb/mmls2009/244480.xml",
                           cdn = "AKAMAI_FLASH_STREAM_ONDEMAND"
                           sequence = 1
                           duration = None
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "video"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_lg"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MLB_FLASH_600K_STREAM"
                           has-synched-data = "false"
                           preview-url = "http://mediadownloads.mlb.com/mlbam/preview/slnatl_600_preview.mp4"
                           innings-index[] = 
                              "http://mlb.mlb.com/mlb/mmls2009/244480.xml",
                           cdn = "AKAMAI_FLASH_STREAM_ONDEMAND"
                           sequence = 1
                           duration = None
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "video"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_lg"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MLB_FLASH_164K_STREAM"
                           has-synched-data = "false"
                           preview-url = "http://mediadownloads.mlb.com/mlbam/preview/slnatl_164_preview.mp4"
                           innings-index[] = 
                              "http://mlb.mlb.com/mlb/mmls2009/244480.xml",
                           cdn = "AKAMAI_FLASH_STREAM_ONDEMAND"
                           sequence = 1
                           duration = None
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
               domain-specific-attributes = 
                  (domain-specific-attributes){
                     domain-attribute[] = 
                        property:domain-attribute = "144",
                        property:domain-attribute = "out-of-market",
                        property:domain-attribute = "PTV-HD",
                        property:domain-attribute = "144",
                        property:domain-attribute = "mlb_mp4_epg",
                        property:domain-attribute = "MLBTV_MP_4",
                        property:domain-attribute = "LIVE_EVENT_COVERAGE",
                        property:domain-attribute = "MLBTV",
                        property:domain-attribute = "144",
                        property:domain-attribute = "138",
                        property:domain-attribute = "2009/04/27/slnmlb-atlmlb-1",
                        property:domain-attribute = "2009-04-27",
                        property:domain-attribute = "14-244480-2009-04-27",
                        property:domain-attribute = "244480",
                        property:domain-attribute = "138",
                  }
            },
            (user-verified-content){
               content-id = 4313831
               type = "audio"
               user-verified-media-item[] = 
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MLB_FMS_AUDIO_32K_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = "AKAMAI_FLASH_STREAM_ONDEMAND"
                           sequence = None
                           duration = "03:47:54"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MOBILE_AMR_AUDIO_3GPP_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = None
                           sequence = None
                           duration = "03:47:54"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MOBILE_IPHONE_AUDIO_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = None
                           sequence = None
                           duration = "03:47:54"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MOBILE_WMA_AUDIO_16K_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = "AKAMAI_WINDOWSMEDIA_STREAM"
                           sequence = None
                           duration = "03:47:54"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
               domain-specific-attributes = 
                  (domain-specific-attributes){
                     domain-attribute[] = 
                        property:domain-attribute = "138",
                        property:domain-attribute = "out-of-market",
                        property:domain-attribute = "KTRS",
                        property:domain-attribute = "144",
                        property:domain-attribute = "MLBMOBILE_GAMEDAY_AUDIO",
                        property:domain-attribute = "MLBCOM_GAMEDAY_AUDIO",
                        property:domain-attribute = "mlb_mp4_epg",
                        property:domain-attribute = "MLBTV_MP_4",
                        property:domain-attribute = "LIVE_EVENT_COVERAGE",
                        property:domain-attribute = "144",
                        property:domain-attribute = "138",
                        property:domain-attribute = "2009/04/27/slnmlb-atlmlb-1",
                        property:domain-attribute = "2009-04-27",
                        property:domain-attribute = "14-244480-2009-04-27",
                        property:domain-attribute = "244480",
                        property:domain-attribute = "138",
                  }
            },
            (user-verified-content){
               content-id = 4313829
               type = "audio"
               user-verified-media-item[] = 
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MLB_FMS_AUDIO_32K_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = "AKAMAI_FLASH_STREAM_ONDEMAND"
                           sequence = None
                           duration = "04:16:12"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MOBILE_AMR_AUDIO_3GPP_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = None
                           sequence = None
                           duration = "04:16:12"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MOBILE_IPHONE_AUDIO_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = None
                           sequence = None
                           duration = "04:16:12"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "audio"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_ga"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MOBILE_WMA_AUDIO_16K_STREAM"
                           has-synched-data = "false"
                           preview-url = None
                           innings-index[] = <empty>
                           cdn = "AKAMAI_WINDOWSMEDIA_STREAM"
                           sequence = None
                           duration = "04:16:12"
                        }
                     url = ""
                     auth-status = 
                        (auth-status){
                           loginRequiredStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
               domain-specific-attributes = 
                  (domain-specific-attributes){
                     domain-attribute[] = 
                        property:domain-attribute = "144",
                        property:domain-attribute = "out-of-market",
                        property:domain-attribute = "144",
                        property:domain-attribute = "MLBMOBILE_GAMEDAY_AUDIO",
                        property:domain-attribute = "MLBCOM_GAMEDAY_AUDIO",
                        property:domain-attribute = "mlb_mp4_epg",
                        property:domain-attribute = "MLBTV_MP_4",
                        property:domain-attribute = "LIVE_EVENT_COVERAGE",
                        property:domain-attribute = "144",
                        property:domain-attribute = "138",
                        property:domain-attribute = "2009/04/27/slnmlb-atlmlb-1",
                        property:domain-attribute = "2009-04-27",
                        property:domain-attribute = "14-244480-2009-04-27",
                        property:domain-attribute = "244480",
                        property:domain-attribute = "138",
                        property:domain-attribute = "WGST",
                  }
            },
         domain-specific-attributes = ""
      },
   entitlements[] = 
      "",
   status-code = "1"
 }
DEBUG>> soap event-id:14-244480-2009-04-27
DEBUG>> soap content-id:4313825
DEBUG>> writing soap response
(reply){
   user-verified-event[] = 
      (UserVerifiedEvent){
         event-id = "14-244480-2009-04-27"
         user-verified-content[] = 
            (user-verified-content){
               content-id = 4313825
               type = "video"
               user-verified-media-item[] = 
                  (user-verified-media-item){
                     media-item = 
                        (media-item){
                           type = "video"
                           state = "MEDIA_ARCHIVE"
                           cat-code = "mlb_media_mlb_lg"
                           login-required = "true"
                           auth-required = "true"
                           blackout-keywords = ""
                           playback-scenario = "MLB_FLASH_800K_STREAM"
                           has-synched-data = "false"
                           preview-url = "http://mediadownloads.mlb.com/mlbam/preview/slnatl_800_preview.mp4"
                           innings-index[] = 
                              "http://mlb.mlb.com/mlb/mmls2009/244480.xml",
                           cdn = "AKAMAI_FLASH_STREAM_ONDEMAND"
                           sequence = 1
                           duration = None
                        }
                     url = "rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4?aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb"
                     auth-status = 
                        (auth-status){
                           successStatus = ""
                        }
                     blackout-status = 
                        (blackout-status){
                           successStatus = ""
                        }
                  },
               domain-specific-attributes = 
                  (domain-specific-attributes){
                     domain-attribute[] = 
                        property:domain-attribute = "144",
                        property:domain-attribute = "out-of-market",
                        property:domain-attribute = "PTV-HD",
                        property:domain-attribute = "144",
                        property:domain-attribute = "mlb_mp4_epg",
                        property:domain-attribute = "MLBTV_MP_4",
                        property:domain-attribute = "LIVE_EVENT_COVERAGE",
                        property:domain-attribute = "MLBTV",
                        property:domain-attribute = "144",
                        property:domain-attribute = "138",
                        property:domain-attribute = "2009/04/27/slnmlb-atlmlb-1",
                        property:domain-attribute = "2009-04-27",
                        property:domain-attribute = "14-244480-2009-04-27",
                        property:domain-attribute = "244480",
                        property:domain-attribute = "138",
                  }
            },
         domain-specific-attributes = ""
      },
   entitlements[] = 
      (Entitlements){
         entitlement[] = 
            "MLBVIDEO",
      },
   session-key = "IQ/+pL/+jb0+uaJ9sBOCrHYW2xM="
   status-code = "1"
 }DEBUG>> sub_path = None
DEBUG>> play_path = mp4:secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4?aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb
DEBUG>> app = ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb
DEBUG>> soap url = 
rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4?aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb
DEBUG>> soap url = 
rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4?aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb

DEBUG>> rec_cmd_str
rtmpdump -f "LNX 10,0,22,87" -o /home/kalif/mlbdvr_games/14-244480-2009-04-27.mp4 -r "rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4?aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb" -y "mp4:secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4?aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb" -s http://mlb.mlb.com/flash/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4 -t "http://198.63.194.116:1935/ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6aifp=v0004&auth=da.a2dKafaUcEajdMcbc_d4dpbPcFcwdycd-bj916U-O-zxqozjHsBnuGIp-l9m8mck7l8l9m9l9jamdj7jilajcmil6l6mgmbk4le&slist=secure/mlbam/2009/04/27/mlbtv_slnatl_home_800k.mp4&ct5=28-Apr-09&ct6=75.50.51.8&ct7=4313825:MLB_FLASH_800K_STREAM&ct8=1&ct1=mlb&ct3=21220112&ct4=mlb" --resume
Any clues?
 
Old 04-28-2009, 04:35 PM   #1488
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Something broke in r172.

For live and archived games, mlbviewer.py gives this error on selection:
Code:
An error occurred in locating the game stream:

Requested stream is not available.

Requested coverage association: 145

Available content list =
[]
I enabled debug and it died with this:
Code:
Traceback (most recent call last):
  File "./mlbviewer.py", line 1173, in <module>
    curses.wrapper(mainloop, mycfg.data)
  File "/usr/lib/python2.5/curses/wrapper.py", line 44, in wrapper
    return func(stdscr, *args, **kwds)
  File "./mlbviewer.py", line 960, in mainloop
    u = g.soapurl()
  File "/home/theophile/mlbviewer/MLBviewer/mlbtv.py", line 1140, in soapurl
    raise Exception,self.error_str
Exception: Requested stream is not available.

Requested coverage association: 136

Available content list = 
[]
Hope that makes sense to you.
 
Old 04-28-2009, 05:01 PM   #1489
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Quote:
Originally Posted by Theophile View Post
Something broke in r172.

For live and archived games, mlbviewer.py gives this error on selection:
[code]An error occurred in locating the game stream:

Requested stream is not available.

Requested coverage association: 145

Available content list =
[]
I've got the same error message.
However next-def is down too, so it might be an error on MLB.tv end.
 
Old 04-28-2009, 05:16 PM   #1490
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Sorry guys. I had the same code working just fine last night and this morning.

Can't really do anything about it right now. If it can wait a few hours, I'll look at later tonight after work. If you need your fix, try one of the debug tools in the test directory.
 
Old 04-28-2009, 06:37 PM   #1491
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Now live games are giving an uncaught error. Trying to use nexdef.py gives this:

Code:
http://local.swarmcast.net:8001/protected/content/adaptive-live/describe/base64:aHR0cDovL3d3dy5tbGIuY29tL3B1YmFqYXh3cy9iYW1yZXN0L01lZGlhU2VydmljZTJfMC9vcC1nZW5lcmF0ZUtleS92LTEuMT9jb250ZW50SWQ9NDMxNTQ5NyZpcGlkPTg4MjAyOTYmcGxheWJhY2s9TUxCX0ZMQVNIX1NXQVJNQ0xPVUQmc2Vzc2lvbktleT1wYnJSbWJpbnFuT2dmcmNEM3pvdHhLcWtGTmclM0Q=?mlbfpk=VMI8xjeIil2VKnHSbgxEfTIfpns%3D&refetch=true
<?xml version="1.0" encoding="UTF-8"?>
<adaptiveStream id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428"><streamTail timeStamp="19:35:55" /><encodings><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_2200K_STREAM" width="800" height="450" bps="2200000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_1800K_STREAM" width="800" height="450" bps="1800000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_800K_STREAM" width="800" height="450" bps="800000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_400K_STREAM" width="400" height="225" bps="400000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_164K_STREAM" width="256" height="144" bps="164000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_1200K_STREAM" width="800" height="450" bps="1200000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_600K_STREAM" width="400" height="225" bps="600000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_3000K_STREAM" width="1280" height="720" bps="3000000" codec="H.264" container="FLV" /></encodings></adaptiveStream>

Traceback (most recent call last):
  File "./nexdef.py", line 402, in <module>
    ( hrs, min, sec ) = timestamp.split(':')
NameError: name 'timestamp' is not defined
 
Old 04-28-2009, 06:46 PM   #1492
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Theophile View Post
Now live games are giving an uncaught error. Trying to use nexdef.py gives this:

Code:
http://local.swarmcast.net:8001/protected/content/adaptive-live/describe/base64:aHR0cDovL3d3dy5tbGIuY29tL3B1YmFqYXh3cy9iYW1yZXN0L01lZGlhU2VydmljZTJfMC9vcC1nZW5lcmF0ZUtleS92LTEuMT9jb250ZW50SWQ9NDMxNTQ5NyZpcGlkPTg4MjAyOTYmcGxheWJhY2s9TUxCX0ZMQVNIX1NXQVJNQ0xPVUQmc2Vzc2lvbktleT1wYnJSbWJpbnFuT2dmcmNEM3pvdHhLcWtGTmclM0Q=?mlbfpk=VMI8xjeIil2VKnHSbgxEfTIfpns%3D&refetch=true
<?xml version="1.0" encoding="UTF-8"?>
<adaptiveStream id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428"><streamTail timeStamp="19:35:55" /><encodings><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_2200K_STREAM" width="800" height="450" bps="2200000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_1800K_STREAM" width="800" height="450" bps="1800000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_800K_STREAM" width="800" height="450" bps="800000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_400K_STREAM" width="400" height="225" bps="400000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_164K_STREAM" width="256" height="144" bps="164000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_1200K_STREAM" width="800" height="450" bps="1200000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_600K_STREAM" width="400" height="225" bps="600000" codec="H.264" container="FLV" /><encoding id="MLB_GAME_VIDEO_BOSCLE_VISIT_20090428_MLB_FLASH_3000K_STREAM" width="1280" height="720" bps="3000000" codec="H.264" container="FLV" /></encodings></adaptiveStream>

Traceback (most recent call last):
  File "./nexdef.py", line 402, in <module>
    ( hrs, min, sec ) = timestamp.split(':')
NameError: name 'timestamp' is not defined
I have this one fixed and checked in.

It appears the live games aren't including a streamHead element in the XML. That's only really necessary for archived games and live_from_start=True.

Still don't know what's up with the empty content lists, though.

I also suspect MLB's going to have a problem with Seattle-Chicago game because at the slice server level, there is no indicator of which game they are asking for. It appears only as:

Code:
http://abrlivec2.mlb.com/sliceserver/MLB_GAME_VIDEO_SEACHA_HOME_20090428
I suppose it's possible that the key generated matches one game or another since the request contains the content_id.
 
Old 04-28-2009, 07:06 PM   #1493
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Okay, I think I have a fix for the empty content list but I don't totally understand it.

It seems the nexdef media-state is now MEDIA_OFF which I was previously excluding back when we were having JiBX marshalling errors. Since I wasn't looking for anything but MEDIA_DONE, MEDIA_ARCHIVE, or MEDIA_ON, I was returning an empty content list (e.g. no content in a playable state.)

I don't understand why these are marked as MEDIA_OFF unless they really were having Swarmcast network issues and wanted to tell the Flash player not to use the Swarmcast network. Which could still very well be the case.

I'm still at work so all I can do is verify that mplayer latched onto a stream and that Nexdef control tells me which stream it latched onto.

I can't tell you anything about the quality of that stream except that I'm not getting anything above 1200 at the moment.

Still, the fix is checked in and you all can test it with the caveat that, "there may be a reason MLB.com set these to OFF."

Last edited by daftcat; 04-28-2009 at 07:08 PM.
 
Old 04-28-2009, 07:10 PM   #1494
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
Okay, I think I have a fix for the empty content list but I don't totally understand it.

It seems the nexdef media-state is now MEDIA_OFF which I was previously excluding back when we were having JiBX marshalling errors. Since I wasn't looking for anything but MEDIA_DONE, MEDIA_ARCHIVE, or MEDIA_ON, I was returning an empty content list (e.g. no content in a playable state.)

I don't understand why these are marked as MEDIA_OFF unless they really were having Swarmcast network issues and wanted to tell the Flash player not to use the Swarmcast network. Which could still very well be the case.

I'm still at work so all I can do is verify that mplayer latched onto a stream and that Nexdef control tells me which stream it latched onto.

I can't tell you anything about the quality of that stream except that I'm not getting anything above 1200 at the moment.

Still, the fix is checked in and you all can test it with the caveat that, "there may be a reason MLB.com set these to OFF."
Even in the flash player, there are several games that say "media error, this is temporarily unavailable, please try again in a few minutes" or something, so it is an MLB problem, and not just nexdef either, these games are unavailable for some reason.
 
Old 04-28-2009, 07:16 PM   #1495
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by daftcat View Post
I have this one fixed and checked in.
Thanks! Up and running again.
 
Old 04-28-2009, 07:23 PM   #1496
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Oh, by the way, congrats everyone on 100 pages.
 
Old 04-28-2009, 07:28 PM   #1497
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by poorboywilly View Post
Even in the flash player, there are several games that say "media error, this is temporarily unavailable, please try again in a few minutes" or something, so it is an MLB problem, and not just nexdef either, these games are unavailable for some reason.
The strange thing is that these games were available yesterday. I can't check any games from work but I know I've been testing the Bos-Cle game yesterday and this morning and it's one that's been marked with media_off now.

My testing, at least remotely, seems to indicate that these streams really are available but mlb.com has marked them as unavailable.

The media error or temporarily unavailable errors you are seeing in the flash player may very well be the player reacting to the media_off state in the SOAP content replies. As I said, they may be doing some maintenance or something on those servers and so they are purposely diverting traffic off of them.

Wouldn't it be great if they are doing a Swarmcast upgrade to improve the performance of the dropped and downshifted streams?

If that's the case, I kind of feel guilty letting you guys pound on 'em when they might have a valid reason for turning us away.

Of course, they should really do this crap in the middle of the night so I have less sympathy.

Maybe I'll add a config file option, ignore_media_off so those of you who are truly evil and addicted to baseball can pound away and the majority of the sourceforge users who probably won't show up in this thread once my code is released will play by "the rules."
 
Old 04-28-2009, 07:29 PM   #1498
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Theophile View Post
Oh, by the way, congrats everyone on 100 pages.
Couldn't have done it without you.
 
Old 04-28-2009, 07:31 PM   #1499
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I wonder whatever happened to Fugazi? (the thread starter, not the punk band.)
 
Old 04-28-2009, 07:32 PM   #1500
jeremybub
LQ Newbie
 
Registered: Apr 2009
Posts: 26

Rep: Reputation: 16
Are the streams that rtmpdump is dumping unplayable in mplayer, or is it just too much cpu load, or lag, or whatever?

like, if you save an rtmpdump stream could you play it back with mplayer later, or would you need to transcode it.
 
  


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