LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-26-2010, 06:14 PM   #2806
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Revision 246: More Changes and Fixes On Nexdef Branch


Condensed games is now treated the same as audio and non-Nexdef video. Rtmpdump will be used for playing condensed games.

The fix for jump to innings for non-Nexdef video broke archived audio games. I've fixed that in this revision as well.

Fixed bookmarks feature even though nobody has complained that it was broken. Current implementation is a bit limited but I have plans for this to make it really useful.

A lot of legacy code has been removed (and a lot left to remove or clean up.) Please tell me if broke anything in the process.
 
Old 04-26-2010, 06:51 PM   #2807
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
I just brought down the nexdef branch and I tried to get the away feed for the pads @ fish, and I get..No such file or directory: '/tmp/suds'

On my particular distro (ubuntu 8.1) it would seem that the /tmp directory is cleared at some arbitrary time... boot up or shutdown probably..I've ran into this issue before with soapevent.py and I tried to grep through the code for the place to create the directory if it's not found, but I didn't have any luck. Once I create the directory manually, everything is fine until the next reboot. (being a traveling laptop, this is several times a day)

Long story short, is there a way to check for the existence of the directory and create it if necessary instead of crashing? I'll put on my (small, weird looking) python hat to try and figure it out, too..

Matt
 
Old 04-26-2010, 07:39 PM   #2808
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mchapter View Post
I just brought down the nexdef branch and I tried to get the away feed for the pads @ fish, and I get..No such file or directory: '/tmp/suds'

On my particular distro (ubuntu 8.1) it would seem that the /tmp directory is cleared at some arbitrary time... boot up or shutdown probably..I've ran into this issue before with soapevent.py and I tried to grep through the code for the place to create the directory if it's not found, but I didn't have any luck. Once I create the directory manually, everything is fine until the next reboot. (being a traveling laptop, this is several times a day)

Long story short, is there a way to check for the existence of the directory and create it if necessary instead of crashing? I'll put on my (small, weird looking) python hat to try and figure it out, too..

Matt
/tmp is swap space that's always cleared on reboot. Suds itself should take care of creating its temp directory, /tmp/suds. The only thing I can think of is that for some reason /tmp is not writable by whatever user suds is using.

What is the output of these?

Code:
$ ls -ld /tmp
$ ls -ld /tmp/suds
 
Old 04-26-2010, 08:26 PM   #2809
mchapter
Member
 
Registered: Apr 2010
Location: austin, tx
Distribution: osx 10.8.3
Posts: 46

Rep: Reputation: 17
Code:
ls -ld /tmp
drwxrwxrwt 13 matt root 12288 2010-04-26 20:15 /tmp
ls -ld /tmp/suds
ls: cannot access /tmp/suds: No such file or directory
When I first ran these commands
ls -ld /tmp gave drwxrwxrwt 13 root root 12288 2010-04-26 20:15 /tmp

So I figured I'd throw a chown at it, but still the same results.

Also I tried a couple games earlier but could only get the first frame, frozen. I let it run for about 30 seconds each time but nothing except an error:
[aac @ 0xccaa00]channel element 0.0 is not allocatedA:76905.4 V:76895.0 A-V: 10.435 ct: 0.003 0/ 0 ??% ??% ??,?% 0 0 48%

it continues on for quite a bit scrolling with the same error, only the numbers to the left of the 'V' and the 'ct' increasing

EDIT: and then I let it run while I was typing this and bingo.. shesh what a picture. I'm not getting any sound, although that could be a local problem, and pausing mplayer causes it to crash shortly thereafter.

(machine specs: dual core 2.0 ghz, nv 9650 gt w 1G video ram, 4 G ram, about 3 Mbps down)

Last edited by mchapter; 04-26-2010 at 08:33 PM.
 
Old 04-26-2010, 08:39 PM   #2810
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by edouble312 View Post
hey thanks for bearing with me...

I do have ffplay... when I save the condensed game with rtmpdump to a flv file, I can type:

