LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-02-2010, 01:43 PM   #2296
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15

thanks for your reply!

unfortunately it didn't help. i had no favorite team in my config file to begin with.

thanks so much though!
markus
 
Old 03-02-2010, 02:36 PM   #2297
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
It's not a favorite team issue. I use the variable name myteam when selecting between home and away feed.

What's really going on is that event IDs are not in the listings yet.

As I have posted twice already, don't expect mlbviewer to work on the first day. Unlike the MLB.TV developers, I have no idea what changes will come this season. On top of that, whatever they do in Spring Training may not be what they go with for the regular season.

So let me put it another way. If you are a newbie, I don't recommend mlbviewer until sometime in April when I have had a chance to see what they'll do to make my life more interesting.

For the more experienced mlbviewer users, I'd appreciate your testing and debug efforts. If someone can Firebug the MLB.com pages and flash player to find out where they are getting event-id because it is not in the grid.xml file.
 
Old 03-02-2010, 03:14 PM   #2298
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
hi daftcat,

i am afraid you got me wrong. i love the hard work and time you put into mlbviewer and in keeping up to date every time mlb.com tries to do something new!

my post was just to guess whether i had done something wrong in reinstalling mlbviewer, whether it was due to my new subscription going from premium to basic, or whether mlb.tv had changed things.

i really really appreciate everything you do for and with this project!
thanks,
markus
 
Old 03-02-2010, 03:33 PM   #2299
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by daftcat View Post
For the more experienced mlbviewer users, I'd appreciate your testing and debug efforts. If someone can Firebug the MLB.com pages and flash player to find out where they are getting event-id because it is not in the grid.xml file.
I think it's still there. I'm looking at the grid.xml file for today, and neither the Pirates game nor the Tigers game has a value (just an empty string), but for the Braves/Mets game (which has audio and video) there is a calendar_event_id of "14-276991-2010-03-02" on the "game" element. The games without a calendar_event_id also have media_state="media_dead". That's probably a great way to weed out which games should not be processed any further.

It looks like the identifiers for the stream types changed, here's the ones shown on the Braves/Mets game:
FLASH_1200K_800X448
FLASH_128K_256X144
FLASH_500K_400X224
FLASH_800K_400X448
AUDIO_FMS_32K

Other than that grid.xml looks the same as the end of last year. Now, it's entirely possible that other files have changed, especially the web service stuff (which I haven't examined at all).
 
Old 03-02-2010, 03:46 PM   #2300
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
I see a few edits I'll need to make tonight. calendar-event-id is present for the ATL-NYM game which is the only "televised" game but it's not being passed up through the listings code. I'll have to relax some checks and put in some new ones like I did last spring to handle the limited coverage. Hopefully they will archive that game.

