LinuxQuestions.org
Visit Jeremy's Blog.
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 06-11-2009, 07:33 PM   #2086
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15

Quote:
Originally Posted by poorboywilly View Post
NP. stdout.py made it a cinch once I realized it was an unexpected element in the xml

It looks like MOBILE and WEB_MEDIAPLAYER are the only "platforms" so far, but I was loathe to add these as the only options in the schema because as soon as MLB adds a different platform than we have another validation error. Hhaving the "platform" may make it easier for you to sort out which streams are useful to us though.
Thanks poorboy. Because of you, I had it fixed before Straycat pounced on it with his official upgrade. Can't get better service anywhere than here with Mlbviewer and the price is right.

Question to anyone. How can I cut a small sector out of game downloaded or in this case... I got one inning only and want to further reduce the file size? I got an argument going about a play and I want to send this guy "my proof". so he can watch it and then have to say "uncle".

I tried using a movie editor called Cinelerra and it doesn't like MPEG-4's or whatever the format, codec.... don't know what the proper terminology is.
 
Old 06-11-2009, 07:59 PM   #2087
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
Ah, yes, there is a blackout period that extends until the game is archived for in-market games. For out-of-market games, you can use the innings interface at any time during and after the game.
doesn't work for me. once the game is over i cannot start it for a few hours usually. i just tried again for the 4pm games and they all give the error that the the feed is not yet available. perhaps mlbam changed something, but that thread i linked to explains it i think.

anyway no big deal!
 
Old 06-11-2009, 09:12 PM   #2088
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
i just updated to 210 and am STILL getting that same error from last night's rangers game. it is not a big deal, but it is nonetheless strange. all other games play fine for me, but i get this error for both the home and away feed on that one game.
Do you have the Rangers as a video or audio follow team?
 
Old 06-11-2009, 09:16 PM   #2089
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Wolfvorkian View Post
Thanks poorboy. Because of you, I had it fixed before Straycat pounced on it with his official upgrade. Can't get better service anywhere than here with Mlbviewer and the price is right.

Question to anyone. How can I cut a small sector out of game downloaded or in this case... I got one inning only and want to further reduce the file size? I got an argument going about a play and I want to send this guy "my proof". so he can watch it and then have to say "uncle".

I tried using a movie editor called Cinelerra and it doesn't like MPEG-4's or whatever the format, codec.... don't know what the proper terminology is.
I know in Windows you could use Any Video Converter.

I know you can limit playback to a certain start and end time in mplayer but I don't know if you could export that playback to a file. You could probably do it with mencoder but I don't know what the magic flags would be. I think there's one that says copy the input and output codecs so it doesn't actually do any transcoding. Wish I could be of more help.
 
Old 06-11-2009, 10:15 PM   #2090
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
Do you have the Rangers as a video or audio follow team?
nope!

just tried to put on sox game (do have follow set for that) and no luck. says feed not available. so i am pretty sure you have to wait for the "archive" once the game ends. unfortunate!
 
Old 06-12-2009, 08:21 AM   #2091
CubsFanUK
LQ Newbie
 
Registered: Mar 2009
Posts: 18

Rep: Reputation: 0
Probably doesn't help much, and may be just me getting myself confused, but what seems to have been happening for me (admittedly not using mlbviewer, but using my own customised Java) is that, if I have sent the describe request to autobahn before the game ends then I am still able to start the stream (as an archive) after the game has finished, but, once the game has finished (and MLB have decided to block the archive) sending the describe request no longer works until MLB release the archive.

What I'm trying to say is that if you start watching a game before it has ended (using autobahn) then it may be the case that you can continue watching it throughout the otherwise blocked period between the end of the game and the archive being unblocked.
 
Old 06-12-2009, 10:50 AM   #2092
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by Wolfvorkian View Post
Thanks poorboy. Because of you, I had it fixed before Straycat pounced on it with his official upgrade. Can't get better service anywhere than here with Mlbviewer and the price is right.

Question to anyone. How can I cut a small sector out of game downloaded or in this case... I got one inning only and want to further reduce the file size? I got an argument going about a play and I want to send this guy "my proof". so he can watch it and then have to say "uncle".

