• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Live Stream mit variabler Auflösung bzw Bildgröße

Xeror

Neues Mitglied
Hallo

Ich möchte einen Live Stream einer WLAN CAm auf meiner HP einbinden.

Der Live Stream wird mittels VLC ind internet gebracht. Dann habe ich auf meiner HP folgenden Code zum Test eingefügt.

<HTML>
<HEAD>
<TITLE>Document Title</TITLE>
</HEAD>

<BODY>

<script language="JavaScript">
<!--
if ( navigator.appName == "Netscape" )
{
//-- This next line ensures that any plug-ins just installed are updated in the browser
//-- without quitting the browser.
navigator.plug-ins.refresh();
// We don't need the APPLET within IE
// ***Please note that if you do not need to script events, you can safely remove the next two lines
document.write("\x3C" + "applet MAYSCRIPT Code=NPDS.npDSEvtObsProxy.class")
document.writeln(" width=5 height=5 name=appObs\x3E \x3C/applet\x3E")
}
//-->
</script>

<!-- Set ShowControls, ShowDisplay, ShowStatusBar to value 0 to not display the corresponding thing under the video window -->
<OBJECT ID="MediaPlayer" WIDTH=320 HEIGHT=240 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="Station1.asx">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="1">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/downloads/details.aspx?FamilyID=9194bb10-00ea-4500-859d-9a319738d4d8&amp;DisplayLang=en/"
filename="Station1.asx"
src="Station1.asx"
Name=MediaPlayer
ShowControls=1
ShowDisplay=1
ShowStatusBar=1
width=320
height=240>
</embed>
</OBJECT>

</BODY>
</HTML>

Das Video kann ich auch sehen.

Jetzt möchte ich aber auf der HP die Größe und die Auflösung verändern. Zum Bespiel, dass ich fest 3 Bildgrößen (Smartphone, Netbook, großer LCD) auswählen kann.

Kann man auch die Auflösung / Komprimierung per HP ändern. Dem DSL Nutzer ist es ja egal. Aber dem Smartphane Nutzer muss ich ja ein komprimiertes Video anbieten, da er ja nur UMTS hat.

==> Geht das?

Danke für die Hilfe.
 
hat keiner ne idee?


eigentlich soll abgefragt werden:
- abfrage der downloadgeschwindigkeit um eine entsprechende übertragung auszuwählen
- welche auflösung hat der explorer und danach wird die anzeigegröße des videos festgelegt.
 
Zurück
Oben