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-14-2010, 05:57 PM   #2656
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35

Quote:
Originally Posted by edouble312 View Post
hey all,

i'm having trouble with my mlbviewer on my snow leopard netbook (dell mini9)

I've got everything running, but when I try to play a game I'm stuck with this:

Buffering streamRTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
MPlayer UNKNOWN-4.2.1 (C) 2000-2009 MPlayer Team
141 audio & 304 video codecs
Playing -.
Reading from stdin...
'Starting Live Stream

and thats as far as it will go, it sits there for a minute than goes back to mlbviewer

using the soapevent command daftcat just posted, I can make an mp4 and watch it with mplayer!

any ideas?
If you turn on debug mode it will tell you the full command it intends to use. What does it say?
 
Old 04-14-2010, 06:35 PM   #2657
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by edouble312 View Post
hey all,

i'm having trouble with my mlbviewer on my snow leopard netbook (dell mini9)

I've got everything running, but when I try to play a game I'm stuck with this:

Buffering streamRTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
MPlayer UNKNOWN-4.2.1 (C) 2000-2009 MPlayer Team
141 audio & 304 video codecs
Playing -.
Reading from stdin...
'Starting Live Stream

and thats as far as it will go, it sits there for a minute than goes back to mlbviewer

using the soapevent command daftcat just posted, I can make an mp4 and watch it with mplayer!

I can also watch games with the stdout.py tool, so Its probably something in my mlbviewer config somewhere, but i cant figure out what...

any ideas?

EDIT: seems to be working with live games... sweet! definately the only way to watch mlb.tv on a netbook!
Okay, so after your EDIT, are you still having a problem?

If so, post your video_player= command here.
 
Old 04-14-2010, 06:37 PM   #2658
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Quote:
Originally Posted by daftcat View Post
rjwood,

Also, can you do:

Code:
$ mplayer -ao help
I'd be surprised if 'oss' doesn't work so you could also try:

Code:
$ mplayer -ao oss 14-263916-2010-04-13.mp4
...
Code:
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team
Available audio output drivers:
	oss	OSS/ioctl audio output
	mpegpes	DVB audio output
	v4l2	V4L2 MPEG Audio Decoder output
	null	Null audio output
	pcm	RAW PCM/WAVE file writer audio output
Code:
rob@rob-desktop:~$ mplayer -ao oss 14-263916-2010-04-13.mp4
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team

Playing 14-263916-2010-04-13.mp4.
File not found: '14-263916-2010-04-13.mp4'
Failed to open 14-263916-2010-04-13.mp4.


Exiting... (End of file)
 
Old 04-14-2010, 06:37 PM   #2659
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Btw, I really don't like the lack of debug in the new versions of rtmpdump/flvstreamer. I'm sure it's either a compile option or a command-line option to get it back, but I really like seeing all the gory details from rtmpdump so I know rtmpdump is working.
 
Old 04-14-2010, 06:39 PM   #2660
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Code:
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team
Available audio output drivers:
	oss	OSS/ioctl audio output
	mpegpes	DVB audio output
	v4l2	V4L2 MPEG Audio Decoder output
	null	Null audio output
	pcm	RAW PCM/WAVE file writer audio output
Encouraging. At least oss is there.

Code:
rob@rob-desktop:~$ mplayer -ao oss 14-263916-2010-04-13.mp4
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team

Playing 14-263916-2010-04-13.mp4.
File not found: '14-263916-2010-04-13.mp4'
Failed to open 14-263916-2010-04-13.mp4.


Exiting... (End of file)
Wait. What happened to your file? Did you remove it? Or change directories?
 
Old 04-14-2010, 06:39 PM   #2661
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Quote:
Originally Posted by Theophile View Post
rjwood,

Can you use mplayer to play other types of files with audio? If so, could you paste us a similar output from a file with working sound?

What I see indicates that mplayer is handing the AAC just fine, but for some reason it is having trouble finding a suitable output driver. Kind of like the problem we just fixed with the video, only with sound this time. Fun, right?
No I can't! It really isn't that difficult. You guys make it seem easy. Thanks!
 
Old 04-14-2010, 06:42 PM   #2662
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Quote:
Originally Posted by daftcat View Post
Code:
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team
Available audio output drivers:
	oss	OSS/ioctl audio output
	mpegpes	DVB audio output
	v4l2	V4L2 MPEG Audio Decoder output
	null	Null audio output
	pcm	RAW PCM/WAVE file writer audio output