I tried using a movie editor called Cinelerra and it doesn't like MPEG-4's or whatever the format, codec.... don't know what the proper terminology is.
That's going to be your problem I think, is that for whatever reason these FLV streams we get are not well supported yet by any software (as far as I have seen). If you have a recent build of ffmpeg, you can pull something like
Code:
ffmpeg -i in-file.ext -vcodec copy -acodec copy -ss 00:01:02 -t 00:03:04 out-file.ext
This will take in-file.ext, copy the codecs, skip the first 1 minute and 2 seconds and use the next 3 minutes and 4 seconds to put a video in the file out-file.ext. You should name the output file .flv, .mp4, or .mkv, because a lot of the other containers can't hold the h264 video.
 
Old 06-12-2009, 11:24 AM   #2093
dvan
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
No audio

Linux newbie here.

It took me a while but I finally got the mlbviewer working. The video is awesome. But I'm not getting any audio.

I'm using Ubuntu Intrepid it may not have the right codec but I'm not sure how to check. To get the video going I had to install the XV development files, Is there anything like that I have to install for the Audio?

Also I'm looking to install the rtmpdump, but it looks like it's no longer available from SoureForge. Is there another place to get it?

Last edited by dvan; 06-12-2009 at 02:09 PM.
 
Old 06-12-2009, 03:20 PM   #2094
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by CubsFanUK View Post
Probably doesn't help much, and may be just me getting myself confused, but what seems to have been happening for me (admittedly not using mlbviewer, but using my own customised Java) is that, if I have sent the describe request to autobahn before the game ends then I am still able to start the stream (as an archive) after the game has finished, but, once the game has finished (and MLB have decided to block the archive) sending the describe request no longer works until MLB release the archive.

What I'm trying to say is that if you start watching a game before it has ended (using autobahn) then it may be the case that you can continue watching it throughout the otherwise blocked period between the end of the game and the archive being unblocked.
yes i believe this is correct. the "links" are removed once the game ends. if you are already watching you are fine. otherwise you are SOL until the archive is posted.
 
Old 06-12-2009, 05:24 PM   #2095
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by dvan View Post
Linux newbie here.

[snip]

Also I'm looking to install the rtmpdump, but it looks like it's no longer available from SoureForge. Is there another place to get it?
Try here.

http://tinyurl.com/mwmzh3
 
Old 06-12-2009, 05:46 PM   #2096
Moon
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by dvan View Post
Linux newbie here.

It took me a while but I finally got the mlbviewer working. The video is awesome. But I'm not getting any audio.

I'm using Ubuntu Intrepid it may not have the right codec but I'm not sure how to check. To get the video going I had to install the XV development files, Is there anything like that I have to install for the Audio?

Also I'm looking to install the rtmpdump, but it looks like it's no longer available from SoureForge. Is there another place to get it?
As I understand it, the codecs used are provided by the statically-embedded ffmpeg within your compiled mplayer, so you should be OK on that score.

My guess is you'll need one or both of a) the ALSA development files and/or b) the PulseAudio development files (IIRC, Ubuntu is a Pulse-using distro). In fact, apt-getting just the latter might even pull in the former as well. Then rebuild mplayer, and you should be good to go.

As for rtmpdump, earlier on in this thread I saw links to a couple of sites where it was being mirrored; they shouldn't be hard to find, and hopefully at least one of the links still works.

@daftcat:

Well, I think I worked out how to downgrade the ffmpeg bits of mplayer r29311 to their formerly-current revisions; I changed into each ffmpeg dir in turn (libavformat, libavutil, libavcodec, and libpostproc) and ran this:

svn up -r 18852

This appears to have reverted their contents to the revision that, AFAICT, was current back when mplayer was at r29311. I then moved back to the main mplayer-29311 dir, and proceeded with the ./configure step.

The resultant mplayer binary does seem more stable than the one that the fully-up-to-date mplayer svn code produces, with less frequent crashes and a higher likelihood that the stream will initialize properly on the first or second try (i.e with video, as opposed to just audio and a black window where the video ought to be).

On the latter score, I was intrigued by Bosox's better luck with the gl2 mplayer output than the xv one on his 64-bit box, so I tried "-vo gl2" here on my 32-bit one (h/w is 64, o/s & apps are 32). It uses noticeably more CPU, but it's also made the single biggest improvement in getting the streams to start up properly. Odd, since both the distro-stock mplayer and either of my two compiled ones (r29311 & current svn) can use xv quite nicely when playing absolutely anything else at all, but using xv with MLB's streams - especially the 3000K ones - seems to not work at all about nine times out of ten; with gl2, it's more like 3 out of 10 launches that are no-gos. BTW, running onboard NVidia 6100 here, w/ the proprietary driver (rev. 180.51), h/w accel works OK.

