LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-04-2012, 09:49 AM   #3721
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled

larshenric:
If you want to use VLC as your player you need to edit the config file and replace mplayer with vlc. I've used mplayer, vlc and mplayer2 to watch games and while I like being able to control the audio more easily with vlc (I have quiet earbuds that need the extra gain VLC can give me) I ended up going back to mplayer2. You'll want to make sure you have vlc as the player in each of the formats you want to use (video, audio, and top plays), but one thing I did was include lines for video and audio for each player and comment out each line except the one for teh player you want to use. Thant makes it easier to remember the options in case you find you want to change back.
 
Old 09-04-2012, 11:22 AM   #3722
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hm... in the config file I changed every mplayer into vlc...
result: even worse... It says "ERROR: Download: Failed writing, exiting!"
 
Old 09-04-2012, 11:44 AM   #3723
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
GOT IT...!!

Option #4 inspired me to google for an "mplayer2-for-ubuntu11.04-installation-guide" and I found it...

Thanks to all of you who helped...!!
 
Old 09-05-2012, 03:32 AM   #3724
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Glad you found a solution!

And if you're still running 11.04, you might find this page helpful for future questions as well!

Anyway, enjoy baseball!
 
Old 09-05-2012, 07:38 AM   #3725
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Thank you, fang2415...!
Now that I've got it running I'm trying the "tools". Recording with mlbgamedl.py is great for me, as the games most often are shown in the night (here in Germany), so I record them a day later and watch them on TV in the evening, without having to get connected to the internet...

What I'll also have to figure out are all the options in the config file. Maybe I'll have to return to this thread with some stupid questions...

And concerning an Ubuntu upgrade: I know, that there are newer versions, but the last upgrade from 10.10 (I think it was) to 11.04 caused me some problems with the printer and other stuf. So I'll stay with 11.04 as long as possible...

Last edited by larshenric; 09-05-2012 at 08:44 AM.
 
Old 09-08-2012, 12:30 PM   #3726
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hm...
It doesn't work anymore... These are my line in terminal:

Buffering streamFLVStreamer v2.1c1
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Starting Live Stream
Metadata:
width 640.00
height 360.00
framerate 29.97
videocodecid 7.00
videodatarate 1056.00
audiodatarate 48.00
375.938 kB / 0.00 sec

After that nothing happens... Any idea...?
 
Old 09-09-2012, 06:47 AM   #3727
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
It's working again...
I rechanged from flvstreamer back to rtmpdump...

But I've got another question:
Recording games with mlbgamedl.py works fine (as I already wrote), but how do I do to record specific broadcast of a game (home or away)? How can I fix that? I tried by writing "away" at "coverage=" in the config file, but it didn't work. It recorded the home broadcast of the saturday's cubs-pirates game...

any suggestions?
 
Old 09-09-2012, 07:57 AM   #3728
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
You could set video_follow and audio_follow to your team. That should select the coverage from their broadcast team by default. It works great for Dodger games with *_follow=la. You'd just need to use the abbreviation for your team, which isn't always the current abbreviation the league uses.
 
Old 09-09-2012, 10:05 AM   #3729
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Thank you so far, BostonPeng!
I did that (putting in chc for Cubs coverage), but it didn't change anything. I still get the Pittsburgh broadcast as download...
Am I right changing the config file? Or do I have to change any other file?
 
Old 09-09-2012, 11:11 AM   #3730
BostonPeng
Member
 
Registered: Jul 2009
Location: Boston, MA
Distribution: SolydK Testing + KDE 4.9.5
Posts: 113

Rep: Reputation: Disabled
Glad I could help larshenric. I didn't try recording anything so I'm not sure what you could try but hopefully one of the smarter folks will pop their head in and provide the missing info.
 
Old 09-09-2012, 11:36 AM   #3731
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hm...
Now mlbviewer doesn't work anymore... I get this terminal message:

lars@X64V:~/mlbviewer2012$ python mlbviewer.py
Traceback (most recent call last):
File "mlbviewer.py", line 1630, in <module>
curses.wrapper(mainloop, mycfg.data)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "mlbviewer.py", line 500, in mainloop
+ len(coveragetoggle.get(cfg['coverage'])) + 2
TypeError: object of type 'NoneType' has no len()
lars@X64V:~/mlbviewer2012$

Please, help...!
 
Old 09-09-2012, 12:17 PM   #3732
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
Hey larshenric,

Are you a premium subscriber? I know that away video feeds aren't technically part of the MLB basic package, so you may not be able to get it for that reason. MLB seems to apply this restriction sporadically, though. I'm also a Cubs fan (alas), and I can often get the Cubs feed when they're away even though I'm only a basic subscriber; but I couldn't get Saturday's Cubs feed either, so it may not be available without upgrading.
 
Old 09-09-2012, 12:40 PM   #3733
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Hi fang2415!

I've got premium, so this might not be the reason. And before trying to download the cubs feed I managed to see it via mlbviewer. But then I had to stop because I had to leave home, and after coming back I wanted to go on with the downloaded file...

Well, and now: mlbviewer doesn't work anymore...
SH...T!!
 
Old 09-10-2012, 04:24 AM   #3734
fang2415
Member
 
Registered: Jan 2007
Posts: 195

Rep: Reputation: 15
I'm speculating here, but from the looks of that stack trace I'd guess that something has gone wrong with your video_follow or audio_follow option, or maybe one of the other options that specifies what kind of coverage you get. (The fact that "coveragetoggle.get(cfg['coverage'])" has no length suggests that the "coverage" option probably isn't valid and therefore the function is returning nothing.)

So maybe try playing around with those options in the config file, or even just reverting to the original config file? (Download a new one if you didn't save it.) Then if it works, you can make any changes you want one at a time, and if it breaks again, you'll know which option is to blame!
 
Old 09-10-2012, 04:45 AM   #3735
larshenric
Member
 
Registered: Aug 2012
Location: Flensburg, Germany
Distribution: several
Posts: 90

Rep: Reputation: Disabled
Thanks fang2415!
I was thinking of a new config file, too, but didn't know where to get it from. Could you tell me where I can download a new one?
 
  


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:07 PM.

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