I know there is a lot of topics with this issue but maybe I'm just stupid and can't get it to work.
This is what I need.....
I have IP camera which is streaming on http://IP_camera/video.mjpg, because it has limited number of connections I want to use VLC as stream server - take this video and stream it from my computer.
:sout=#transcode{vcodec=h264,vb=0,scale=0,acodec=mp4a,ab=128,channels=2,samplerate=44100}:duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:8080/},dst=display} :no-sout-rtp-sap :no-sout-standard-sap :sout-keep
I set up VLC as shown above and it streams, when I open another VLC to see stream from that server (not camera) it works fine (connected on http://myIP:8080), how can I see it in Firefox??
First I have installed mozilla plugin and tried simply to type in tab "http://myIP:8080", it didn't open stream
Than I put this code into html and only I get is black screen instead of stream
<embed type="application/x-vlc-plugin"
name="video1"
autoplay="no" loop="yes" width="400" height="300"
target="http://myIP:8080" />
<br />
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
What am I doing wrong?
Thanks in advance, I'm out of ideas and my brain hurts