Strange end to the Royals game last night, eh? If it's any consolation, Crispy had a much better chance of catching that ball on the ricochet off the seagull than he ever would have had of gunning down the runner at the plate with it afterwards. Love the guy's glove, but you're so right about his arm, it's weaker than O'Douls.
 
Old 06-12-2009, 05:51 PM   #2097
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by poorboywilly View Post
That's going to be your problem I think, is that for whatever reason these FLV streams we get are not well supported yet by any software (as far as I have seen). If you have a recent build of ffmpeg, you can pull something like

[snip]
Thank you, I hope I can get it to work. I did try mencoder last night but being I don't know what I'm doing, didn't have any luck.

If I can get ffmpeg to do as you described above, that'll be enough for me to be able to have some fun. Silly baseball stuff but that is much of the fun of being a fan. Couple of the guys on the White Sox list are ump bashers and for years now we've had our good-natured disagreements. My position is they do a hell of job considering they get one split second chance to make the call and the other two claim they always screw up. So a little evidence like all the tv shots of a certain play we are disagreeing on can advance my point. Silly way to waste time but again, it is fun.

The jump-to-inning feature of Mlbviewer makes this fairly painless in that you don't have to capture a whole game just the half inning the play happened but even the file size for that short of portion of a game is pretty large.
 
Old 06-13-2009, 02:30 PM   #2098
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by Wolfvorkian View Post
Silly baseball stuff but that is much of the fun of being a fan. Couple of the guys on the White Sox list are ump bashers and for years now we've had our good-natured disagreements. My position is they do a hell of job considering they get one split second chance to make the call and the other two claim they always screw up. So a little evidence like all the tv shots of a certain play we are disagreeing on can advance my point. Silly way to waste time but again, it is fun.
I totally agree. For the amount of calls they have to make, they get the vast majority right. The fact that it's hard to tell some of the calls even in slow motion replay tells you how hard it is, plus I think that many of the calls that are botched it's because something happens that blocks the ump's view of a tag.
 
Old 06-13-2009, 06:10 PM   #2099
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by Moon View Post
On the latter score, I was intrigued by Bosox's better luck with the gl2 mplayer output than the xv one on his 64-bit box, so I tried "-vo gl2" here on my 32-bit one (h/w is 64, o/s & apps are 32). It uses noticeably more CPU, but it's also made the single biggest improvement in getting the streams to start up properly. Odd, since both the distro-stock mplayer and either of my two compiled ones (r29311 & current svn) can use xv quite nicely when playing absolutely anything else at all, but using xv with MLB's streams - especially the 3000K ones - seems to not work at all about nine times out of ten; with gl2, it's more like 3 out of 10 launches that are no-gos. BTW, running onboard NVidia 6100 here, w/ the proprietary driver (rev. 180.51), h/w accel works OK.
me?? what is your video_player string in its entirety? currently i am using "video_player=mplayer -cache 4096 -autosync 30 -really-quiet %s" with no issues for the most part. i get only audio with "-vo gl2". any idea why?


by the way, the crash when switching from 3000 to 2200 seems to have somehow resolved itself -- can anyone still replicate that issue?
 
Old 06-14-2009, 12:32 PM   #2100
knappster
Member
 
Registered: Mar 2004
Posts: 175

Rep: Reputation: 30
I haven't used mlbviewer for quite a while, so last night I built mplayer from source (MPlayer SVN-r29359-4.3.2) and updated rtmpdump to v1.6. I have had some issues with mplayer crashing so I set the bitrate down to 2200000 instead of 3000000. Anyway, it appears that any time it is getting video from nexdef the audio is way out of sync from the video. Several seconds ahead, and if there is any video stutter, the audio keeps going and gets even farther ahead. If I am using the flash player (even at 1200000 bps) the audio and video stay in sync.

Any thoughts on ways to keep the audio and video in sync on HD streams, or how to even start debugging it? Thanks.

edit: BTW, I am using v0.1alpha12 for mlbviewer
edit again: My problems with audio sync seem to be whenever nexdef is enabled rather than just certain bitrates. I am also experiencing mplayer crashes at any bitrate when nexdef is enabled, but so far I have not had any crashes with nexdef disabled.

Last edited by knappster; 06-14-2009 at 01:16 PM.
 
  


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 02:52 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