GithubHelp home page GithubHelp logo

fyeh / rtspsource Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 15.0 42.17 MB

A DirectShow Source Filter that uses RTSP to get video streams

License: BSD 3-Clause "New" or "Revised" License

C++ 77.63% C 17.73% C# 3.20% Makefile 1.37% Shell 0.07%

rtspsource's Introduction

RTSPSource

Description

A DirectShow Source Filter that uses RTSP to get video streams

References & Attribution

This project contains snapshots of several other open source libraries or projects 
that are included to ensure that the correct versions of these external libraries
are used:

LiveProxy - https://github.com/dhorth/LiveProxy

ffMpeg - http://ffmpeg.zeranoe.com/builds/
  Codecs used by the Filter
  
live555 - http://www.live555.com/liveMedia/
  Support for RTSP

Directshowlib - http://directshownet.sourceforge.net/
    .NET access to DirectShow Used by Samples
	
Log4net - http://logging.apache.org/log4net/
    Logging libraries Used by Samples
	
This project is based on the vsm7dsf project at https://github.com/fyeh/vsm7dsf but has been modified to work with Generic RTSP sources

Microsoft pre-req's

Microsoft Visual C++ 2008 Service Pack 1 Redistributable Package MFC Security Update

Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package MFC Security Update

Visual C++ Redistributable for Visual Studio 2012 Update 4

.NET 4

Project Contents

PushSource - The Actual DirectShow Filter.

HelperLib - C# managed library. Used to integrate the managed Cisco VSM SDK with the unmanaged direct show filter.

SampleGrabber - C# Application useful for testing the DSF.

Building

Build LiveProxy first then build RTSPSource. Do this for whichever configuration (Debug or Release) you are building for. IE build Liveproxy for Debug then RTSPSource for Debug. When you are ready to release, build LiveProxy for Release then RTSPSource for Release.

Using

After a successful build, the RTSPSource.ax filter will be registered on the system. Any program that uses DirectShow to render a URL in the specified format will load the filter.

URL should be in the format:

rtspsource://&Width=&Height=

Note that Width and Height are required and must match the width and height of the stream specified.

EG: is you would normally used an RTSP URL of "rtsp://192.168.1.1/stream1" to play an RTSP stream from the video source, the URL to invoke this source filter would be "rtspsource://192.168.1.1/stream1&width=704&height=480".

rtspsource's People

Contributors

fyeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

rtspsource's Issues

Filter crash in graphedit and graphstudio

Thank you in advance for this great code. I successfully build the filter according to your guide and register it. And then, I also successfully test the filter using the sample grabber program. But when I try to test the filter in the graphedit or graphstudio, it crashes.

Crashes

When I try to add RTSP source to graphedt.exe then it crashes. I tried to create instance of source through Activator in Visual Studio and it crashes with stack overflow exception. My goal is to use RTSP source with a custom source filter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.