Page 1 of 1

Streaming screen captured

Posted: Fri Mar 12, 2010 4:36 pm
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.

Posted: Sat Mar 13, 2010 7:42 pm
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

Posted: Mon Mar 15, 2010 9:12 am
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

Posted: Mon Mar 15, 2010 1:33 pm
by Nadrek
No, I'm sorry, once I got streaming with VLC (from Windows, in this case) working, I stopped.

Posted: Mon Mar 15, 2010 3:56 pm
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.

Posted: Thu Mar 18, 2010 8:37 am
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.