LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 04-23-2010, 08:46 AM   #2761
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15

Playing 14-264036-2010-04-22.mp4.
libavformat file format detected.
[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)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 600 x 448 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.79:1 - prescaling to correct movie aspect.
VO: [x11] 600x448 => 800x448 Planar YV12
[swscaler @ 0x945240]using unscaled yuv420p -> rgb32 special converter
A: 0.2 V: 0.0 A-V: 0.203 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 [J
A: 0.2 V: 0.0 A-V: 0.171 ct: 0.002 0/ 0 ??% ??% ??,?% 1 0 [J
A: 0.2 V: 0.1 A-V: 0.137 ct: 0.004 0/ 0 ??% ??% ??,?% 2 0 [J
A: 0.2 V: 0.1 A-V: 0.104 ct: 0.006 0/ 0 ??% ??% ??,?% 2 0 [J

thank you multiple times daftcat

Last edited by reefis; 04-23-2010 at 08:47 AM.
 
Old 04-23-2010, 09:33 AM   #2762
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by reefis View Post
VO: [x11] 600x448 => 800x448 Planar YV12
Here's the problem. Try this command and post that log here.

Code:
mplayer -vo xv 14-264036-2010-04-22.mp4 | tee mplayer2.log
 
Old 04-23-2010, 11:21 AM   #2763
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
daft, what variables can be used in the config file? I know "%s" is the "URL" of the stream and "%f" is the filename for games. Anything else available?
 
Old 04-23-2010, 11:45 AM   #2764
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by Theophile View Post
daft, what variables can be used in the config file? I know "%s" is the "URL" of the stream and "%f" is the filename for games. Anything else available?
That's all I support at the moment.
 
Old 04-23-2010, 12:14 PM   #2765
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
Originally Posted by daftcat View Post
That's all I support at the moment.
OK. Just FYI, %f doesn't work with top plays.
 
Old 04-23-2010, 12:58 PM   #2766
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by Theophile View Post
OK. Just FYI, %f doesn't work with top plays.
May the source be with you.



(Knowing my stance about recording, I'll think about fixing it this weekend.)
 
Old 04-23-2010, 01:14 PM   #2767
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Hah, nice. Don't worry about it, I don't need it. Just wanted you to be aware of it.
 
Old 04-23-2010, 02:34 PM   #2768
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Developers Forum on Sourceforge Page

Over the last couple of seasons, I've had offers from other developers to help out with bug fixes or feature development. Some of them have provided great patches.

One thing has become apparent to anyone who has ever looked at the code of mlbviewer. It ain't pretty.

Since it looks like MLB.TV has been very kind to us with the architecture changes over the off-season, e.g. not a whole lot is necessary this season (outside of getting nexdef working again), I'd like to take this opportunity to rewrite mlbviewer to allow for future changes in both the user experience and the backend architecture.

For regular users, mlbviewer in its current form will continue to be supported. For super users, you will be asked and encouraged to participate in the testing of the new project as it becomes available. For developers, you can participate in the design process by making comments and providing feedback on the Developers forum on the Sourceforge page. Yeah, that tiny little input box blows but it's a logical place for this discussion and it should keep this forum free for supporting existing users and the existing code.

I've posted a couple of topics already. One is the goals of the rewrite. The other is a mile high overview of the service and workflow. Give them a look over and provide comments. I hope to have a design document up there in the next two or three weeks.

Mlbviewer Developers Forum
 
Old 04-23-2010, 03:25 PM   #2769
Theophile
Member
 
Registered: Jan 2003
Posts: 283

Rep: Reputation: 35
Quote:
This forum is private.
I play tennis casually and do enjoy a game of golf now and then. Any chance of getting into the country club?
 
Old 04-23-2010, 04:30 PM   #2770
daftcat
mlbviewer Maintainer
 
Registered: Apr 2008
Posts: 1,746

Rep: Reputation: 76
Quote:
Originally Posted by Theophile View Post
I play tennis casually and do enjoy a game of golf now and then. Any chance of getting into the country club?
I went to a driving range once. I mostly hit grounders to the first baseman but I did whack a couple line drives. Golf isn't my sport.

Okay, found the private bit on the Developers forum and flipped it to public.

Last edited by daftcat; 04-23-2010 at 04:32 PM.
 
Old 04-23-2010, 04:44 PM   #2771
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15
did what u suggested theophile.

Playing 14-264036-2010-04-22.mp4.
libavformat file format detected.
[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)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 0.0 (00.0) of 12886.9 ( 3:34:46.8) ??,?% 

no video?
this is what is said in terminal after i entered the code

reefis@ubuntu:~/mlbviewer-svn$ mplayer -vo xv 14-264036-2010-04-22.mp4 | tee mplayer2.log
MPlayer SVN-r29237-4.4.1 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 14-264036-2010-04-22.mp4.
libavformat file format detected.
[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)
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[pulse] working around probably broken pause functionality,
see http://www.pulseaudio.org/ticket/440
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
 
Old 04-23-2010, 05:08 PM   #2772
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by reefis View Post
did what u suggested theophile.

Playing 14-264036-2010-04-22.mp4.
...
VIDEO: [H264] 600x448 0bpp 29.970 fps 0.0 kbps ( 0.0 kbyte/s)
[VO_XV] It seems there is no Xvideo support for your video card available.
[VO_XV] Run 'xvinfo' to verify its Xv support and read
[VO_XV] DOCS/HTML/en/video.html#xv!
[VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers.
[VO_XV] Try -vo x11.
Error opening/initializing the selected video_out (-vo) device.
...
Run xvinfo now as well and post those results. Also, I saw 'vdpau' in your list of output drivers. Do you have an nvidia card? If so try playing that saved video with mplayer -vo vdpau blah.mp4 and see if that works. If you don't have an nvidia card, don't bother trying though, it would only work with nvidia.
 
Old 04-23-2010, 05:29 PM   #2773
edouble312
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 16
cygwin mlbviewer setup guide...

hey, this is in response to a few of you who wanted to to know how to setup mlbviewer on cygwin under windows 7...

this post may change some as I add steps or fix mistakes...

the point of all this? mlbviewer runs actually very nicely on the windows platform with the mplayer and rtmpdump ports available to you! SOME of us need to run windows for work or school, and may not be able to easily set up a dual boot for your favorite linux...

Step 1: Download the required tools (don't install yet, just download all this stuff)
cygwin: http://www.cygwin.com/
mplayer: http://kemovitra.blogspot.com/2010/0...coder-for.html (I simply downloaded his already-compiled version at the bottom of this page... you can build yourself if you want, or try the build that comes with smplayer: http://smplayer.sourceforge.net/

Microsoft C++ 2008 redistributable package: (ONLY NEEDED IF YOU DON'T COMPILE RTMPDUMP FROM SOURCE)
http://www.microsoft.com/downloads/d...d-074b9f2bc1bf

openssl win32: http://www.slproweb.com/products/Win32OpenSSL.html

rtmpdump WINDOWS VERSION:
http://rtmpdump.mplayerhq.hu/
Setuptools:: http://pypi.python.org/pypi/setuptools (select python egg for python2.5)

OK, with this stuff downloaded, we're ready to begin...

1. First, lets install cygwin. click the setup.exe, choose "install from internet" give it a root directory (I use c:/cygwin), a local package directory (i put mine in My Documents) and select a mirror that is close to you, (they're all quite fast).
Select the following packages to go along with your install. You can do a search for them in the search bar. These packages will install other dependencies. Some of these may get installed by other packages, but you should make sure you have ALL of these:
binutils
gcc-core
gcc-g++
gcc-mingw-core
gcc-mingw-g++
gettext
libgcc1
libstdc++6
mingw-runtime
subversion
zlib-devel
man
texinfo
gawk
python
crypt
libapr1
libaprutil1
libgcc1
libstdc++6
openssl
rxvt

Then, click next and let it install everything. Put a shortcut on your desktop. You now have cygwin installed, and have a mostly adequate unix system on your windows... Open cygwin once and make sure that it works

The next step is to exctract the mplayer files from the zip you downloaded (or the exe you built yourself) into your cygwin folder. In c:/cygwin, click "bin" and COPY all the mplayer files from that ZIP into there, including the codecs folder. in your cygwin shell, type "mplayer.exe" and you should see the mplayer help displayed in your prompt (just like linux). test a video file if you like:

mplayer.exe video.avi

ALTERNATIVELY, smplayer will give you a perfect working copy of mplayer.exe, so you can download that (either the full installer or the portable version) and copy the mplayer.exe from that install to your c:/cygwin/bin/ folder.

next, extract all the rtmpdump files into the "bin" folder as well. you will also need two dll files for rtmpdump to run correctly in your cygwin/lib folder (I put them in cygwin/bin as well). Install Microsoft C++ 2008 redistributable package, which is required to install openssl win32. when you install openssl win32, select a folder on your c drive, not the windows system install folder. when it's done, grab these 2 dll files from the openssl bin folder and copy them to the lib and bin folders
in cygwin:

libeay32.dll
ssleay32.dll
after that, rtmpdump should be ready to use!

ALTERNATIVELY, you can install openssl and openssl-dev from cygwin, then download the rtmpdump source and type 'make posix' to have rtmpdump working.

Copy the setuptools egg files to your home/yourname folder. Now, lets fire up cygwin, run the necessary commands, and then mlbviewer should be up and running. run this command to install setuptools:
sh setuptools-0.6c9-py2.4.egg

now that setuptools works, install the requirements for mlbviewer:
easy_install suds
easy_install pyxml
easy_install simplejson

then, do the subversion checkout of the latest mlbviewer!
svn co https://mlbviewer.svn.sourceforge.net/svnroot/mlbviewer mlbviewer

navigate to the mlbviewer folder and do the first run:
cd mlbviewer
cd trunk
python mlbviewer.py

this should create a config file in your home/username/.mlb folder. go to this folder, put in your username/password, and change the video_player and audio_player lines to this:
video_player=mplayer.exe -vo direct3d -cache 2048 -really-quiet
audio_player=audio_player=mplayer -cache 64 -really-quiet

back in cygwin, run again:
python mlbviewer.py

select a game (live or archived) and you should be up and running!

a few notes:::

typing rxvt (and hitting enter) will bring up a nicer looking shell more like a linux shell (nicer font, white background)

Last edited by edouble312; 04-23-2010 at 09:50 PM.
 
Old 04-23-2010, 05:46 PM   #2774
reefis
LQ Newbie
 
Registered: Apr 2010
Posts: 27

Rep: Reputation: 15
reefis@ubuntu:~$ xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

seems like i need to install something?
 
Old 04-23-2010, 05:55 PM   #2775
poorboywilly
Member
 
Registered: Apr 2009
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by reefis View Post
reefis@ubuntu:~$ xvinfo
X-Video Extension version 2.2
screen #0
no adaptors present

seems like i need to install something?
Yeah that means the X-Video extension is installed but there either isn't a supported adapter (card), or the adapter isn't set up properly. What brand is your video card, do you know?

I don't really know where to go from here, sorry.
 
  


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


All times are GMT -5. The time now is 01:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration