LinuxQuestions.org
Visit Jeremy's Blog.
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-22-2009, 05:37 PM   #1351
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86

Quote:
Originally Posted by edouble312 View Post
especially at the quality bar idea!

and sabathia didn't look too sharp today. 3 run dinger in the first, here was his full line today:

6.2 IP, 7 runs, 6 Earned, 2 K, 1 HR. I still stand by my assumption that he's the most overpaid pitcher in the game. he will never duplicate his success in the NL last year with the yankees. no chance.

wang has just lost it entirely. burnett or pettite are always at risk of injury. things could get reaaaaal ugly in NY i think. girardi had better get his ducks in order or else the fans are gonna run him out of town
Nope. Zito is the most overpaid pitcher in the game. Even Sabathia's off days are better than Zito's best stuff.

Quality bar is assuming mplayer would even support a shift in quality. It might just barf all over the idea. I won't know until I've actually tested it though.
 
Old 04-22-2009, 05:39 PM   #1352
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by daftcat View Post
I thought the XBMC rtmp player is just rtmpdump?

Is there a way for me to get at the rtmp player without installing XBMC?
As I understand it, rtmpdump is based on code from XBMC. XBMC player can play RTMP streams without needing to download them first, but I highly, highly doubt it can be abstracted from the XBMC project without major work. In the linux port of XBMC in svn, there is a directory located at /xbmc/XBMC/xbmc/lib/libRTMP which contains the source for the RTMP library used by XBMC player.
 
Old 04-22-2009, 05:42 PM   #1353
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
Quote:
Originally Posted by daftcat View Post
Nope. Zito is the most overpaid pitcher in the game. Even Sabathia's off days are better than Zito's best stuff.

Quality bar is assuming mplayer would even support a shift in quality. It might just barf all over the idea. I won't know until I've actually tested it though.
point well taken. zito is the most overpaid, sabathia is up there though.

as far as mplayer switching quality, i don't know if it qualifies, but earlier today I was watching a 720p stream using nexdef.py, and it suddenly switched to the 800k stream (i'm guessing because nextdef was having troubles). it seemed to not be too screwed up when it happened.
 
Old 04-22-2009, 06:27 PM   #1354
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Theophile View Post
As I understand it, rtmpdump is based on code from XBMC. XBMC player can play RTMP streams without needing to download them first, but I highly, highly doubt it can be abstracted from the XBMC project without major work. In the linux port of XBMC in svn, there is a directory located at /xbmc/XBMC/xbmc/lib/libRTMP which contains the source for the RTMP library used by XBMC player.
Well that doesn't really work then.

Telling non-premium subscribers to use XBMC which probably uses even more resources than mlbviewer and possibly flash because rtmpdump sucks isn't the correct way to do this.

Could I give you guys a mock screen / soapevent.py something or other that would give you a quick and dirty way to test the streaming? Kind of like what I did with the first couple of versions of mlbviewer where the listing was hardcoded to test the network code.

Or if you could, see if libRTMP supports tcPath, playPath, app, and arbitary Invoke messages. If I can specify the first three for the createStream and the send an arbitrary Invoke for the FCSubcribe message, then there's a decent chance it could work for mlb.tv. If it's just accepting an rtmp url and thinking it can figure out for itself how to talk to the media server, then it's going to fall flat on its face.
 
Old 04-22-2009, 06:30 PM   #1355
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
I was half joking with the XBMC reference in the first place. But anyway, you'll have to talk with linuxphan about that because I am completely useless when it comes to coding. Boxee/XBMC plugin coding is way over my head.
 
Old 04-22-2009, 07:16 PM   #1356
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by Theophile View Post
I was half joking with the XBMC reference in the first place. But anyway, you'll have to talk with linuxphan about that because I am completely useless when it comes to coding. Boxee/XBMC plugin coding is way over my head.
libRTMP is the same code as rtmpdump. I'm not sure which is the chicken and which is the egg though. I can checkout the code myself and do a comparison to see how it differs.

So if libRTMP is the network layer, what's the player for XBMC? Is it possible to write the output to stdout and pipe that into mplayer?
 
Old 04-22-2009, 07:21 PM   #1357
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by edouble312 View Post
point well taken. zito is the most overpaid, sabathia is up there though.

as far as mplayer switching quality, i don't know if it qualifies, but earlier today I was watching a 720p stream using nexdef.py, and it suddenly switched to the 800k stream (i'm guessing because nextdef was having troubles). it seemed to not be too screwed up when it happened.
If you don't like Sabathia, I'll give you Ponson and Horacio Ramirez for him. Heck, I'll even throw in Tony Pena, Jr. He's got a pretty good curve ball. :-) I have the blowout he pitched in bookmarked from last season. July 21, 2008 19-4 rout by the Tigers.

Of course, his contract is about half of the Royals current payroll.
 
Old 04-22-2009, 07:28 PM   #1358
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
SWEEET! I just did my first instant replay off the live stream (did Butler really make it to the bag?) and it worked flawlessly!
 