ffplay game.flv

and it plays in ffplay.

It's confusing me, but as daftcat said there will be an version that uses rtmpdump so it doesnt really matter.
Oh OK, gotcha. It looks like daftcat already posted the update, but just for kicks does the list returned by "ffplay -protocols" have rtmp in it? If not then apparently your ffplay wasn't built to handle the rtmp url, that's all I can think of.
 
Old 04-26-2010, 10:40 PM   #2811
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mchapter View Post
Code:
ls -ld /tmp
drwxrwxrwt 13 matt root 12288 2010-04-26 20:15 /tmp
ls -ld /tmp/suds
ls: cannot access /tmp/suds: No such file or directory
When I first ran these commands
ls -ld /tmp gave drwxrwxrwt 13 root root 12288 2010-04-26 20:15 /tmp

So I figured I'd throw a chown at it, but still the same results.

Also I tried a couple games earlier but could only get the first frame, frozen. I let it run for about 30 seconds each time but nothing except an error:
[aac @ 0xccaa00]channel element 0.0 is not allocatedA:76905.4 V:76895.0 A-V: 10.435 ct: 0.003 0/ 0 ??% ??% ??,?% 0 0 48%

it continues on for quite a bit scrolling with the same error, only the numbers to the left of the 'V' and the 'ct' increasing

EDIT: and then I let it run while I was typing this and bingo.. shesh what a picture. I'm not getting any sound, although that could be a local problem, and pausing mplayer causes it to crash shortly thereafter.

