hallo zusammen,
ich glaube im Linux-Forum bin ich besser aufgehoben habe die gleiche Frage schon im http://www.synology-forum.de/showthr...-meiner-webcam versucht
ich habe eine cam, welche ich in meine Webseite einbauen will. das blöde ist hier, Android kann rtsp Stream im Browser nicht wiedergeben.
also habe ich es mit mpeg - Stream gemacht. nur jetzt kann immer nur einer auf meine Cam/Seite zugreifen.
also wollte ich jetzt über synology machen, habe da dieses Script:<head>
<style type="text/css">
.auto-style1 {
vertical-align: middle;
}
</style>
</head>
<base target="_self">
<body style="margin: 0">
< img src="http://geheim:geheim@192.168.199.4:80/mjpeg/stream.cgi?chn=0" name="myImageName" class="auto-style1" height="100%" width="100%">
: cam.sh (Rechte 777 sind gesetzt)
#!/bin/sh
export DATETIME=`date +%Y%m%d%H%M%S`
ffmpeg -loglevel fatal -i "rtsp://syno:df926d13b06e6920149df0f59f5fcddf@192.168.199. 5:554/Sms=4.multicast" -vframes 1 -r 1 /var/services/web/cam/$DATETIME.jpg
warum wird bei mir keine Datei erzeugt? ffmpeg wird einfach abgearbeitet ohne irgendeine Information
als html Seite funktioniert der Link
oder von synology surveillance station<!-- #BeginEditable "doctitle" -->
<!-- #EndEditable -->
<!-- #BeginEditable "cam" -->
<embed id="streamip" marginwidth="1" type="application/x-vlc-plugin" src="rtsp://192.168.199.4:80/live/ch0" progid="VideoLAN.VLCPlugin.2" marginheight="1" style="top: 30px; left: 30px; display: inline; width: 100%; height: 100%; margin: 0px; visibility: visible; float: middle;"
pluginspage="http://www.videolan.org" toolbar="true" name="streamip"/><!-- #EndEditable -->
<!-- #BeginEditable "doctitle" -->
<!-- #EndEditable -->
<!-- #BeginEditable "cam" -->
<embed id="streamip" marginwidth="1" type="application/x-vlc-plugin" src="rtsp://syno:df926d13b06e6920149df0f59f5fcddf@192.168.199. 5:554/Sms=4.multicast" progid="VideoLAN.VLCPlugin.2" marginheight="1" style="top: 30px; left: 30px; display: inline; width: 100%; height: 100%; margin: 0px; visibility: visible; float: middle;"
pluginspage="http://www.videolan.org" toolbar="true" name="streamip"/><!-- #EndEditable -->
danke schon mal
Dirk
Lesezeichen