Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1368 connectés 

  FORUM HardWare.fr
  Hardware - Périphériques
  Webcam / Caméra IP

  probleme pour recupérer le flux d'une web cam

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

probleme pour recupérer le flux d'une web cam

n°478407
lecureuil3​0
Posté le 03-04-2008 à 17:57:24  profilanswer
 

J'utilise WMcoder qui fonctionne correctement, il reconnait bien ma webcam et je peux voir le flux video avec le lecteur Windows Média.
 
Mon problème et pour visualiser le flux sur une page web, que ce soit en local ou sur le net je n'arrive pas à visualiser le flux.
 
Le code utilisé sur la page web est :

Code :
  1. <OBJECT ID="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
  2. CODEBASE= "http://activex.microsoft.com/activex/ controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" width=320 height=304
  3. standby="Loading Microsoft Windows Media Player components..."
  4. type="application/x-oleobject">
  5. <PARAM NAME="filename" VALUE="http://nom_serveur:8080/">
  6. <PARAM NAME="AutoStart" Value="true">
  7. <PARAM NAME="ShowControls" Value="0">
  8. </OBJECT>


Avez vous une idée pour régler mon porblème


Message édité par lecureuil30 le 03-04-2008 à 18:39:22
mood
Publicité
Posté le 03-04-2008 à 17:57:24  profilanswer
 

n°478707
lecureuil3​0
Posté le 04-04-2008 à 14:55:50  profilanswer
 

cette modification du code me permet de récupérer le flux sous firefox, mais toujours pas sous IE.

Code :
  1. <OBJECT ID="player" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
  2.     CODEBASE= "http://activex.microsoft.com/activex/ controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" width=320 height=304
  3.     standby="Loading Microsoft Windows Media Player components..."
  4.     type="application/x-oleobject">
  5.     <PARAM NAME="Filename" VALUE="http://nom_serveur:8080">
  6.     <PARAM NAME="AutoStart" Value="true">
  7.     <PARAM NAME="ShowControls" Value="0">
  8.        <embed type='application/x-mplayer2'
  9.           src="http://nom_serveur:8080/"
  10.           name='NSPlay'
  11.           pluginspage='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin'
  12.           showcontrols='1' 
  13.           showdisplay='1' 
  14.           showstatusbar='1'
  15.           autostart='1'
  16.           width=95%
  17.           height=100%>
  18.        </embed>
  19.     </OBJECT>

 
Un petit coup de main SVP

n°478718
butthead05
法比安
Posté le 04-04-2008 à 15:25:14  profilanswer
 

Perso j'avais utilisé ça avec succés:
http://www.robertwisbey.com/how_to_web_cam_wme.html
 
ou plus présicément:
 
<!--- BEGIN PLAYER --->
<!-- webbot bot="HTMLMarkup" startspan ---->
<object ID="MediaPlayer" WIDTH="320" HEIGHT="270" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
 
<param name="autoStart" value="True">
<param name="filename" value="http://wisbey.hopto.org:1121">
<param NAME="ShowControls" VALUE="False">
<param NAME="ShowStatusBar" VALUE="False">
<embed TYPE="application/x-mplayer2" SRC="wisbey.hopto.org:1121" NAME="MediaPlayer" WIDTH="320" HEIGHT="270" autostart="1" showcontrols="0"></embed></object>
<!-- webbot bot="HTMLMarkup" endspan ---->
<!--- end PLAYER --->
 
Mais ça à l'air d'être la même chose  [:klemton]
 
 
Sinon avec Explorer y'a toujours le problème de l'ActiveX, il faut permettre l'installation dans les options internet.


Message édité par butthead05 le 04-04-2008 à 15:30:09

---------------
fabiendrouart.fr/chinois/
n°479147
lecureuil3​0
Posté le 05-04-2008 à 23:23:21  profilanswer
 

merci buttheado5,
 
le code reste identique et mon problème persiste. Je ne peux pas visualiser sous IE7 avec ie6 sa fonctionne !


Message édité par lecureuil30 le 06-04-2008 à 11:41:52
n°479196
lecureuil3​0
Posté le 06-04-2008 à 11:58:09  profilanswer
 

Je viens de retaper mon code et sa fonctionne :

Code :
  1. <object id="MediaPlayer" width="320" height="270" classid="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
  2. stanby="Loading Windows Media Player components..." type="application/x-oleobject"
  3. codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
  4.   <param name="Filename" value="http://nom_serveur">
  5.   <param name="AutoStart" Value="true">
  6.   <param name="ShowControls" Value="False">
  7.   <param name="ShowStatusBar" Value="False">
  8.   <embed
  9.     type='application/x-mplayer2' 
  10.     src="http://nom_serveur"
  11.     name='NSPlay'
  12.     pluginspage='http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba=plugin'
  13.     showcontrols='1' 
  14.     showdisplay='1' 
  15.     showstatusbar='1'
  16.     autostart='1'
  17.     width="320"
  18.     height="370">
  19.   </embed>
  20. </object>

C'est le principal que tout fonctionne


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Hardware - Périphériques
  Webcam / Caméra IP

  probleme pour recupérer le flux d'une web cam

 

Sujets relatifs
probleme ''webcam deluxe optical glass''Petit problème sur MX 1000
New souris New problème ( steelseries ikira optical )Probleme touche qui ne se "répète" pas
probleme avec HP laser jet 4345mfpproblème de lecteur de carte... vista
problème scanner agfa erreur interne a00Problème de congélation du pc avec Webcam Creative.
probleme avec ma webcamProblème demarrage
Plus de sujets relatifs à : probleme pour recupérer le flux d'une web cam


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR