Which solution to choose to get an RTP video stream via an SDP file


#1

Good morning, everyone,

First of all, I’m new to this field, so I apologize in advance if I ask stupid questions.

What I want to do: I have a camera and I can only read the feed with an SDP file (which I open with VLC), so I don’t know its URL address that allows me to get its RTP feed. My goal is to create a DirectShow compatible virtual camera with this stream and then integrate it into software (DEWESoft).

What I have done so far: to do what is described above, I built a graph on GraphEdit with “Moonware RTSP Capture Filter v4.2”. (to play the video stream via the SDP file) --> “Color Space Converter” --> “Virtual Camera Renderer” (to create a virtual camera). First, is it a good solution to do this type of graph? Are there other solutions to do this?

My problem: then, as you can see in the image below, the filter is in its demo version, but I can’t find where I downloaded this filter (to get the paid version). I tried MUSF and webcam7 but this filter doesn’t seem to record with these two. Also, could I use the filter directly in GraphEdit, because I see “For only use in Moonware Studios Products”?

Thank you in advance for your answers.

PS: Excuse me if my English is approximate, it is not my mother tongue.


#2

Hi there,

If you want to buy the MUSF from Moonware do that here http://www.webcamxp.com/order.aspx
MUSF works with Webcam7 and WebcamXP licensed versions.
If the camera deliver a video stream via sdp I am quite sure it deliver using the rtsp protocol. What camera is it?

-Henrik


#3

The problem is that with the “MUSF” filter of the free version of MUSF, I can’t read the feed via an SDP file. Have you already tested it on an SDP file?
For the RTSP protocol, I don’t think this is the case because on WireShark, I don’t see any RTSP frames, but only UDP frames (which are actually RTP frames I guess).
The camera I use is not referenced on the web, but it is a camera from the manufacturer FirstSensor.


#4

Yes, I run SDP thru MUSF. D-link quite often use sdp for their rtsp and that works fine.
First Sensor have a couple of IP cameras and they deliver both h.264/UDP and mjpeg. Of cause it must be possible to get the URL from the manufacturer. It must be possible to configure the camera for different parameters. Streaming mjpeg is done over http which should make it easy to find using wireshark.
-Henrik


#5

Okay, I just tried again and for now I have this (knowing that I tried all the available protocols):

Yes, exactly. I thought you wouldn’t know, but as a result, it’s the Blue Next E4P camera and I have a little software to configure the camera (but I can only change the IP address, port, resolution, etc. and not the sending protocol).


#6

Well, that source configuration will not work. Why not ask the manufacturer for the protocol and url?
Sometimes it can be very easy. Test:
Protocol is mjpeg
Stream Address:
Http://ip:port/
or
http://username:password@ip:port/

Download Netcam Studio and see if you can make it work there.


#7

But strangely enough, the SDP file works on the “Moonware RTSP Capture Filter”.

I asked and they gave me this command, but it doesn’t work: vlc.exe --demux=h264 --h264-fps=30.00 --network-caching=500 rtp://@:5002

For Netcam Studio, “FirstSensor” is not present in “Brand” so I can’t add a new network camera.


#8

VLC, open vlc and use Media/network streaming in the menu.
rtsp://…

Netcam Studio:
Use the tab for Custom URL. Set stream type rtsp_udp
Address
Same as in the filter.


#9

But… I don’t have the RTSP address.
I have already tried with the RTP address but it doesn’t work.

For the moment I have never been able to read the feed with a URL address. I only succeeded thanks to the following SDP file:

    v=0
    m=video 5002 RTP/AVP 96
    a=rtpmap:96 H264/90000
    c=IN IP4 10.201.41.101
    b=24000

#10

If you search the Internet for sdp it is standardized how to write an sdp file. I have never done this so I have no idea how translate this into something usable.
Maybe this
vlc.exe --demux=h264 --h264-fps=30.00 --network-caching=500 rtp://@:5002
I assume that @ should be the IP number of the camera.

I did this. Run cmd as an administrator. I put this after the prompt:

start vlc.exe --demux=h264 --h264-fps=30.00 --network-caching=500 rtsp://admin:password@192.168.9.18:554/Streaming/Channels/102?transportmode=unicast&profile=Profile_2

With that command VLC opens and shows the video from a Hikvision camera on rtsp.

So for your camera maybe this works at the command prompt:
start vlc.exe --demux=h264 --h264-fps=30.00 --network-caching=500 rtp://cameraIP:5002


#11

I just tried again, but unfortunately it doesn’t work.
And yet the SDP file works, that’s what I don’t understand.

Wouldn’t there be another solution to recover the RTP stream and integrate it into a DirectShow compatible virtual camera?


#12

Have you tested the ip number that the sdp file use in the vlc.exe …?
Now I am out if ideas.


#13

Yes, I used this one.

I too don’t see how to use the URL address, that’s why I switched to the “Moonware RTSP Capture Filter” filter that allows you to read the feed via an SDP file. But I don’t find it a paid version.


#14

The link to purchase the filter is sbove.


#15

Yes, I know.
But I can’t “regsvr32.exe” the “Moonware.RTSP.Filter.dll” present in the free version of MUSF and it doesn’t install/uninstall with the script install.bat/uninstall.bat