Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

RTSP filter for IP cameras

1,317 views
Skip to first unread message

Mechi Fendel

unread,
Sep 4, 2007, 4:46:34 AM9/4/07
to
Hi!
I've posted a few times but still have not received any real answer...
Where can I get information about connecting using DirectShow to IP cameras?
I understand there's a RTSP protocol.
If DirectShow doesn't have the capability, where can I find out about an SDK
or dll to help my DirectShow application accept video from IP cameras?
Thanks for any help,
Mechi


billsergio

unread,
Oct 26, 2008, 11:07:35 AM10/26/08
to
FREE RTSP DirectShow Filter with FULL C++ Source Code

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


The March Hare [MVP]

unread,
Oct 26, 2008, 2:29:11 PM10/26/08
to
On Sun, 26 Oct 2008 08:07:35 -0700, Bill SerGio wrote:

> 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

...

VLC has come up before in this newsgroup.

Isn't VLC GPL'd? In that case, you need to make your application's source
code available if you use it.


--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution

The March Hare [MVP]

unread,
Oct 26, 2008, 2:45:10 PM10/26/08
to
On Sun, 26 Oct 2008 12:29:11 -0600, The March Hare [MVP] wrote:

> Isn't VLC GPL'd? In that case, you need to make your application's source
> code available if you use it.

I verified that it is GPL'd.

Chris P.

unread,
Oct 27, 2008, 1:13:35 PM10/27/08
to
On Sun, 26 Oct 2008 12:45:10 -0600, The March Hare [MVP] wrote:

> On Sun, 26 Oct 2008 12:29:11 -0600, The March Hare [MVP] wrote:
>
>> Isn't VLC GPL'd? In that case, you need to make your application's source
>> code available if you use it.
>
> I verified that it is GPL'd.

Just to reinforce the point.

Use of GPL code in non-GPL'd projects is a violation of the license and is
legally considered copyright violation.

--
http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]

The March Hare [MVP]

unread,
Oct 27, 2008, 1:22:55 PM10/27/08
to
On Mon, 27 Oct 2008 13:13:35 -0400, Chris P. wrote:

> Just to reinforce the point.
>
> Use of GPL code in non-GPL'd projects is a violation of the license and is
> legally considered copyright violation.

Exactly. Here's some useful information from a post in the Vista dshow
forum from Ralf G.:

"AFAIK there's no source for Morgan's DS RTSP filter, however the library
used internally to accomplish the RTSP/RTP/RCP is the open source liveMedia
library available from http://www.live555.com under LGPL. You are free to
write your own DirectShow RTP/RTCP/RTSP filters using this library.
There are no standard ones (at least free) availble AFAIK."

LGPL is a more friendly license for most commercial software developers:

http://en.wikipedia.org/wiki/LGPL

vasantepannir

unread,
Apr 27, 2010, 12:59:02 PM4/27/10
to
HELLO Bill SerGio, iam new developper directshow

can u send me RTSP DirectShow Filter with FULL C++ Source
Code

waiting for ur reply.

advance thx


Bill SerGio wrote:

FREE RTSP DirectShow Filter with FULL C++ Source Code

26-Oct-08

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

Enjoy

Previous Posts In This Thread:

On Tuesday, September 04, 2007 4:46 AM
Mechi Fendel wrote:

RTSP filter for IP cameras

On Sunday, October 26, 2008 11:07 AM
Bill SerGio wrote:

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

Enjoy

On Sunday, October 26, 2008 2:29 PM


The March Hare [MVP] wrote:

Re: FREE RTSP DirectShow Filter with FULL C++ Source Code


On Sun, 26 Oct 2008 08:07:35 -0700, Bill SerGio wrote:

....

VLC has come up before in this newsgroup.

Isn't VLC GPL'd? In that case, you need to make your application's source


code available if you use it.

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution

On Sunday, October 26, 2008 2:45 PM


The March Hare [MVP] wrote:

Re: FREE RTSP DirectShow Filter with FULL C++ Source Code


On Sun, 26 Oct 2008 12:29:11 -0600, The March Hare [MVP] wrote:


I verified that it is GPL'd.

--

Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution

On Monday, October 27, 2008 1:13 PM
Chris P. wrote:

Re: FREE RTSP DirectShow Filter with FULL C++ Source Code


On Sun, 26 Oct 2008 12:45:10 -0600, The March Hare [MVP] wrote:


Just to reinforce the point.

Use of GPL code in non-GPL'd projects is a violation of the license and is
legally considered copyright violation.

--

http://www.chrisnet.net/code.htm
[MS MVP for DirectShow / MediaFoundation]

On Monday, October 27, 2008 1:22 PM


The March Hare [MVP] wrote:

Re: FREE RTSP DirectShow Filter with FULL C++ Source Code

http://en.wikipedia.org/wiki/LGPL

On Monday, February 16, 2009 12:27 AM
Sushil Chaudhari wrote:

RE:FREE RTSP DirectShow Filter with FULL C++ Source Code
Hi Bill,
I have tried to compile the RTSP filter as you have explained but unfortunately not getting the success.
Please share the code if you have done already.

Thanks in advance
Regards
Sushil


Submitted via EggHeadCafe - Software Developer Portal of Choice
Server Side Processing in ADO.NET/WCF Data Services
http://www.eggheadcafe.com/tutorials/aspnet/db179aed-47fa-4f86-a4bf-4f6f92a76585/server-side-processing-in.aspx

Tim Roberts

unread,
Apr 28, 2010, 2:13:40 AM4/28/10
to
VASANTE PANNIR wrote:
>
>can u send me RTSP DirectShow Filter with FULL C++ Source
>Code
>
>waiting for ur reply.

Did you READ any of the messages you responded to? He told you exactly how
to build exactly that filter from the VLC source code.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.

0 new messages