LinuxQuestions.org
Visit Jeremy's Blog.
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 05-13-2009, 09:23 PM   #1801
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15

i am having sync issues. the audio is about a second ahead of the video. is there a way to adjust this?

the 1200k feed seems to be synced, but the 2200k is off by a bit. this is not the case with the official mlbplayer, so i know my hardware (core2duo 2.8ghz) and line (20/20 fios) is good enough to handle the stream.

Last edited by bosox; 05-13-2009 at 09:43 PM.
 
Old 05-13-2009, 09:41 PM   #1802
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by bosox View Post
i am having sync issues. the audio is about a second ahead of the video. is there a way to adjust this?
I have the same problem from time to time. I suspect it is stream related and I've never found a cure. Daftcat suggested using ( I think, I've got so many commented out video_player= in my file, that I not sure it is exactly what he recommenced, except it had the -autosync string in it)

Code:
video_player=mplayer -cache 4096 -autosync 30 -really-quiet %s
in the config file but it didn't help any.

Today, everything is fine. At times the audio must be be 2-3 seconds ahead but normally like you, I get the approximate one second thingie.
 
Old 05-13-2009, 09:56 PM   #1803
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
Quote:
Originally Posted by Wolfvorkian View Post
I have the same problem from time to time. I suspect it is stream related and I've never found a cure. Daftcat suggested using ( I think, I've got so many commented out video_player= in my file, that I not sure it is exactly what he recommenced, except it had the -autosync string in it)

Code:
video_player=mplayer -cache 4096 -autosync 30 -really-quiet %s
in the config file but it didn't help any.

Today, everything is fine. At times the audio must be be 2-3 seconds ahead but normally like you, I get the approximate one second thingie.
mine had no -autosync in it, and a smaller cache, so i am trying yours now.

EDIT: still off by about a second.

i would really like to get it up and running with vlc, but haven't had any luck so far. i have the newest stable build of vlc installed, but videolan also provides nightly builds for os x, so i can try that as well.

what is the video_player= supposed to say for vlc? i have to read up on that i guess, because putting in =VLC gives me all kinds of errors. i think i need to use cvlc or something like that, but i am still figuring this out. if anyone has it working with vlc, please share!

by the way, do you see 3000k streams anymore? they seem to have been gone for weeks now...

Last edited by bosox; 05-13-2009 at 09:58 PM.
 
Old 05-13-2009, 09:56 PM   #1804
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Sometimes pausing and resuming clears this up. Sometimes it's just a stream issue.

My mistake. The stream selection went in AFTER the official release. Well, this ought to be exciting for new users when I get the next release posted (hoping on Monday) that has both stream selection and jump to innings.

Since you just updated mlbviewer with svn, you can use that one instead to get both the stream selection screen and the jump to innings feature. To jump to innings, instead of pressing <enter> to select a game, you will press 'i' (i for innings.) The onscreen instructions should be clear enough.

And yeah, you can try adding -autosync 30 to your video_player or you can try skipping back and forth from one stream to the other (e.g. going from 1200 to 2200) you might get a good sync again. I don't know for sure.
 
Old 05-13-2009, 10:09 PM   #1805
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
those are two great new features! i still have to work on this more (and follow your post from earlier), but besides for the sync issue, this is so much better than the official player. despite having new hardware, fast pipe, etc., i can never seem to get smooth playback with official. this way it is smooth as butter!

but, i guess sync is pretty important :P

i just wish they would put the 3000k stream back. it makes a huge difference on a big screen.

now back to playing with vlc...
 
Old 05-13-2009, 10:20 PM   #1806
bosox
Member
 
Registered: May 2009
Posts: 53

Rep: Reputation: 15
how does the innings feature work with extra innings? i am playing with it now for today's mets/braves game, and i can't seem to get it to work. how do you use the "E"?
 
Old 05-14-2009, 01:31 AM   #1807
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
Quote:
Originally Posted by bosox View Post
those are two great new features! i still have to work on this more (and follow your post from earlier), but besides for the sync issue, this is so much better than the official player. despite having new hardware, fast pipe, etc., i can never seem to get smooth playback with official. this way it is smooth as butter!

but, i guess sync is pretty important :P

i just wish they would put the 3000k stream back. it makes a huge difference on a big screen.

now back to playing with vlc...
you inspired me! I thought i would be too difficult to get mlbviewer running in leopard, but it was actually pretty straightforward. I am not having any sync issues at all watching an archived game and it's playing real smoothly. once you have developer tools in leopard you can pretty much treat it like any linux distro, and macports gives you anything else you may need. and all this time I was running ubuntu in vmware just cause i didn't think I could do it leopard!
 
Old 05-14-2009, 01:33 AM   #1808
chomiak
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Rep: Reputation: 15
Got video; solved fbdev error; video questions

