Streaming screen captured

Forum for questions and support relating to the 1.24.x releases only.
Locked
dariush
Posts: 9
Joined: Fri Mar 05, 2010 11:43 am

Streaming screen captured

Post by dariush »

Hi eveyone,
Is there a fast way to capture the screen activity of a remote pc and stream it in zm as a monitor?
I've tried with vlc, capturing the screen and streaming it as a http or rtp stream, using another vlc I'm able to open the stream, I had no success with zm.
Any suggestion?

Dariush.
Nadrek
Posts: 6
Joined: Wed Mar 10, 2010 3:27 am

Post by Nadrek »

Can you do _any_ successful streaming from VLC to ZM?

I was able to stream a USB Webcam with the following VLC settings (most other video encoding options failed or had horrible lag):

Change 8720 to whatever port you want to use. Make sure firewalls aren't blocking it; watch your network traffic for evidence of transmission.

Change dshow:// to whatever screen capture input is, or set this up in the GUI, whichever. Using the DIVX3 codec "DIV3", access HTTP, and mux=asf appear to be the most critical settings.

Source:
vlc dshow:// :sout=#transcode{vcodec=DIV3,vb=800,scale=1,acodec=none}:std{access=http,mux=asf,dst=0.0.0.0:8720}


Zoneminder:
Client: Zoneminder 1.24.1
Source type: ffmpeg
http://a.b.c.d:8720
24 bit color
Set your resolution exactly
dariush
Posts: 9
Joined: Fri Mar 05, 2010 11:43 am

Post by dariush »

Hi Nadrek,
I'm not able to stream anything from VLC, today I'll try as you suggest and give you a feedback.
My need is to just track the screen on a remote pc and stream di zm, if you have an alternative solution without VLC you're welcome.
Dariush.
Nadrek wrote:Can you do _any_ successful streaming from VLC to ZM?

I was able to stream a USB Webcam with the following VLC settings (most other video encoding options failed or had horrible lag):

Change 8720 to whatever port you want to use. Make sure firewalls aren't blocking it; watch your network traffic for evidence of transmission.

Change dshow:// to whatever screen capture input is, or set this up in the GUI, whichever. Using the DIVX3 codec "DIV3", access HTTP, and mux=asf appear to be the most critical settings.

Source:
vlc dshow:// :sout=#transcode{vcodec=DIV3,vb=800,scale=1,acodec=none}:std{access=http,mux=asf,dst=0.0.0.0:8720}


Zoneminder:
Client: Zoneminder 1.24.1
Source type: ffmpeg
http://a.b.c.d:8720
24 bit color
Set your resolution exactly
Nadrek
Posts: 6
Joined: Wed Mar 10, 2010 3:27 am

Post by Nadrek »

No, I'm sorry, once I got streaming with VLC (from Windows, in this case) working, I stopped.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i did (some time ago now) a windows app that exposed the desktop as an ip camera. You could then grab it with zm.

Im sure i released it here somewhere as it originally came from an idea on here.
If you cant find it ill see if i can dig out the app. It needed IIS to be installed on the windows machine. And IIS adds a lot of load.
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
dariush
Posts: 9
Joined: Fri Mar 05, 2010 11:43 am

Post by dariush »

Hi guys,
thank you very much for your post, I've tried Nadrek config and it works (better than expected).
Unfortunately the streaming quality is not constant all the time, and sometime the image degrades for some seconds (minutes)...
I tried to generate from vlc a pure mpeg4 streaming and configuring zm with a remote monitor, configured in the same manner as a normal axis camera, but it doesn't work.

An suggestion regarding how making a mpeg video from vlc to zm?
Best regards,
Dariush.
Locked