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.
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.
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..
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.
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)
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.
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.
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.
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.
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.
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:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.