After I got live games working with nexdef, I found out I still had no video. I also got /dev/fb: no such file or directory errors when loading mp4 files and they wouldn't play. I finally figured out I had to have a vga value in my grub menu.lst, which was vga=791 for my thinkpad t23. Now video works; sighted people tell me the resolution is good and that the audio and video appear to be syncing well (I'm using -autosync 30). -really quiet is also a must for me. I'm told the video uses the top left quadrant of my screen. I'm running mlbviewer from a text console; can I get the video to take up more of the screen? Do I have to run the program in gnome-terminal instead of a console to do this or get another video driver to load or what would I need to do? I'm really glad now that I stuck with this!!!
Btw I mentioned in an earlier post that I could also use vlc; don't know if video was working or not; willhave to run it that way with a sighted person here. I did notice that it had a tendency to get choppy and intermittent in sound and then quit on me after a while; haven't played with that more since mplayer is working so well for me.
 
Old 05-14-2009, 02:02 AM   #1809
chomiak
LQ Newbie
 
Registered: Apr 2009
Posts: 28

Rep: Reputation: 15
bout %s in player command

I see the instructions to put %s at the end of player commands. I understand this because I use %s in my ~/..mailcap. However, it doesn't appear that I need to put %s in my config file. Is there a reason why I don't need the %s or am I misunderstanding something?
 
Old 05-14-2009, 03:12 AM   #1810
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by chomiak View Post
I see the instructions to put %s at the end of player commands. I understand this because I use %s in my ~/..mailcap. However, it doesn't appear that I need to put %s in my config file. Is there a reason why I don't need the %s or am I misunderstanding something?
You don't need %s. It's merely a convenience for those who want something other than the default, which is to append the url to the end. For instance, in the past, people have used -dumpstream to record the game and so I support both %s and %f so users could setup a proper command-line and have mlbviewer expand those tokens to a stream url and a filename.

For the video, I really don't know because I don't use the framebuffer for video. You could try it in gnome console with the xv video output:

Code:
video_player=mplayer -vo xv -cache 4096 -autosync 30 -really-quiet
But it may be that if you have setup grub to boot with vga support on the console, you may be stuck using framebuffer for X. I think that used to be a limitation, but I'm not sure it still is. You could also try setting the vga mode in grub to 800x600 which is close to what the streams are. I think the streams are actually 800x450. I don't remember what the vga line is to get this to work.
 
Old 05-14-2009, 03:20 AM   #1811
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
how does the innings feature work with extra innings? i am playing with it now for today's mets/braves game, and i can't seem to get it to work. how do you use the "E"?
I don't actually have extra innings working yet. Short answer.

Longer answer is that even if I fix it today, you'd only be able to jump to the 10th inning. There's two issues. One is the line score graphic would need to be rewritten to support extra frames and the other is that the internal data structure would need to be more complex than it is. I decided it's just better to jump to bottom of 9th for extra inning games until I have the time to rewrite the code.
 
Old 05-14-2009, 03:24 AM   #1812
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by bosox View Post
those are two great new features! i still have to work on this more (and follow your post from earlier), but besides for the sync issue, this is so much better than the official player. despite having new hardware, fast pipe, etc., i can never seem to get smooth playback with official. this way it is smooth as butter!

but, i guess sync is pretty important :P

i just wish they would put the 3000k stream back. it makes a huge difference on a big screen.

now back to playing with vlc...
It's there on some games, mostly the HD games, but at least now you can see the list of streams available to you.

I have seen:

164
400
600
800
1200
1500
1800
2200
3000

I might have even seen a 2500.

So it's not easy to map these to the seven quality bars in the flash player. But I actually like knowing when I select a stream exactly what bps I can expect. At work, especially, I like to keep it to 164 or 400 just to keep IT from coming by my cube.
 
Old 05-14-2009, 08:15 AM   #1813
eveostay
LQ Newbie
 
Registered: Apr 2008
Posts: 12

Rep: Reputation: 0
I got a "Community Bulletin" from LinuxQuestions today. In it, I found this:

Quote:

-- Threads with the most replies --

Title: "MLB.TV in Linux" (Date Posted 04-06-2006 by Fugazi)
o 1796 Replies, 102357 Views, Last Post: 07:51 PM, 05-13-2009 by daftcat
o http://www.linuxquestions.org/questi...d.php?t=432479
Congratulations!

Last edited by eveostay; 05-14-2009 at 08:15 AM. Reason: typo
 
Old 05-14-2009, 10:24 AM   #1814
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
MLB.com playing fast and loose with the SOAP protocol

Damnit! They added another several fields to the SOAP response without adding it to the schema definition file. So if you're having "wtf!" errors (okay, I don't actually have "wtf!" on the screen but that's the new name for the "Uncaught error"), I'm on it and you can expect a patch soon.
 
Old 05-14-2009, 10:45 AM   #1815
TheDevilWearsPravda
LQ Newbie
 
Registered: Apr 2009
Posts: 17

Rep: Reputation: 0
Quote:
Originally Posted by daftcat View Post
Damnit! They added another several fields to the SOAP response without adding it to the schema definition file. So if you're having "wtf!" errors (okay, I don't actually have "wtf!" on the screen but that's the new name for the "Uncaught error"), I'm on it and you can expect a patch soon.
Thank goodness! I had a game start giving uncaught errors in the middle of the stream. Stream cut off right before Horacio Ramirez could throw his first pitch. Maybe that's a good thing?
 
  


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 08:06 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