[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mozilla et mplayer



Le Mon, 6 Jan 2003 13:35:29 +0100
Laurent Mazet <laurent.mazet@motorola.com> a dit:

> On Fri, 03 Jan 2003 18:43:19 +0100
> Emmanuel Collet <collemma@enseeg.inpg.fr> wrote:
> > salut à vous
> > 
> > j'utilise une sid, et j'ai depuis bien longtemps un problème (que je 
> > vais reousdre en cette nouvelle année!):
> > comment il faut faire pour que mozilla utilise mplayer (ou n'importe 
...
> > je pense bien qu'il s'agit de configuration de "type  MIME', mais j'en

> > sais rien de ce que c'est ni commentcamarche...
> >
> 
> Il y a le package plugger pour netscape (il fonctionne aussi pour
mozilla
> et phoenix) mais il utilise beaucoup de veilleries (splay, xanim,
bplay...).
> On doit pouvoir modifier le fichier /etc/plugger.conf pour faire des 
> associations avec mplayer. Si quelqu'un l'a deja fait, je suis moi-aussi
> preneur.

Du coup je viens d'essayer en remplaçant les lignes xanim etc... par
mplayer -vo sdl -framedrop comme suit (extrait ci dessous). Apparemment ça
marche relativement bien.

F.Boisson
/etc/pluggerc (début) et modifications
---------------------------
video/mpeg: mpeg, mpg, mpe: MPEG animation
video/x-mpeg: mpeg, mpg, mpe: MPEG animation
        stream: mtvp -W$window - 2>/dev/null 1>/dev/null
        loop:mtvp -l -W$window $file
        :mtvp -W$window $file
        loop: mplayer -vo sdl -framedrop $file
        many: mplayer -vo sdl -framedrop $file
application/x-mplayer2: *: MS Multimedia
video/x-ms-asf: asf, asx: MS Multimedia
video/x-ms-asf-plugin: *: MS Multimedia
        exits ignore_errors maxaspect swallow(MPlayer): WindowsMedia.pl
"$file" "-1"

video/quicktime: mov,qt: Quicktime animation
video/x-quicktime: mov,qt: Quicktime animation
video/dl: dl: DL animation
video/x-dl: dl: DL animation
video/sgi-movie: movie,movi,mv: SGI animation
video/x-sgi-movie: movie,movi,mv: SGI animation
video/anim: iff,anim5,anim3,anim7: IFF animation
video/x-anim: iff,anim5,anim3,anim7: IFF animation
video/msvideo: avi: AVI animation
video/x-msvideo: avi: AVI animation
video/fli: fli, flc: FLI animation
video/x-fli: fli, flc: FLI animation
        loop:mplayer -vo sdl -framedrop $file
        many:mplayer -vo sdl -framedrop  $file

audio/midi: midi,mid: MIDI audio file
audio/x-midi: midi,mid: MIDI audio file
        many: timidity -s 44100 -a -idqqqqqqq $file
        : playmidi $file

audio/mod: mod: Soundracker audio Module
audio/x-mod: mod: Soundracker audio Module
        loop: xmp -l --nocmd $file 2>/dev/null
        : xmp --nocmd $file 2>/dev/null
        loop: nspmod -r $file 2>/dev/null 1>/dev/null
        repeat: nspmod -l $repeat $file 2>/dev/null 1>/dev/null
        : tracker -q -frequency 44100 $file
        loop: mikmod -i -r $file 2>/dev/null 1>/dev/null
        : mikmod -i $file 2>/dev/null 1>/dev/null
.....

audio/basic: au,snd: Basic audio file
audio/x-basic: au,snd: Basic audio file
        loop: mplayer -vo sdl -framedrop $file
        many: mplayer -vo sdl -framedrop $file

audio/wav:wav:Microsoft wave file
audio/x-wav:wav:Microsoft wave file
        stream, preload: splay -W
        many: wavplay -q $file
        stream, preload: bplay 1>/dev/null 2>/dev/null
        : bplay 1>/dev/null 2>/dev/null
        many: splay $file
        loop: mplayer -vo sdl -framedrop $file
        many: mplayer -vo sdl -framedrop $file

image/tiff: tiff,tif: TIFF image
image/x-tiff: tiff,tif: TIFF image
image/sun-raster: rs: SUN raster image
.....



Reply to: