I can use vlc on windows, but not everybody are willing to install it or can't install it. It would be realy wonderful if it can be resolve just to put the stream witch wmp can read. I'm just wondering is this possible.
Ok I've done some progress. Using transcoding I can play the video on windows media player.
Using this:
Code: Select all
vlc -vvv rtsp://ip --sout '#transcode{vcodec=WMV1,acodec=mpga,vb=800,ab=128,deinterlace}:standard{access=http,mux=asf,dst=my_ip:8181}'
Now I tried to put it on the website to play directly from it. It works but strangly not always. I think it's not the perfect place to ask this question but it's a good start. I'm i doing evrything right ?? I'm using this code and tryed all different ones on the web but without any luck.
Code: Select all
<!-- Check Media Player Version -->
<SCRIPT LANGUAGE="VBScript">
<!--
On Error Resume Next
lngMP70 = IsObject(CreateObject("WMPlayer.OCX"))
' Windows Media Player 7 Code
If (lngMP70) Then
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:6BF52A52-394A-11D3-B153-00C04F79FAA6"
document.write " standby=""Loading Microsoft Windows Media Player components..."" "
document.write " TYPE=""application/x-oleobject"" width=""720"" height=""480"">"
document.write "<PARAM NAME=""url"" VALUE=""http://ip:port"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""true"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "<PARAM NAME=""Loop"" VALUE=""1"">"
document.write "<PARAM NAME=""uiMode"" VALUE=""mini"">"
document.write "</OBJECT>"
' Windows Media Player 6.4 Code
Else
document.write "<OBJECT ID=MediaPlayer "
document.write " CLASSID=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
document.write "CODEBASE=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
document.write " standby=""Loading WMA...."" "
document.write " TYPE=""application/x-oleobject"" width=""720"" height=""480"">"
document.write "<PARAM NAME=""FileName"" VALUE=""http://ip:port"">"
document.write "<PARAM NAME=""AutoStart"" VALUE=""true"">"
document.write "<PARAM NAME=""ShowControls"" VALUE=""1"">"
document.write "<PARAM NAME=""Loop"" VALUE=""1"">"
document.write "</OBJECT>"
End If
-->
</SCRIPT>
Sometime I get something like this. All player's stop playing. VLC and WMP and I have to reset the vlc streming process.
Code: Select all
[00000292] stream_out_transcode private debug: late picture skipped (11163889)
[00000292] stream_out_transcode private debug: late picture skipped (11171039)
[00000292] stream_out_transcode private debug: late picture skipped (11178009)
[00000292] stream_out_transcode private debug: late picture skipped (11184393)
[00000292] stream_out_transcode private debug: late picture skipped (11191086)
[00000292] stream_out_transcode private debug: late picture skipped (11197220)
[00000292] stream_out_transcode private debug: late picture skipped (11204390)
[00000292] stream_out_transcode private debug: late picture skipped (11210910)
[00000292] stream_out_transcode private debug: late picture skipped (11217701)
[00000292] stream_out_transcode private debug: late picture skipped (11223623)
[00000292] stream_out_transcode private debug: late picture skipped (11230804)
[00000292] stream_out_transcode private debug: late picture skipped (11237457)
[00000292] stream_out_transcode private debug: late picture skipped (11248155)
[00000292] stream_out_transcode private debug: late picture skipped (11250844)
[00000292] stream_out_transcode private debug: late picture skipped (11256920)
[00000292] stream_out_transcode private debug: late picture skipped (11263953)
[00000292] stream_out_transcode private debug: late picture skipped (11270691)
[00000292] stream_out_transcode private debug: late picture skipped (11276670)
[00000292] stream_out_transcode private debug: late picture skipped (11283872)
[00000292] stream_out_transcode private debug: late picture skipped (11290572)
[00000292] stream_out_transcode private debug: late picture skipped (11296614)
[00000292] stream_out_transcode private debug: late picture skipped (11303807)
[00000292] stream_out_transcode private debug: late picture skipped (11310632)
[00000292] stream_out_transcode private debug: late picture skipped (11316458)
[00000292] stream_out_transcode private debug: late picture skipped (11323685)
[00000292] stream_out_transcode private debug: late picture skipped (11330371)
[00000292] stream_out_transcode private debug: late picture skipped (11336368)
[00000292] stream_out_transcode private debug: late picture skipped (11343772)
[00000292] stream_out_transcode private debug: late picture skipped (11350209)
[00000292] stream_out_transcode private debug: late picture skipped (11356987)
[00000292] stream_out_transcode private debug: late picture skipped (11362914)
[00000292] stream_out_transcode private debug: late picture skipped (11370132)
[00000292] stream_out_transcode private debug: late picture skipped (11376763)
[00000292] stream_out_transcode private debug: late picture skipped (11382962)
[00000292] stream_out_transcode private debug: late picture skipped (11389966)
[00000292] stream_out_transcode private debug: late picture skipped (11396670)
[00000292] stream_out_transcode private debug: late picture skipped (11402685)
[00000292] stream_out_transcode private debug: late picture skipped (11414635)