Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Tried it, hated it... The video feed is just as bad as using the mlb flash version.. mlbviewer and mplayer is still the best!
That's not surprising since Boxee has a flash-based player and full-screen flash in Linux is still unaccelerated and ugly. The GUI is pretty solid, though.
I seem to be having the mplayer auto-close issue as well, as as soon as autobahn "glitches" (which of course it does pretty constantly) I get kicked out.
I'm using the latest mplayer (compiled yesterday) on Ubuntu 9.04 with the xv video drivers on a motherboard with Intel GMA3100 integrated graphics.
I also get kicked if I attempt to switch streams.
Is there some "magic" mplayer command that could prevent this or is it just the usual MLB.TV NexDef crappola issues?
I seem to be having the mplayer auto-close issue as well, as as soon as autobahn "glitches" (which of course it does pretty constantly) I get kicked out.
I'm using the latest mplayer (compiled yesterday) on Ubuntu 9.04 with the xv video drivers on a motherboard with Intel GMA3100 integrated graphics.
I also get kicked if I attempt to switch streams.
Is there some "magic" mplayer command that could prevent this or is it just the usual MLB.TV NexDef crappola issues?
Are you trying to use the 3000K stream before you get switched or kicked off?
I think it's the 3000K stream that gives most people grief. I don't have any words of wisdom on that stream since I don't have a 1080p capable system to test with.
Currently my audio while using MLBviewer goes out the PC speakers. I would like to have go to my "monitor" using the HDMI output, like the audio does while using firefox. Could I do this by a command in the config file? or somewhere else?
I'm thinking it's an audio output driver issue with mplayer. Have you tried using the alsa output, pulseaudio, oss, whichever is default for your distro?
Are you trying to use the 3000K stream before you get switched or kicked off?
I think it's the 3000K stream that gives most people grief. I don't have any words of wisdom on that stream since I don't have a 1080p capable system to test with.
I wish!
The most I get here out in the sticks in England is a pitiful 1200k.
Usually mlbviewer picks the 1200k or 800k stream for me, but as soon as it flicks over or I attempt to lock in a stream it crashes mplayer. If it DOES manage to flick over the audio and video gets hideously out of sync (10 secs+).
I read through this thread and complied a previous version of mplayer but that was just as bad, and since I've compiled it rtmpdump has stopped working.
I can live with the 800k stream but as I watch my baseball when I get up (as we're +5 hours over here) so need to flick through innings as I don't have three hours spare before I go to work!
Does anyone else here have mplayer issues with the lower speed streams?
I have sync issues with any nexdef stream, although I haven't watched any archived games. When I'm watching live games, I usually pause then resume as soon as the stream starts or it will be out of sync from the get go. Then every 5 minutes or so the video will start to stutter and unless I pause / resume again, the audio and video will get out of sync. If I am able to keep it sync'd up I don't usually have trouble with mplayer closing.
If I watch with nexdef disabled, then I don't have any trouble with sync or mplayer closing. Presumably you can't skip innings with nexdef disabled on archived games, though??
Quote:
Originally Posted by JackRubysDog
I wish!
The most I get here out in the sticks in England is a pitiful 1200k.
Usually mlbviewer picks the 1200k or 800k stream for me, but as soon as it flicks over or I attempt to lock in a stream it crashes mplayer. If it DOES manage to flick over the audio and video gets hideously out of sync (10 secs+).
I read through this thread and complied a previous version of mplayer but that was just as bad, and since I've compiled it rtmpdump has stopped working.
I can live with the 800k stream but as I watch my baseball when I get up (as we're +5 hours over here) so need to flick through innings as I don't have three hours spare before I go to work!
Does anyone else here have mplayer issues with the lower speed streams?
If I watch with nexdef disabled, then I don't have any trouble with sync or mplayer closing. Presumably you can't skip innings with nexdef disabled on archived games, though??
I don't have much luck with nexdef but I have ancient hardware and a relatively slow connection too. The only time I use nexdef is when I want the jump-to-inning feature and then I'm lucky if I can get through even a half-inning without a crash. But this doesn't bother me in the least as I'm more than happy with the 800 non-premium stream as it has been rock solid and I also am not interested in seeing the acne craters and zits on these guy's face. I almost never have breakdowns or sync problems with the 800 non-nexdef. I'll take the stability any day over the nexdef goodies.
What I would like to know is if there is any way with audio only using mplayer to use the keyboard to control the volume? IIRC, from an older post, it wasn't. Is there any way around this or do I have to keep a mixer loaded to change volume?
I seem to be having the mplayer auto-close issue as well, as as soon as autobahn "glitches" (which of course it does pretty constantly) I get kicked out.
I'm using the latest mplayer (compiled yesterday) on Ubuntu 9.04 with the xv video drivers on a motherboard with Intel GMA3100 integrated graphics.
I also get kicked if I attempt to switch streams.
Is there some "magic" mplayer command that could prevent this or is it just the usual MLB.TV NexDef crappola issues?
I've been having considerably fewer mplayer crashes and sync-drift issues lately, ever since I added "-hardframedrop" to my video_player string. As knappster mentioned, a quick pause-unpause is usually needed at first launch, and also again occasionally later on, whenever the video freezes but the audio continues - with hard frame dropping turned on, it seems to recover from these glitches rather than crash, and generally the audio has been staying in sync afterwards. This is with 3000K streams and mplayer rev. 29402 (built from svn that was current as of a couple of days ago), and also with the xv output (which had been giving me trouble previously).
I've been having considerably fewer mplayer crashes and sync-drift issues lately, ever since I added "-hardframedrop" to my video_player string. As knappster mentioned, a quick pause-unpause is usually needed at first launch, and also again occasionally later on, whenever the video freezes but the audio continues - with hard frame dropping turned on, it seems to recover from these glitches rather than crash, and generally the audio has been staying in sync afterwards. This is with 3000K streams and mplayer rev. 29402 (built from svn that was current as of a couple of days ago), and also with the xv output (which had been giving me trouble previously).
I'n currenly on:
mplayer -autosync 30 -cache 4096 -really-quiet
which ran the 1200 stream without a hitch last night for about twenty minutes (when I had to switch it off) so I'm more hopeful.
Pause-unpause doesn't fix sync issues for me. The audio and video simply restart as out-of-sync as they had been.
rtmpdump seems to have started working again. For live games or if I have the time I use the rtmpdump, but I need to use nexdef to skip.
Hi there, I would like to stream live games to my popcorn hour. I have attempted to read through all the posts but I might have missed something along the way. I have read some posts by daftcat and edouble312 on this subject but I have not found anything conclusive. Has anyone got the popcorn hour working with in sync audio/video? If so what are the settings which do the trick? In one of the posts this was mentioned but the claim was the audio was out of sync:
What I would like to know is if there is any way with audio only using mplayer to use the keyboard to control the volume? IIRC, from an older post, it wasn't. Is there any way around this or do I have to keep a mixer loaded to change volume?
I haven't found a way yet, but a partial solution might be to set the initial mplayer volume level to your preferred setting, with "-volume X" as part of your audio_player string (with X being between 1 and 100). Then, at least, you'd only need a mixer if you have to adjust it further.
If anyone knows of a way to get mplayer to show a video window even in the absence of actual video, that should be sufficient to allow normal keyboard volume control, I'd think. Anyone? Bueller?
Another approach would be to build in the GUI when you compile mplayer, and then use "gmplayer" rather than "mplayer" in your audio_player string ...
Well, I'm having numerous and annoying mplayer crashes, so I'm going to rebuild mplayer over the weekend after another couple of potential tricks I've thought of. I've tried using vlc but cannot get it to work.
Can anyone out there recommend a "minimum" revision of mplayer that I can use that doesn't seem to crash?
Incidentally, does mplayer log its crashes anywhere? I'd like to know what's going on.
I spent some time trying different things and I've got the popcorn hour playing mlb games with video and audio in sync. Here is the critical line from the mlbviewer config file:
So, it looks as if mplayer isn't crashing at all, it's simply closing as it's reached the end of the stream. I assume this is when NexDef "hitches" and stops buffering (or is it?). I've seen these "stops" in the flash player, but then the flash player doesn't close, it just waits and restarts when NexDef restarts.
Anyone know how to stop mplayer from "closing" when the stream stops for a second or two? And then continue? Or any other solution? I'm researching on the web but nothing helpful so far.
Traceback (most recent call last):
File "mlbviewer.py", line 1508, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.6/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 388, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
UnboundLocalError: local variable 'hd_available' referenced before assignment
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.