(machine specs: dual core 2.0 ghz, nv 9650 gt w 1G video ram, 4 G ram, about 3 Mbps down)
Don't chown it. It's a system directory. Let the system manage it. The permissions are wide open (even though it's owned by root) which is the way it should be.

I believe the text/nexdef.py I checked back into the nexdef branch does dumpstream so you can record about 10 seconds after "Stream not seekable" shows up. Then use mplayer on the generated file to see what's going on with the sound. I don't recommend actually trying to record a game with nexdef.py because all the samples I took were audio and video out of sync.

As for the suds error, never heard of it doing that. Maybe update to the latest suds.

Code:
$ svn co http://svn.fedorahosted.org/svn/suds/trunk suds
$ cd suds
$ sudo python setup.py install
Ignore the makefile. That's just for building an rpm.
 
Old 04-27-2010, 01:03 AM   #2812
onuhwt
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
Windows install instructions

Quote:
Originally Posted by edouble312 View Post
if anyone is interested in knowing how to set up mlbviewer on windows 7, (should work for any windows though) let me know I may write up a guide for how I did it...

took me roughly 15 minutes start to finish once I knew what I was doing.

If you could I would really appreciate a windows write up, I'm personally a linux guy and have it set up and working on my linux system but I'm trying to help my brother get it set up on his Win 7 laptop and am having some issues. As was noted this is a linux forum but maybe you could post it on the sourceforge forum and avoid and backlash from us linux zealots

If you can do this great if not, I'll try to write one up on the sourceforge forum after I get it figured out.

Thanks
 
Old 04-27-2010, 08:00 AM   #2813
CCRS8
LQ Newbie
 
Registered: Apr 2010
Location: NC, USA
Distribution: Xubuntu
Posts: 29

Rep: Reputation: 1
Quote:
Originally Posted by onuhwt View Post
If you could I would really appreciate a windows write up, I'm personally a linux guy and have it set up and working on my linux system but I'm trying to help my brother get it set up on his Win 7 laptop and am having some issues. As was noted this is a linux forum but maybe you could post it on the sourceforge forum and avoid and backlash from us linux zealots

If you can do this great if not, I'll try to write one up on the sourceforge forum after I get it figured out.

Thanks
He already did:
http://www.linuxquestions.org/questi...ml#post3945751
 
Old 04-27-2010, 12:06 PM   #2814
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
Quote:
Originally Posted by CCRS8 View Post
i did my best anyway haha...

let me know if it works or if anything doesnt make sense
 
Old 04-27-2010, 01:15 PM   #2815
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
A new version of nexdef is out but it's not up on our unofficial location yet. So far, it seems worth it to try it if you can get the Mac package unraveled. I've been able to get archived games now though we may need a bug fix or two from the ffmpeg team.

MLBAM does not want us to host copies of the autobahn.jar file so until the site is updated, you can have a stab at these directions. You'll need dmg2img and pax. You can find each in your distro's package repository.

Code:
$ wget http://mlb.mlb.com/media/player/nexdef/v2010_93/mlbnexdefinstall.dmg
$ dmg2img mlbnexdefinstall.dmg
$ sudo modprobe hfsplus
$ sudo mount -t hfsplus -o loop mlbnexdefinstall.img /mnt
$ cp /mnt/MLB.TV\ NexDef\ Plug-in.pkg/Contents/Archive.pax.gz .
$ gzip -d Archive.pax.gz | pax -r
$ cp Library/Application\ Support/Swarmcast/lib/autobahn.jar .
The last few nexdef builds, gzip tells me that Archive.pax.gz is not in gzip format. I have given up on this procedure and use 7zip on Windows.

You can also install 7zip under wine and explore the dmg directly. You will get as far as Archive.pax before things get really weird. Just extract the Archive.pax file and then do:

Code:
$ pax -r < Archive.pax
$ cp Library/Application\ Support/Swarmcast/lib/autobahn.jar .
 
Old 04-27-2010, 04:22 PM   #2816
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
So I started the rox game archive and got the commercial break screen. Forgot I left it up and had breakfast, took a shower, was closing the laptop to leave, and the game finally started. Looked great and audio and video in sync. Seems like some kinks still need to be worked out with nexdef. After all, Big Papi is still hitting only a buck sixty.
 
Old 04-27-2010, 06:08 PM   #2817
mswift42
Member
 
Registered: Mar 2009
Posts: 39

Rep: Reputation: 16
Dafcat,

Let me say this in the most possible manly way:
I love you.

Thank you very much.

As soon as I got my PAYPAL account figured out,
a donation will certainly be coming.

CHEERS.
 
Old 04-27-2010, 09:43 PM   #2818
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by mswift42 View Post
Dafcat,

Let me say this in the most possible manly way:
I love you.
Still came out a little girly. Nah, just messing with you.

Quote:

Thank you very much.

As soon as I got my PAYPAL account figured out,
a donation will certainly be coming.

CHEERS.
Don't want to resort to begging, but I have to say the last couple of months, the donations have been a real lifesaver! Or at least a budget saver.
 
Old 04-28-2010, 03:12 PM   #2819
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Any interest in MiLB.TV?

A couple of years back I subscribed to MiLB.TV because it was cheap. Well, the price wasn't the only thing cheap about it. The production quality left something to be desired and the streams were something like 350K. Plus, the number of games each day were limited to the few franchises that actually broadcast their games so it was mostly the same teams every day. Btw, Louisville (Ardolis Chapman) is one of the teams that shows up frequently in the listings. Harrisburg (Strasburg) does not.

Well, I just got an email from MLB.com saying they'd give MLB.TV subscribers a $10 discount off the $30 season price. I still doubt I'd get my $20 worth but if there was a couple of you interested, I might be willing to fork over $7 for a month to get milbviewer running again. It's quite likely it still works exactly like it did a couple years ago.

If anyone does take MiLB.TV up on the offer, let me know if milbviewer still works. It has its own sourceforge page and you'll probably want to pull the latest from svn.
 
Old 04-28-2010, 09:54 PM   #2820
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
nexdef

Yesterday I had very little success with nexdef, but tonight I'm watching the Sox and the Rangers and it started up rather quickly and is going rather smoothly at full resolution. Last night I could get it to start, but I would quickly run out of video data. Both yesterday and today I have been using the new autobahn.jar extracted from the mac package.
 
  


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