mplayer plugin for mozilla in fc1

Clint clint at pt3newtech.org
Thu Nov 27 13:13:37 UTC 2003


I experimented with setting these flags:

ao=esd
enable-qt=1
use-gui=no

and it is still not streaming. The test stream didn't work, and when I 
go to the site to view a trailer, it just displays a white box with the 
message:

mplayerplug-in
http://(long web address for stream)

Now I can view movies that I download locally, and they look and sound 
great. For instance, the .avi download at:

http://www.blizzard.com/war3/movies/

goes as expected. I type mplayer followed by the name of the .avi file 
and it displays a good bit of info in the terminal initially, and then 
plays the clip. The information that it is telling me might be of some 
help, so I'll paste it below. I note that it says it can't find the 
codecs.conf file, but I did use the codecs download, so that doesn't 
make sense to me. I wonder if it would be good to simply remove all of 
mplayer and the codecs and start fresh with it (but I don't know how to 
remove items if I've installed them from source, rather than simply rpm -e).

Clint

Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/local/share/locale


MPlayer 0.90rc5-3.3.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Pentium 4 Xeon Foster (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or 
directory
Reading config file /home/clint/.mplayer/config
Reading /home/clint/.mplayer/codecs.conf: can't open 
'/home/clint/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/clint/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/clint/.mplayer/input.conf : No such 
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such 
file or directory
Falling back on default (hardcoded) input config

Playing War3-Movie-Trailer.avi
AVI file format detected.
VIDEO:  [DX50]  800x340  24bpp  24.00 fps  901.0 kbps (110.0 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local 
display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
This file was encoded with DivX501 Build450
VDec: vo config request - 800 x 340 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [xv] 800x340 => 800x340 Planar YV12
New_Face failed. Maybe the font path is wrong.  1   0%  0%  0.0% 0 0 0%
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  30.0 V:  30.0 A-V:  0.016 ct: -0.051  720/720  10%  4%  0.9% 7 0 0%

Exiting... (End of file)






bdunne wrote:
>>#debug=1
>>#logfile=$HOME/mpp.log
>>#vo=xv,x11
>>#ao=arts,esd,oss
>>#download=1
>>#dload-dir=$HOME/tmp
>>#keep-download=1
>>#noembed=1
>>#cachesize=256
>>#use-mimetypes=1
>>#enable-real=1
>>#enable-wm=0
>>#enable-qt=0
>>#enable-mpeg=0
> 
> 
> You apparently don't have the use-gui flag in your mplayerplug-in.conf file 
> (and everything else is commented out).  So, the default behavior should take 
> effect, which is "use-gui=no".  If you want to make sure the plugin is not 
> attempting to use gmplayer, you can add "use-gui=no" to the 
> mplayerplug-in.conf file - it won't hurt anything.  The only other difference 
> my conf file has from yours is to make the plugin use Gnome's esd sound daemon 
> (uncomment and set line to "ao=esd").
> 
> You can test to see if mplayer is properly streaming video by entering the 
> following command at the shell prompt (Its the Daredevil trailer :-):
> 
> mplayer 
> http://a772.g.akamai.net/5/772/51/20b9f288dddd83/1a1a1aaa2198c627970773d80669d84574a8d80d3cb12453c02589f25382f668c9329e0375e8177dec6493f758ca2f93f86ed743/daredevil-tlr_320.mov
> 
> That will confirm that mplayer can handle a QT video stream (as opposed to 
> just playing a local file).
> 
> Cheers,
> Bryan
> 
> 
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 
> 

-- 
Clint <Clint at PT3Newtech.org>





More information about the fedora-list mailing list