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
> 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
> 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.
> 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]
> 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
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
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.