Old 04-22-2009, 08:48 PM   #1359
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
Quote:
Originally Posted by daftcat View Post
SWEEET! I just did my first instant replay off the live stream (did Butler really make it to the bag?) and it worked flawlessly!
hey i might have missed it, how does instant replay work?

Soria is so cool under pressure. i have a feeling that if KC wins the central/wildcard he will be the main reason. if that rotation can give these guys a chance, it's almost a guaranteed win once you bring him out.

but don't look now, the white sox are playing pretty good ball
 
Old 04-22-2009, 08:52 PM   #1360
jeremybub
LQ Newbie
 
Registered: Apr 2009
Posts: 26

Rep: Reputation: 16
I have been having the same problem with text not showing up in the terminal after closing mlbdvr. This is running gnome-terminal with a gnome desktop.

I guess I won't post my log, as you already seem to know it won't work.

I am a little confused, is it working at all for non-premium? Is it working but you have to do a wierd setup, or it often cuts out?
 
Old 04-22-2009, 08:59 PM   #1361
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
OH YEAH
I've got this working in VLC now. Here is my video_player string:
Code:
video_player=konsole -e ffmpeg -i %s -vcodec copy -acodec copy -ss 10 -f flv %f.flv
using a post-fix version of ffmpeg. The -ss 10 is there because there is some weird artifact I'm getting about 4 or 5 seconds into every stream, where the player starts thinking the video is a different resolution and kind of "zooms in" on the video, cropping out some of the video, so if I just skip the very beginning, all is well. This creates a file that is playable, pausable, and seekable in VLC 0.9.9a, in beautiful 3M bitrate. The only problem right now is VLC doesn't update the length of the file. You can play "past the end" and keep watching live, or even pause and continue, but if you want to seek to some time that is "past the end" in the current player you have to reopen the file so that it gets the new length.
 
Old 04-22-2009, 09:00 PM   #1362
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by edouble312 View Post
hey i might have missed it, how does instant replay work?

Soria is so cool under pressure. i have a feeling that if KC wins the central/wildcard he will be the main reason. if that rotation can give these guys a chance, it's almost a guaranteed win once you bring him out.

but don't look now, the white sox are playing pretty good ball
The streams from nexdef are seekable, although seeking backwards seems to work a lot better than seeking forwards. It's not perfect and you always run a risk that you're going to send mplayer into a "error frame" loop where it seeks all it wants but can't figure out where the frames are. But for a left arrow (5 seconds? 10 seconds?) back, it seems to be okay.

Soria definitely created more pressure than he needed to but he has been riding the bench an awfully long time (8 days.) With Banny back, we now have four solid starters. Now if we can just get rid of Ponson. He's our Brett Tomko this year. And every time I see that stupid grinning mugshot on Gameday, I want to punch him. How can any major league team think he's good? I can't wait til Hochevar is recalled to replace him.
 
Old 04-22-2009, 09:03 PM   #1363
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
I've been watching baseball all day long (working from home) and I'm very impressed with the performance of nexdef today.

You basic subscribers have got to get on board. mlbviewer is not going to be nearly so cool for you guys without it.
 
Old 04-22-2009, 09:16 PM   #1364
quonset
LQ Newbie
 
Registered: Apr 2008
Posts: 19

Rep: Reputation: 0
This is working almost flawlessly tonight. mplayer would repeatedly crash on one stream, but other than that it's been perfect.

Some questions:
- What are the different values of max_bps? From this thread I gleaned 800000 and 3000000. I assume the former correlates to the four bar quality and the latter is seven? For me, one of those bowls of porridge is too cold and one of those bowls of porridge is too hot!
- Will starting and stopping autobahn be integrated into mlbviewer?
- Does mlbviewer crash for anyone else when the window is resized? It seems that I'm the only person who had that problem, so maybe it's my python installation. I use a tiled window manager (dwm), so it results in tons of crashes for me.

Last edited by quonset; 04-22-2009 at 09:21 PM.
 
Old 04-22-2009, 09:26 PM   #1365
edouble312
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 16
Quote:
Originally Posted by quonset View Post
This is working almost flawlessly tonight. mplayer would repeatedly crash on one stream, but other than that it's been perfect.

Some questions:
- What are the different values of max_bps? From this thread I gleaned 800000 and 3000000. I assume the former correlates to the four bar quality and the latter is seven? For me, one of those bowls of porridge is too cold and one of those bowls of porridge is too hot!
- Will starting and stopping autobahn be integrated into mlbviewer?
- Does mlbviewer crash for anyone else when the window is resized? It seems that I'm the only person who had that problem, so maybe it's my python installation. I use a tiled window manager (dwm), so it results in tons of crashes for me.
hey which stream was crashing for you? was it texas-toronto? i'm trying to watch that and it continues to give me a "flash packet" error or something.

the only other stream speed i know of is 2500000. i can usually resize mplayer with no issue. you're using the absolute newest svn correct?
 
  


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 10:49 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