VLC plugin won't display two streams at once
Posted: 07 Nov 2005 23:14
I have written a web page that plays video (mjpeg format) from two IP cameras.
It was originally written in January, and worked fine until I updated in October (it had been a very long time since I had updated, and reinstallation from scratch didn't fix the problem).
I am running Gentoo linux, Mozilla version 1.7.12, VLC version 0.8.2 Janus, and mplayerplug-in version 2.80.
When I try to start the second stream the browser crashes with the error
I create the videos as follows (one embed in each of two frames).
Video is controlled by the commands below.
Play is the only one used for the mjpeg stream. The others are for testing of the target='test1.ogm' section above.
Other anomalies include
-If one frame plays mjpeg video, and the other plays a file, whichever is started last has negative colors (not sure if it is exactly negative, but white spots are black, etc.)
-firefox will not play the video, possibly a javascript issue.
I have tried to usnig the mplayer plugin, but it endlessly buffers the mjpeg stream without playing anything.
Any help or suggestions would be greatly appreciated.
It was originally written in January, and worked fine until I updated in October (it had been a very long time since I had updated, and reinstallation from scratch didn't fix the problem).
I am running Gentoo linux, Mozilla version 1.7.12, VLC version 0.8.2 Janus, and mplayerplug-in version 2.80.
When I try to start the second stream the browser crashes with the error
Code: Select all
/usr/libexec/mozilla-launcher: line 116: 5894 Killed "$mozbin" "$@"
mozilla-bin exited with non-zero status (137)
Code: Select all
<embed
type="application/x-vlc-plugin"
name="cam1viewer"
autoplay="no" width="475" height="375"
target="http://10.0.0.156/GetData.cgi"
//target="test1.ogm"
//src="test1.ogm"
/>
Play is the only one used for the mjpeg stream. The others are for testing of the target='test1.ogm' section above.
Code: Select all
<input type="image" SRC="images/Btn_Prev.gif" HEIGHT="30" WIDTH="42" BORDER="0" onClick="document.cam1viewer.seek(-10,true)">
<input type="image" SRC="images/Btn_Pause.gif" HEIGHT="30" WIDTH="42" BORDER="0" onClick="document.cam1viewer.pause()">
<input type="image" SRC="images/Btn_Stop.gif" HEIGHT="30" WIDTH="42" BORDER="0" onClick="document.cam1viewer.stop()">
<input type="image" SRC="images/Btn_Play.gif" HEIGHT="30" WIDTH="42" BORDER="0" onClick="document.cam1viewer.play()">
<input type="image" SRC="images/Btn_Next.gif" HEIGHT="30" WIDTH="42" BORDER="0" onClick="document.cam1viewer.seek(+30,true)">
-If one frame plays mjpeg video, and the other plays a file, whichever is started last has negative colors (not sure if it is exactly negative, but white spots are black, etc.)
-firefox will not play the video, possibly a javascript issue.
I have tried to usnig the mplayer plugin, but it endlessly buffers the mjpeg stream without playing anything.
Any help or suggestions would be greatly appreciated.