LinuxQuestions.org
Review your favorite Linux distribution.
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-25-2009, 04:49 PM   #2146
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35

Quote:
Originally Posted by raqball View Post
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.
 
Old 06-29-2009, 04:02 AM   #2147
JackRubysDog
Member
 
Registered: Feb 2009
Posts: 40

Rep: Reputation: 15
Hi

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?
 
Old 06-29-2009, 11:31 PM   #2148
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by JackRubysDog View Post
Hi

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.
 
Old 06-29-2009, 11:33 PM   #2149
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by dvan View Post
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?
 
Old 06-30-2009, 04:50 AM   #2150
JackRubysDog
Member
 
Registered: Feb 2009
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by daftcat View Post
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?
 
Old 06-30-2009, 08:15 AM   #2151
knappster
Member
 
Registered: Mar 2004
Posts: 175

Rep: Reputation: 30
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 View Post
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?
 
Old 06-30-2009, 06:53 PM   #2152
Wolfvorkian
Member
 
Registered: Sep 2007
Distribution: Arch
Posts: 108

Rep: Reputation: 15
Quote:
Originally Posted by knappster View Post

[snip]

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?
 
Old 06-30-2009, 07:16 PM   #2153
Moon
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by JackRubysDog View Post
Hi

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).

Last edited by Moon; 06-30-2009 at 07:18 PM.
 
Old 07-01-2009, 06:31 AM   #2154
JackRubysDog
Member
 
Registered: Feb 2009
Posts: 40

Rep: Reputation: 15
Quote:
Originally Posted by Moon View Post
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.
 
Old 07-01-2009, 08:28 AM   #2155
js102704
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 1
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:

video_player=mencoder %s -ovc copy -oac mp3lame -mc 0 -noskip -o baseball.avi

Thanks for the help.
 
Old 07-01-2009, 01:59 PM   #2156
Moon
LQ Newbie
 
Registered: May 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by Wolfvorkian View Post
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 ...
 
Old 07-02-2009, 02:40 AM   #2157
JackRubysDog
Member
 
Registered: Feb 2009
Posts: 40

Rep: Reputation: 15
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.
 
Old 07-02-2009, 08:07 AM   #2158
js102704
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 1
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:

video_player=mencoder %s -ovc copy -oac lavc -lavcopts acodec=ac3 -o /share/mlb.mkv -of lavf

The popcorn hour likes the audio in ac3 and the container to be mkv. I watched about 10 minutes of a game late last night and it all worked great.
 
Old 07-02-2009, 02:00 PM   #2159
JackRubysDog
Member
 
Registered: Feb 2009
Posts: 40

Rep: Reputation: 15
Right. Getting somewhere.

The "error" messages as mplayer "crashes" I'm getting is this:

[flv @ 0x885d100]skipping flv packet: type 18, size 141, flags 0
ds_fill_buffer: EOF reached (stream: video)
A:53416.3 V:53415.9 A-V: 0.453 ct: 0.007 0/ 0 19% 2% 1.6% 46 0 5% EOF code: 1

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.
 
Old 07-06-2009, 01:24 PM   #2160
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Is mlbviewer working for anyone right now ?

I just get this:

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


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 12:25 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