Markus, I would have been shocked and awed if it worked the first day with no edits. Just as it takes the players Spring Training and into April to find their groove, so it will be with mlbviewer (and MLB.TV service in general if past experience counts for anything.) Just be patient and subscribe to this thread (if you haven't already.) When I have some working code available, I'll post a message here. Have you used svn for getting mlbviewer edits before? I probably won't update the official Sourceforge release until mid-April.
 
Old 03-02-2010, 03:49 PM   #2301
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Good eyes, poorboywilly. I hadn't noticed the changed stream id's but I probably would have figured that out once I got past the listings problem.

I'll likely have something in svn later tonight.
 
Old 03-02-2010, 11:41 PM   #2302
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
SVN revision 216: Good luck!

I swear I saw this game archived earlier today. Maybe they changed their minds.

This revision:

-fixes the missing calendar-event-id
-selecting game media might work for playback
-fixed media availability flags for 2010 Spring Training
-there is no nexdef in spring training according to mlb.com

Playing games (audio or video) probably won't work yet.

If it doesn't work, please don't tell me it doesn't work unless you're providing me with new information.

I don't expect things to work for awhile and there's little I can do about it (until they archive games) without your debug efforts while the games are in progress. I likely won't have any time to look at "In Progress" games until the weekend.

By the way, no attempt is being made at backwards compatibility yet. If you 'svn up' to these revisions, you won't be able to watch last year's games. I will work on backwards compatibility later.

Last edited by daftcat; 03-03-2010 at 09:31 AM. Reason: Included rev 217 and rev 218 changes
 
Old 03-03-2010, 02:11 AM   #2303
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
According to the support forums, NexDef will not be supported during Spring Training.

In all likeliness, they'll roll out a limited beta (one or two games a day) in the last week of Spring Training.

At least, I can cross that off my list of concerns for a week or three.
 
Old 03-03-2010, 12:18 PM   #2304
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Hot damn! It actually works!

Standard definition video and audio. No nexdef in Spring Training so you might as well change use_nexdef to False in your config file.

Expect more bugs as the developers get warmed up this Spring Training.
 
Old 03-03-2010, 12:21 PM   #2305
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
Markus, I would have been shocked and awed if it worked the first day with no edits. Just as it takes the players Spring Training and into April to find their groove, so it will be with mlbviewer (and MLB.TV service in general if past experience counts for anything.) Just be patient and subscribe to this thread (if you haven't already.) When I have some working code available, I'll post a message here. Have you used svn for getting mlbviewer edits before? I probably won't update the official Sourceforge release until mid-April.
thanks for the reply, daftcat!

i am using svn to get updates on mlbviewer and did one today. thanks for working on it yesterday - both to poorboywilly and you!

so now i have another question, because mlbviewer will not play any games unless i have rtmpdump installed. does anyone have the patience to help me with installing rtmpdump? i am still a linux newbie, so...

i downloaded a torrent with older rtmpdump versions, so i have the requested rtmpdump 1.5. when i login as root and go to the folder where rtmpdump is located, i type

Quote:
make rtmpdump
make streams
as it tells me in the readme.

it then goes like this:

Quote:
root@kom:/home/mrks/Programme/rtmpdump/rtmpdump# make rtmpdump
g++ -Wall -c -o bytes.o bytes.cpp
g++ -Wall -c -o log.o log.cpp
g++ -Wall -c -o rtmp.o rtmp.cpp
In file included from rtmp.h:43,
from rtmp.cpp:36:
dh.h:21:24: error: openssl/bn.h: No such file or directory
dh.h:22:24: error: openssl/dh.h: No such file or directory
dh.h:24:25: error: openssl/sha.h: No such file or directory
dh.h:25:26: error: openssl/hmac.h: No such file or directory
dh.h:26:25: error: openssl/rc4.h: No such file or directory
In file included from rtmp.h:43,
from rtmp.cpp:36:
dh.h:30: error: ‘BIGNUM’ was not declared in this scope
dh.h:30: error: ‘y’ was not declared in this scope
dh.h:30: error: ‘BIGNUM’ was not declared in this scope
dh.h:30: error: ‘p’ was not declared in this scope
dh.h:30: error: ‘BIGNUM’ was not declared in this scope
dh.h:30: error: ‘q’ was not declared in this scope
dh.h:30: error: initializer expression list treated as compound expression
dh.h:31: error: expected constructor, destructor, or type conversion before ‘*’ token
dh.h:32: error: ‘DH’ was not declared in this scope
dh.h:32: error: ‘dh’ was not declared in this scope
dh.h:33: error: ‘DH’ was not declared in this scope
dh.h:33: error: ‘dh’ was not declared in this scope
dh.h:33: error: expected primary-expression before ‘*’ token
dh.h:33: error: ‘pubkey’ was not declared in this scope
dh.h:33: error: expected primary-expression before ‘nPubkeyLen’
dh.h:33: error: initializer expression list treated as compound expression
dh.h:34: error: ‘DH’ was not declared in this scope
dh.h:34: error: ‘dh’ was not declared in this scope
dh.h:34: error: expected primary-expression before ‘*’ token
dh.h:34: error: ‘privkey’ was not declared in this scope
dh.h:34: error: expected primary-expression before ‘nPrivkeyLen’
dh.h:34: error: initializer expression list treated as compound expression
dh.h:35: error: ‘DH’ was not declared in this scope
dh.h:35: error: ‘dh’ was not declared in this scope
dh.h:35: error: expected primary-expression before ‘*’ token
dh.h:35: error: ‘pubkey’ was not declared in this scope
dh.h:35: error: expected primary-expression before ‘nPubkeyLen’
dh.h:35: error: expected primary-expression before ‘*’ token
dh.h:35: error: ‘secret’ was not declared in this scope
dh.h:35: error: initializer expression list treated as compound expression
dh.h:36: error: variable or field ‘DHFree’ declared void
dh.h:36: error: ‘DH’ was not declared in this scope
dh.h:36: error: ‘dh’ was not declared in this scope
In file included from rtmp.cpp:36:
rtmp.h:94: error: ISO C++ forbids declaration of ‘DH’ with no type
rtmp.h:94: error: expected ‘;’ before ‘*’ token
rtmp.h:95: error: ISO C++ forbids declaration of ‘RC4_KEY’ with no type
rtmp.h:95: error: expected ‘;’ before ‘*’ token
rtmp.h:96: error: ISO C++ forbids declaration of ‘RC4_KEY’ with no type
rtmp.h:96: error: expected ‘;’ before ‘*’ token
rtmp.cpp: In member function ‘int RTMP_LIB::CRTMP::ReadN(char*, int)’:
rtmp.cpp:450: error: ‘struct RTMP_LIB::LNK’ has no member named ‘rc4keyIn’
rtmp.cpp:451: error: ‘struct RTMP_LIB::LNK’ has no member named ‘rc4keyIn’
rtmp.cpp:451: error: ‘RC4’ was not declared in this scope
rtmp.cpp: In member function ‘bool RTMP_LIB::CRTMP::WriteN(const char*, int)’:
rtmp.cpp:469: error: ‘struct RTMP_LIB::LNK’ has no member named ‘rc4keyOut’
rtmp.cpp:471: error: ‘struct RTMP_LIB::LNK’ has no member named ‘rc4keyOut’
rtmp.cpp:471: error: ‘RC4’ was not declared in this scope
make: *** [rtmp.o] Fehler 1
root@kom:/home/mrks/Programme/rtmpdump/rtmpdump#
same if i type "make streams"...
this is just the first step, i know. i haven't even asked about the patching yet, which i do not understand as well.

i am sorry, but any help would be really amazing!

thanks so much for now!
markus
 
Old 03-03-2010, 12:50 PM   #2306
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,766

Rep: Reputation: 76
Quote:
Originally Posted by itshardertotell View Post
thanks for the reply, daftcat!

i am using svn to get updates on mlbviewer and did one today. thanks for working on it yesterday - both to poorboywilly and you!

so now i have another question, because mlbviewer will not play any games unless i have rtmpdump installed. does anyone have the patience to help me with installing rtmpdump? i am still a linux newbie, so...

i downloaded a torrent with older rtmpdump versions, so i have the requested rtmpdump 1.5. when i login as root and go to the folder where rtmpdump is located, i type



as it tells me in the readme.

it then goes like this:



same if i type "make streams"...
this is just the first step, i know. i haven't even asked about the patching yet, which i do not understand as well.

i am sorry, but any help would be really amazing!

thanks so much for now!
markus
Looks like you need openssl-dev package. Consult your Linux distribution documentation on how to install this package.

Also, run the Patch.sh script before you compile rtmpdump.
 
Old 03-03-2010, 01:24 PM   #2307
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
Looks like you need openssl-dev package. Consult your Linux distribution documentation on how to install this package.

Also, run the Patch.sh script before you compile rtmpdump.
thanks. i got the openssl-dev package. now i need to run the patch.sh script... can someone please explain how to do this? i am learning, slowly...

thank you!
markus

(a paypal donation is in order, daftcat. how can it reach you?)
 
Old 03-03-2010, 01:28 PM   #2308
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by itshardertotell View Post
thanks. i got the openssl-dev package. now i need to run the patch.sh script... can someone please explain how to do this? i am learning, slowly...
The patch files are part of the mlbviewer files. Under the directory where you downloaded mlbviewer, there is a directory called "rtmpdump-patches". Simply enter this directory and type "./patch.sh" to run the script. This script will ask you where the rtmpdump sources are, enter the information requested. Then you can switch to the rtmpdump source directory and compile it as you were before.

Last edited by poorboywilly; 03-03-2010 at 01:31 PM. Reason: directions are simpler than I initially wrote
 
Old 03-03-2010, 01:41 PM   #2309
itshardertotell
Member
 
Registered: Aug 2008
Posts: 38

Rep: Reputation: 15
Quote:
Originally Posted by poorboywilly View Post
The patch files are part of the mlbviewer files. Under the directory where you downloaded mlbviewer, there is a directory called "rtmpdump-patches". Simply enter this directory and type "./patch.sh" to run the script. This script will ask you where the rtmpdump sources are, enter the information requested. Then you can switch to the rtmpdump source directory and compile it as you were before.
thanks so much, poorboywilly!

i successfully patched with your description, then i went to my rtmpdump directoryto run "make rtmpdump", but had this error come up. any ideas?

Quote:
mrks@kom:~/Programme/rtmpdump/rtmpdump$ make rtmpdump
g++ -Wall -c -o AMFObject.o AMFObject.cpp
In file included from AMFObject.cpp:34:
AMFObject.h:93: error: ‘int16_t’ does not name a type
AMFObject.cpp: In member function ‘int RTMP_LIB::AMFObjectProperty:ecode(const char*, int, bool)’:
AMFObject.cpp:493: error: ‘m_nUTCOffset’ was not declared in this scope
AMFObject.cpp: In member function ‘void RTMP_LIB::AMFObjectProperty:ump() const’:
AMFObject.cpp:584: error: ‘m_nUTCOffset’ was not declared in this scope
make: *** [AMFObject.o] Fehler 1

i feel like a spoiled brat asking his parents too many favors, but any help is really really appreciated!

thanks,
markus
 
Old 03-03-2010, 02:11 PM   #2310
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by itshardertotell View Post
thanks so much, poorboywilly!

i successfully patched with your description, then i went to my rtmpdump directoryto run "make rtmpdump", but had this error come up. any ideas?

i feel like a spoiled brat asking his parents too many favors, but any help is really really appreciated!
Don't worry about it, it's not a problem. Did you get version 1.5 of rtmpdump? IIRC that is the only version that will work.

int16_t is defined in "stdint.h". Try adding a line that reads "#include <stdint.h>" (without quotes) in the file AMFObject.cpp before the line that reads "#include "AMFObject.h", see if that gets it to compile correctly.
 
  


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


All times are GMT -5. The time now is 10:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration