다음을 통해 공유


Live & VOD dans l'Intranet Part#3

Dans la continuité des billets Part#1 et Part#2, si comme moi vous êtes impatient de tester vos vidéos dans un player Linux. Voici la procédure pour compiler Moonlight:

Ø Le projet Moonlight

https://www.mono-project.com/Moonlight

Ø Projet de référence (Javascript):

https://www.designwithsilverlight.com/tutorials/photoGallery/gallery.html

Je suis parti de ce projet auquel j’ai ajouté un « mediaelement » avec pour source mon Windows Media Services

Ø Résultat

Moonlight

Ø Compilation

1. Get packages

svn co -r 10885 svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg

svn co svn://anonsvn.mono-project.com/source/branches/mono-2-0

svn co svn://anonsvn.mono-project.com/source/branches/moon

2. Compile Step1

cd mono

./configure --prefix=/usr/local

make

make install

Test:

XX@YY-YY:~/mono$ mcs

error CS2008: No files to compile were specified

3. Compile Step2

./configure --with-moonlight=yes

Test:

XX@YY-YY:~/mono$ smcs

error CS2008: No files to compile were specified

make install

./configure --with-mono=yes

4. Compile Step3

cd moon

./configure --enable-user-plugin --with-managed=yes

Check the ouput:

Moonlight configuration

=======================

General configuration:

Using cairo: embedded

Test Harness: no (reason: performance suite requires FF3)

Performance Suite: no

Media Support:

FFmpeg: yes

Alsa: yes

Pulseaudio: no (reason: could not find libpulse development package)

Silverlight Support:

Silverlight 1.0: yes (bug compatibility: yes)

Silverlight 2.0 (managed code): yes

Browser plugin assemblies: yes

Desktop application assemblies: yes

Browser Support:

Firefox: yes

Plugin Installer (.xpi): yes

Gecko 1.8 (Firefox 2): yes

Gecko 1.9 (Firefox 3): no (reason: missing FF3 development packages)

========================

make && make install