Encouraging. At least oss is there.

Code:
rob@rob-desktop:~$ mplayer -ao oss 14-263916-2010-04-13.mp4
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team

Playing 14-263916-2010-04-13.mp4.
File not found: '14-263916-2010-04-13.mp4'
Failed to open 14-263916-2010-04-13.mp4.


Exiting... (End of file)
Wait. What happened to your file? Did you remove it? Or change directories?
Nope, I didn't do anything. Though, if you remember, I had difficulty removing the first mplayer from svn. Perhaps that has something to do with it.
 
Old 04-14-2010, 07:24 PM   #2663
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,883

Rep: Reputation: 86
Quote:
Originally Posted by rjwood View Post
Nope, I didn't do anything. Though, if you remember, I had difficulty removing the first mplayer from svn. Perhaps that has something to do with it.
No, I meant the .mp4 file. That's what's missing this time.

If you don't know where that .mp4 file is, go back and do the test/soapevent.py step again to create a new one:

Code:
$ test/soapevent.py 14-263916-2010-04-13
Ctrl-C that after about 10 seconds.

Code:
$ mplayer -ao oss 14-263916-2010-04-13.mp4
Do you have sound with -ao oss? Otherwise, quit this as soon as the timer appears and post everything above the timer here.
 
Old 04-14-2010, 07:37 PM   #2664
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
No sound!
Code:
rob@rob-desktop:~/mlbviewer$ mplayer -ao oss 14-263916-2010-04-13.mp4
MPlayer SVN-r31026-4.4.1 (C) 2000-2010 MPlayer Team

Playing 14-263916-2010-04-13.mp4.
libavformat file format detected.
[flv @ 0x9c706d0]Estimating duration from bitrate, this may be inaccurate
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [H264]  600x448  0bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:
 duration: 11369
 moovPosition: 40
 width: 600
 height: 448
 videocodecid: avc1
 audiocodecid: mp4a
 avcprofile: 77
 avclevel: 31
 aacaot: 2
 videoframerate: 30
 audiosamplerate: 48000
 audiochannels: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 1 ch, s16le, 0.0 kbit/0.00% (ratio: 0->96000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 48000Hz 1ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.79:1 - prescaling to correct movie aspect.
VO: [xv] 600x448 => 800x448 Planar YV12 
A:   9.0 V:   9.0 A-V: -0.000 ct:  0.000   0/  0 14%  3%  0.6% 1 0              
Exiting... (Quit)
 
Old 04-14-2010, 07:41 PM   #2665
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
oops, I lied, I do have sound with oss. I didn't have my receiver on. Sorry. How do I make it work with mlbviewer?

Last edited by rjwood; 04-14-2010 at 08:55 PM.
 
Old 04-14-2010, 09:03 PM   #2666
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by rjwood View Post
oops, I lied, I do have sound with oss. I didn't have my receiver on. Sorry. How do I make it work with mlbviewer?
Now just add "-ao oss" to the video_player string which resides in the file ~/.mlb/config. That should do it!
 
1 members found this post helpful.
Old 04-15-2010, 12:08 AM   #2667
rjwood
Member
 
Registered: Jan 2006
Distribution: UBUNTU
Posts: 130

Rep: Reputation: 16
Quote:
Originally Posted by poorboywilly View Post
Now just add "-ao oss" to the video_player string which resides in the file ~/.mlb/config. That should do it!
Thanks to all of you for helping - it works now!
 
Old 04-15-2010, 08:54 AM   #2668
mkomko
Member
 
Registered: Mar 2010
Posts: 97

Rep: Reputation: 3
I have a question about archived games in different bitrates (non-NexDef):
It seems that not all bitrates are available for all games. Is that correct? Anyway, I noticed that the rtmpdump-calls are different for existing streams and non-existing streams. For existing streams the streaming starts immediately, for the others it tries but exits after two minutes without getting any data.

So I'm guessing it could be determined by mlbviewer if the stream is available in the selected bitrate or not?

If this is correct and you agree, maybe you could have mlbviewer respond with "game not available in that bitrate" instead of calling rtmpdump and nothing happening. Thanks in advance!
Or is there a different reason for all this?

Here are the two rtmpdump calls - I replaced my IP address with zeroes.

Existing stream:
Code:
rtmpdump -f "LNX 10,0,22,87" -o - -r "rtmp://cp65670.edgefcs.net/ondemand/mp4:secure/mlbam/2010/04/14/mlbtv_ananya_home_800k.mp4?aifp=v0004&auth=da.ahbPb4cGcmclcjaWblbDaIbmdmaOa7d4-blXXFp-O-CvlpAlDsDpmFJn-k7kbjgkfm7jdjimijdk3kjldl5l9lhjbk9kkj7k8m8j7&slist=secure/mlbam/2010/04/14/mlbtv_ananya_home_800k.mp4&ct5=15-Apr-10&ct6=0.0.0.0&ct7=7424435:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=7808471&ct4=mlb" -y "mp4:secure/mlbam/2010/04/14/mlbtv_ananya_home_800k.mp4?aifp=v0004&auth=da.ahbPb4cGcmclcjaWblbDaIbmdmaOa7d4-blXXFp-O-CvlpAlDsDpmFJn-k7kbjgkfm7jdjimijdk3kjldl5l9lhjbk9kkj7k8m8j7&slist=secure/mlbam/2010/04/14/mlbtv_ananya_home_800k.mp4&ct5=15-Apr-10&ct6=0.0.0.0&ct7=7424435:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=7808471&ct4=mlb" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6aifp=v0004&auth=da.ahbPb4cGcmclcjaWblbDaIbmdmaOa7d4-blXXFp-O-CvlpAlDsDpmFJn-k7kbjgkfm7jdjimijdk3kjldl5l9lhjbk9kkj7k8m8j7&slist=secure/mlbam/2010/04/14/mlbtv_ananya_home_800k.mp4&ct5=15-Apr-10&ct6=0.0.0.0&ct7=7424435:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=7808471&ct4=mlb" -s http://mlb.mlb.com/flash/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4 -t "http://212.247.20.28:1935/ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6aifp=v0004&auth=da.ahbPb4cGcmclcjaWblbDaIbmdmaOa7d4-blXXFp-O-CvlpAlDsDpmFJn-k7kbjgkfm7jdjimijdk3kjldl5l9lhjbk9kkj7k8m8j7&slist=secure/mlbam/2010/04/14/mlbtv_ananya_home_800k.mp4&ct5=15-Apr-10&ct6=0.0.0.0&ct7=7424435:FLASH_800K_400X448&ct8=1&ct1=mlb&ct3=7808471&ct4=mlb"
Non-existing stream:
Code:
rtmpdump -f "LNX 10,0,22,87" -o - -r "rtmp://cp65670.live.edgefcs.net/live/mlb_c39_s1800@s22192?aifp=v0006&auth=da.cJbqdDcfardBcKdmdMdcdydrcyd8bJbx-blXXEL-O-GorGJpAurrBlHt-mem4mgmkl9mdkekflbk8mmlgjamflem5mgmdm7mdlam7&ct5=15-Apr-10&ct6=0.0.0.0&ct7=7424435:FLASH_1800K_800X448&ct8=1&ct1=mlb&ct3=7808471&ct4=mlb" -y "mlb_c39_s1800@s22192?aifp=v0006&auth=da.cJbqdDcfardBcKdmdMdcdydrcyd8bJbx-blXXEL-O-GorGJpAurrBlHt-mem4mgmkl9mdkekflbk8mmlgjamflem5mgmdm7mdlam7&ct5=15-Apr-10&ct6=0.0.0.0&ct7=7424435:FLASH_1800K_800X448&ct8=1&ct1=mlb&ct3=7808471&ct4=mlb" -a "live?_fcs_vhost=cp65670.live.edgefcs.net&akmfv=1.6" -s http://mlb.mlb.com/flash/mediaplayer/v4/RC91/MediaPlayer4.swf?v=4 -d mlb_c39_s1800@s22192 -v
 
Old 04-15-2010, 09:42 AM   #2669
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by mkomko View Post
I have a question about archived games in different bitrates (non-NexDef):
It seems that not all bitrates are available for all games. Is that correct?
I was under the impression that archived games are only available in 800k. I could be wrong tho.
 
Old 04-15-2010, 10:02 AM   #2670
halobug
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
I must be doing something really wrong with Boxee. I can't get anything to play on it and MLB always says "this game is not available"

is there an idiot's guide to explain how boxee works or how to set it up to make it play anything? preferably in 2 syllable words?
 
  


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 11:21 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