Jump to content

[LOGICIEL] [tutorial] streamer une cam avec media encoder 9


White-Rabbit

Recommended Posts

voilà, j'avais fais ce ptit tut pour un ami qui voulait me montrer ça nouvelle webcam. et comme je viens de le retrouver et qu'il n'est pas trop périmé, je le partage.

tout d'abord, telecharger window media encoder 9 (gratuit) sur le site telecharger.com:

http://telecharger.01net.com/windows/Multi...ches/25306.html

apres installation, lancer window media encoder

(les 3autres logiciels sont inutiles pour ce que l'on va faire)

voici en image la procedure pour configurer votre stream:

tut1.jpg

tut2.jpg

tut3.jpg

tut3b.jpg

tut4.jpg

tut5.jpg

tut6.jpg

tut7.jpg

si on decoche pas la case avant de cliquer sur terminer le stream commence directement.

pour se connecter dessus il suffit d'ouvrir window media PLAYER, faire ouvrir URL, et taper http://votre_ip:8080 (si c'est le port que vous avez choisi (c'est celui par defaut))

et voilà, la planete vous voit avec 7à 15sec de différé !!!

NB: qd personne n'est connecté mais que votre stream fonctionne, rien n'est uploadé... (je dis ça pour ceux qui ont des connections cables à up limité)

voilà :D

Link to comment
Share on other sites

pour afficher votre stream dans une page web, voici un petit code que j'avais bidouiller...

<OBJECT ID="player" width=352 height=288   classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" 
  style="LEFT: 0px; BACKGROUND-IMAGE: url(); TOP: 0px; background-repeat: no-repeat; background-position: center center;" 
  CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" 
  standby="Loading Microsoft® Windows® Media Player components..." 
  type="application/x-oleobject"> 
  <PARAM NAME="AutoStart" VALUE="True"> 
  <PARAM NAME="FileName" VALUE="http://mon ip:8080"> 
  <PARAM NAME="ShowControls" VALUE="true"> 
  <PARAM NAME="ShowStatusBar" VALUE="true"> 
  <PARAM NAME="AutoSize" VALUE="true"> 
  <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> 
  <PARAM NAME="AnimationAtStart" VALUE="FALSE"> 
  <PARAM NAME="TransparentAtStart" VALUE="TRUE"> 
  <PARAM NAME="enableContextMenu" VALUE="true"> 
  <PARAM NAME="AllowChangeDisplaySize" VALUE="TRUE"> 
  <PARAM NAME="AutoSize" VALUE="true"> 
 <EMBED TYPE="application/x-mplayer2" 
   SRC="http://81.53.202.59:8080" 
   NAME="player" 
   autostart="1" 
   showcontrols="0" 
   animationatstart="0" 
   transparentatstart="1" 
   AllowChangeDisplaySize="1" 
   AutoSize="1" 
   WIDTH=352    HEIGHT=288  </EMBED> 

 <EMBED 
 type="video/x-ms-asf-plugin" 
 pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" 
 src=/webtv/genere/generation.asx?id=1018279 
 name="MediaPlayer" 
   autostart="1" 
   showcontrols="0" 
   animationatstart="0" 
   transparentatstart="1" 
   AllowChangeDisplaySize="1" 
   AutoSize="1" 
 DisplaySize="" 
 enableContextMenu="0" 
 windowless="1" 
 width=406 height=300 > 

</OBJECT>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...