Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Windows Media Server / October 2008

Tip: Looking for answers? Try searching our database.

RTSP camera as video source

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hornet77 - 11 Dec 2007 09:55 GMT
Hi

My Axis camera can provide a RTSP video stream to a limited number of
client; in order to reach a bigger number of client I would try to use a
streaming server...can Windows media server use my Axis camera as
RTSP/MPEG4 video source?

Thank you.
Neil Smith [MVP Digital Media] - 11 Dec 2007 19:53 GMT
>Hi
>
>My Axis camera can provide a RTSP video stream to a limited number of
>client; in order to reach a bigger number of client I would try to use a
>streaming server...can Windows media server use my Axis camera as
>RTSP/MPEG4 video source?

Not the server, no - the encoder can. There are specific drivers
available from Axis which make the network camera appear as a local
device, which windows media encoder can hook up to, and from there it
can unicast to the media server which in turn distributes the encoded
video data to clients.

You need this page for those drivers :
http://www.axis.com/techsup/software/capture_driver/index.htm

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Hornet77 - 12 Dec 2007 08:15 GMT
Neil Smith [MVP Digital Media] ha scritto:
> Not the server, no - the encoder can. There are specific drivers
> available from Axis which make the network camera appear as a local
> device, which windows media encoder can hook up to, and from there it
> can unicast to the media server which in turn distributes the encoded
> video data to clients.

Hi Neil

thank you very much for your response. I already know Axis provide a
driver I can use with WME, the problem is the driver only works with
MJPEG, not MPEG4 (I don't want MJPEG because it needs more bandwidth
than MPEG4 and my camera has a low profile ADSL connection to the
Internet).
I would distribute to a large number of client the RTSP/MPEG4 stream
from my Axis camera....how can I do? Is this possible with WM
Encoder/Server?

Regards
Neil Smith [MVP Digital Media] - 13 Dec 2007 22:32 GMT
>Neil Smith [MVP Digital Media] ha scritto:
>> Not the server, no - the encoder can. There are specific drivers
[quoted text clipped - 13 lines]
>from my Axis camera....how can I do? Is this possible with WM
>Encoder/Server?

Ah OK that's a much more qualified question - remember I'm not sitting
at your PC to know you already had that additional requirement of
bandwidth restriction fmor the camera, I'd assumed it was somewhere on
a LAN close by.

I've not got an Axis setup here, so I'm only aware of the drivers
rather than the specific implementation - thx for the detail they only
do M-JPEG. I had a feeling there was a MPEG4 option but I also
remember they differ in format support depending on device.

One other option springs to mind, in that VLC can connect to those
cameras (might need to get the SDP file from it first, to connect to
the RTSP stream) : see http://www.videolan.org/ and
http://wiki.videolan.org/Hardware_Compatibility_list

VLC should then be able to send that on to Darwin Streaming Server, so
you could optionally run that on the same windows 2003 server and send
to Quicktime clients instead - is that a possibility ?

I've tried using VLC to transcode and send to WMS, but the server
negotiates specifically with WME and sends cookies which VLC can't at
present replicate, so that's not an available option to use VLC + WMS.

HTH
Cheers - Neil
------------------------------------------------
Digital Media MVP : 2004-2007
http://mvp.support.microsoft.com/mvpfaqs
Hornet77 - 14 Dec 2007 08:31 GMT
Neil Smith [MVP Digital Media] ha scritto:
> Ah OK that's a much more qualified question - remember I'm not sitting
> at your PC to know you already had that additional requirement of
> bandwidth restriction fmor the camera, I'd assumed it was somewhere on
> a LAN close by.

Sorry, in my first post I didn't explain my requirement very well ;-)

> I've not got an Axis setup here, so I'm only aware of the drivers
> rather than the specific implementation - thx for the detail they only
> do M-JPEG. I had a feeling there was a MPEG4 option but I also
> remember they differ in format support depending on device.

there is no MPEG4 support in "AXIS Video Capture Driver" for now....

> One other option springs to mind, in that VLC can connect to those
> cameras (might need to get the SDP file from it first, to connect to
[quoted text clipped - 4 lines]
> you could optionally run that on the same windows 2003 server and send
> to Quicktime clients instead - is that a possibility ?

I've also tried this option in these days obtaining good result only
with MJPEG.... with RTSP/MPEG4 VLC stops transcoding after few seconds;
I can't understand why: it plays very well the RTSP stream but when I
try to receive RTSP/MPEG4 stream, transcoding it and sending via RTP to
Darwin VLC stop working.... I will try more in this direction.

Thank you very much for your help!
nobody - 18 Dec 2007 16:36 GMT
> I've also tried this option in these days obtaining good result only
> with MJPEG.... with RTSP/MPEG4 VLC stops transcoding after few seconds;
[quoted text clipped - 3 lines]
>
> Thank you very much for your help!

The Axis will stream RTP directly to Darwin. Under the advanced settings,
you can directly edit the configuration files.

/etc/rtspd/rtspd.conf has a timeout set. Change that to zero.

/etc/sysconfig/rtp.conf contains everything else you need. After you set
everything, you need
to copy  /usr/html/mpeg4/media.sdp to the movies directory on Darwin. Delete
the line
that looks like

a=control:rtsp://192.168.1.101:554/mpeg4/1/media.amp

from the sdp file. Reboot the camera, and  you should be up and running.
Hornet77 - 02 Jan 2008 10:20 GMT
nobody ha scritto:

> The Axis will stream RTP directly to Darwin.

yes, I discovered this feature in the meanwhile....

Thank you very much for your help!
Bill SerGio - 26 Oct 2008 15:58 GMT
Hi,

There are several free for commercial use, published RTSP DirectShow Source Filters, with full source code in C++. i must admit that it took a LOT of searching to find them!

I will tell you about one that I think is the best. Look at the source code for VLC (VideoLAN) and pull out the files:

access.c
real.c
rtsp.c
rtsp.h

That's all you need.

Look at the sample Microsoft has for a source filter for DirectShow and add these files and compile and VIOLA! you have a DirectShow Source Filter that will play any RTSP stream !!!

It's easy to compile this in Visual Studio 6.0--it will compile in later versions of VisualStudio but you have to know what you are doing and you have to tweek the code.

This makes it easy to use DirectShow to play RTSP streams from ip cameras.

I am amazed that nobody has posted this code before.

Enjoy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.